aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
index 260bae8..f77560e 100644
--- a/static/style.css
+++ b/static/style.css
@@ -92,6 +92,20 @@ h6 {
font-weight: normal;
}
+nav {
+ position: fixed;
+ /*
+ `fixed` collapses `.navbar`
+ (probably related to `display: flex`),
+ thus the need for this:
+ */
+ width: 100%; /* not `vw`,
+ because it will overflow within a container
+ (except `body`)
+ */
+ z-index: 1;
+}
+
.navbar {
display: flex;
justify-content: space-between;