summaryrefslogtreecommitdiff
path: root/www/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.css')
-rw-r--r--www/index.css13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/index.css b/www/index.css
index 2fe966c..73a4ae4 100644
--- a/www/index.css
+++ b/www/index.css
@@ -28,12 +28,21 @@ html,body { margin: 0; font-family: sans-serif; }
line-height: 2em;
margin: 0;
padding: 8px 10%;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
}
-#header > nav { display: inline-block; float: right; }
+@media only screen and (max-width: 800px) {
+ #header {
+ flex-direction: column;
+ align-items: center;
+ }
+}
+#header > nav { flex: initial; }
#header > nav > a:link { color: #81b7ff }
#header > nav > a:visited { color: #cd78f4; }
#header > nav > a:focus, #header > nav > a:active, #header > nav > a:hover { color: #6005dd; }
-#header > .title { display: inline-block; font-family: monospace; font-size: 1.5em; text-decoration: none; }
+#header > .title { flex: auto; font-family: monospace; font-size: 1.5em; }
#header > a.title:link,
#header > a.title:visited,
#header > a.title:hover,