Skip to content

Commit 4aa39e8

Browse files
committed
docs: fix custom CSS.
1 parent cf7c4c0 commit 4aa39e8

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/_static/custom.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1+
/* Links in text should be underlined. */
2+
a { text-decoration: underline; }
3+
.wy-menu-vertical a, .wy-side-nav-search > a { text-decoration: none; }
4+
5+
/* Match the logo colors in the background. */
6+
.wy-nav-top, .wy-side-nav-search { background-color: #784b9a; }
7+
8+
/* Make the logo more reasonably sized. */
9+
.wy-side-nav-search > a img.logo { width: 160px; }
10+
111
/* Some of our section titles are looong */
2-
.wy-nav-side, .wy-side-scroll, .wy-menu-vertical { width: 340px; }
3-
.wy-side-nav-search { width: 325px; }
4-
.wy-nav-content-wrap { margin-left: 340px; }
12+
@media screen and (min-width:769px) {
13+
.wy-nav-side, .wy-side-scroll, .wy-menu-vertical { width: 340px; }
14+
.wy-side-nav-search { width: 325px; }
15+
.wy-nav-content-wrap { margin-left: 340px; }
16+
}
517

618
/* We don't have a version picker widget */
719
.wy-nav-side { padding-bottom: 0; }

0 commit comments

Comments
 (0)