Skip to content

Commit 7bf81ce

Browse files
committed
adjust color in docs' drawer
1 parent 43f9863 commit 7bf81ce

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

docs/docs/stylesheets/extra.css

+18-9
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 {
@@ -238,4 +247,4 @@ a.md-annotation__index {
238247
box-shadow: 0 0 0 0 transparent;
239248
transform: scale(.95)
240249
}
241-
}
250+
}

0 commit comments

Comments
 (0)