summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-05 22:47:20 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-05 22:47:20 +0200
commitee4fcd3e3fabb0461439b3ca8125eee9146cd2b0 (patch)
tree8c05a09f3b2411460dc39e925d3bc0439a642c0c /assets
parent5c92b8912a3831a2062c7fa2f175b1c194e4d993 (diff)
view: Make navigation sticky and hide title on narrow screens.
Diffstat (limited to 'assets')
-rw-r--r--assets/css/screen.css17
1 files changed, 12 insertions, 5 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css
index e0c7382..1d7b764 100644
--- a/assets/css/screen.css
+++ b/assets/css/screen.css
@@ -1,13 +1,12 @@
html, body {
background-color: #fff;
width: 100%;
- height: 100%;
padding: 0px;
margin: 0px;
}
body {
- padding-top: 3em;
+ height: auto;
}
h1 {
@@ -83,7 +82,7 @@ tr.important svg {
vertical-align: text-bottom;
}
-#header {
+nav {
background: #333333;
border-color: #1A1A1A1A;
border-style: none none solid none;
@@ -94,8 +93,16 @@ tr.important svg {
color: #fff;
border-radius: 0;
}
-#header .navbar-brand {
- padding: 0;
+
+nav span.navbar-text {
+ display: flex;
+ flex-grow: 1;
+}
+
+@media (max-width: 576px) {
+ nav span.navbar-text {
+ display: none;
+ }
}
@media (min-width: 576px) {