Skip to content

Commit 1d08093

Browse files
committed
indicate the site version via the nav bar on mobile
1 parent ba8c542 commit 1d08093

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

_static/styles.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,23 @@
1818
color: white;
1919
}
2020

21-
/* indicate the version in the selector by color */
21+
/* indicate the version by color */
22+
/* version selector */
2223
.bd-sidebar .rst-versions.rst-badge .rst-current-version,
2324
.bd-sidebar .rst-versions.rst-badge .rst-current-version:hover,
2425
.bd-sidebar .rst-versions.rst-badge .rst-current-version .fa {
2526
background-color: {{color}};
2627
color: white;
2728
}
29+
/* top nav bar */
30+
@media (max-width: 768px) {
31+
.header-article,
32+
.headerbtn {
33+
background-color: {{color}};
34+
color: white !important;
35+
}
36+
.menu-dropdown__content .headerbtn {
37+
background-color: white;
38+
color: rgb(90, 90, 90) !important;
39+
}
40+
}

0 commit comments

Comments
 (0)