Skip to content

Commit 49fd819

Browse files
restrict container styling to admonitions and details only
1 parent 229062a commit 49fd819

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/stylesheets/extra.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
border-color: rgb(52, 152, 219);
88
}
99

10-
.md-typeset .container > .admonition-title,
11-
.md-typeset .container > summary {
10+
.md-typeset .admonition.container > .admonition-title,
11+
.md-typeset details.container > summary {
1212
background-color: rgba(52, 152, 219, 0.1);
1313
}
1414

15-
.md-typeset .container > .admonition-title::before,
16-
.md-typeset .container > summary::before {
15+
.md-typeset .admonition.container > .admonition-title::before,
16+
.md-typeset details.container > summary::before {
1717
background-color: rgb(52, 152, 219);
1818
-webkit-mask-image: var(--md-admonition-icon--container);
1919
mask-image: var(--md-admonition-icon--container);

0 commit comments

Comments
 (0)