Skip to content

Commit 6239f7e

Browse files
committed
adjust color in docs' drawer
1 parent 43f9863 commit 6239f7e

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

docs/docs/stylesheets/extra.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,27 @@ th {
66
background-color: #4051b5;
77
}
88

9-
.md-typeset .admonition.important, .md-typeset details.important {
10-
border-color: #00b8d4;
9+
@media screen and (max-width: 76.2344em) {
10+
.md-nav--primary .md-nav__title[for="__drawer"] {
11+
background-color: #4051b5;
12+
}
13+
}
14+
15+
.md-typeset .admonition.important,
16+
.md-typeset details.important {
17+
border-color: #00b8d4;
1118
}
1219

13-
.md-typeset .important > .admonition-title::before, .md-typeset .important > summary::before {
14-
background-color: #00b8d4;
15-
-webkit-mask-image: var(--md-admonition-icon--info);
16-
mask-image: var(--md-admonition-icon--info);
20+
.md-typeset .important>.admonition-title::before,
21+
.md-typeset .important>summary::before {
22+
background-color: #00b8d4;
23+
-webkit-mask-image: var(--md-admonition-icon--info);
24+
mask-image: var(--md-admonition-icon--info);
1725
}
1826

19-
.md-typeset .important > .admonition-title, .md-typeset .important > summary {
20-
background-color: #00b8d41a;
27+
.md-typeset .important>.admonition-title,
28+
.md-typeset .important>summary {
29+
background-color: #00b8d41a;
2130
}
2231

2332
@keyframes heart {

0 commit comments

Comments
 (0)