Browse Source

Show the search bar on mobile

pull/6176/head
Rapptz 5 years ago
parent
commit
e9fb6b7d67
  1. 29
      docs/_static/style.css

29
docs/_static/style.css

@ -176,8 +176,8 @@ body {
min-height: 100%; min-height: 100%;
grid-auto-rows: min-content auto min-content; grid-auto-rows: min-content auto min-content;
grid-template-areas: grid-template-areas:
"n"
"s" "s"
"n"
"c" "c"
"h" "h"
"f"; "f";
@ -225,7 +225,20 @@ header > nav > a {
grid-area: n; grid-area: n;
background-color: var(--secondary-accent); background-color: var(--secondary-accent);
color: var(--secondary-text); color: var(--secondary-text);
/* not shown on mobile */ }
/* these aren't shown on mobile */
.sub-header > label {
display: none;
}
.sub-header > select {
display: none;
}
.sub-header > .settings {
color: var(--settings);
display: none; display: none;
} }
@ -909,6 +922,18 @@ div.code-block-caption {
align-items: center; align-items: center;
} }
.sub-header > label {
display: initial;
}
.sub-header > select {
display: initial;
}
.sub-header > .settings {
display: initial;
}
aside { aside {
top: initial; top: initial;
position: initial; position: initial;

Loading…
Cancel
Save