From 89aef9a6dc94a889b7620182be493605f2232db6 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Tue, 7 Nov 2017 16:04:18 +0100 Subject: Add files via upload --- res/default.css | 13 ++++++++++++- res/sidebar.css | 10 ++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) (limited to 'res') diff --git a/res/default.css b/res/default.css index d89fae1..97af144 100644 --- a/res/default.css +++ b/res/default.css @@ -3,12 +3,23 @@ body { margin: 0; } + img { vertical-align: middle; } +#content img { + width: 100%; +} + a { text-decoration: none; + color: inherit; +} + +a.highlight { + text-decoration: underline; + text-decoration-style: dotted; } .button { @@ -39,7 +50,7 @@ a { } #content { - margin: 0 auto; + margin: 10px auto; line-height: 1.5em; width: 70%; } diff --git a/res/sidebar.css b/res/sidebar.css index e228311..400d5d6 100644 --- a/res/sidebar.css +++ b/res/sidebar.css @@ -2,7 +2,7 @@ .sidebar { width: 25%; overflow: auto; - position: absolute; + position: fixed; top: 0; left: -25%; transition: all 500ms; @@ -14,7 +14,9 @@ z-index:9; } - +.spacer { + height: 50px; +} @media (max-width: 580px) { .sidebar { @@ -34,6 +36,9 @@ } .teal { + position: fixed; + top: 0; + left: 0; display: flex; justify-content: space-between; width: 100%; @@ -42,6 +47,7 @@ box-sizing: border-box; margin: 0; padding: 10px; + height: 50px; } .hamburger::before { -- cgit