summaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-11 02:17:23 +0200
committerTor Andersson <tor@ccxvii.net>2022-04-15 14:34:52 +0200
commitf6be31ddf9128b3184dafe313c3e29282a99620d (patch)
tree94d906a301c31cbb568e23a7634ed0c1849f830b /public/style.css
parentb8b68ed6e4c886f47b59b404d44e433251f36606 (diff)
downloadserver-f6be31ddf9128b3184dafe313c3e29282a99620d.tar.gz
Tweak header menu for narrow screens.
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/public/style.css b/public/style.css
index 98e89b8..f4d677c 100644
--- a/public/style.css
+++ b/public/style.css
@@ -25,7 +25,12 @@ header img {
display: block;
margin: 4px 0 -2px 2px;
}
-header nav a { margin: 0 1em; color: black; }
+header nav {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: end;
+}
+header nav a { display: block; margin: 0 16px; color: black; }
header nav a:hover { color: blue; }
article { margin: 2em; }
article p, article dl, article ul { max-width: 50rem; }