summaryrefslogtreecommitdiff
path: root/html/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'html/style.css')
-rw-r--r--html/style.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/html/style.css b/html/style.css
index bc59a24..d5c2610 100644
--- a/html/style.css
+++ b/html/style.css
@@ -1,7 +1,7 @@
body {
margin: 20px auto;
padding: 10px 20px;
- max-width: 80ch;
+ max-width: 680px;
background: #eee;
color: #333;
@@ -9,6 +9,23 @@ body {
font-family: sans-serif;
}
+@media screen and (max-width:960px) {
+ body > ul:first-of-type {
+ display: none;
+ }
+}
+
+@media screen and (min-width:961px) {
+ body {
+ margin-left: 260px;
+ }
+ body > ul:first-of-type {
+ position: fixed;
+ margin-left: -280px;
+ margin-top: 82px;
+ }
+}
+
h1, h2, h3 {
line-height: 1.2;
}