docs: fix nav-bar on mobile
The side nav-bar tweaks should only be valid when the side nav bar is present. It is only present on displays wider than 769px.
This commit is contained in:
parent
996fcfbda4
commit
7eea9c39cf
8
docs/_static/custom.css
vendored
8
docs/_static/custom.css
vendored
|
@ -9,9 +9,11 @@ a { text-decoration: underline; }
|
|||
.wy-side-nav-search > a img.logo { width: 200px; }
|
||||
|
||||
/* Some of our section titles are looong */
|
||||
.wy-nav-side, .wy-side-scroll, .wy-menu-vertical { width: 340px; }
|
||||
.wy-side-nav-search { width: 325px; }
|
||||
.wy-nav-content-wrap { margin-left: 340px; }
|
||||
@media screen and (min-width:769px) {
|
||||
.wy-nav-side, .wy-side-scroll, .wy-menu-vertical { width: 340px; }
|
||||
.wy-side-nav-search { width: 325px; }
|
||||
.wy-nav-content-wrap { margin-left: 340px; }
|
||||
}
|
||||
|
||||
/* We don't have a version picker widget */
|
||||
.wy-nav-side { padding-bottom: 0; }
|
||||
|
|
Loading…
Reference in a new issue