diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 17:31:44 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 17:31:44 +0100 |
commit | 60444cc0b074af942746cb74e6393d338dc29f5f (patch) | |
tree | 65e4f61bb4e3afa52526c868cac31ed17187f4df | |
parent | Remove faulty next-month. (diff) | |
download | calp-60444cc0b074af942746cb74e6393d338dc29f5f.tar.gz calp-60444cc0b074af942746cb74e6393d338dc29f5f.tar.xz |
HTML Leave quirks mode.
Diffstat (limited to '')
-rw-r--r-- | module/output/html.scm | 1 | ||||
-rw-r--r-- | static/style.css | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index ef4045b3..bbc0412b 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -253,6 +253,7 @@ (div (@ (class "nav")) ,display))) + (display "<!doctype HTML>\n") ((@ (sxml simple) sxml->xml) `(html (@ (lang sv)) (head diff --git a/static/style.css b/static/style.css index c9368646..7bbd698b 100644 --- a/static/style.css +++ b/static/style.css @@ -1,3 +1,12 @@ +html { + height: 100%; +} + +body { + height: 100%; + margin: 0; +} + .root { display: flex; margin: 0; @@ -205,8 +214,8 @@ .meta .dayname { position: absolute; - left: 5; - top: 2; + left: 5px; + top: 2px; color: grey; } @@ -227,6 +236,7 @@ .root footer { font-family: monospace; + margin: 0.5em; } .root footer span { |