From 986d779d42b79779a6c8f221459693a0337c0740 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 21 Jan 2021 11:59:11 +0200 Subject: update style.css from my ikiwiki style --- style.css | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/style.css b/style.css index 5dc85a3..e6cb078 100644 --- a/style.css +++ b/style.css @@ -6,6 +6,17 @@ html { margin-top: 2em; } +body { + display: grid; + grid-template-columns: 1em auto 2em; +} + +.page { + grid-column-start: 2; + grid-column-end: 3; + max-width: 60em; +} + h1, h2, h3, h4, h5, h6 { font-family: sans-serif; font-weight: bold; @@ -53,32 +64,22 @@ span.date { font-family: monospace; } -div.inlineheader span.header { +.inlineheader { display: block; font-family: sans-serif; font-size: 150%; font-weight: bold; } -div.inlinepage { +.inlinepage { margin-top: 3em; margin-bottom: 3em; } -div.inlinefooter { +.inlinefooter { font-family: monospace; } -div.sidebar { - display: none; - float: right; - max-width: 10em; - margin-top: 0; - margin-bottom: 0; - margin-right: 0; - margin-left: 1em; -} - .float_right { float: right; margin-left: 1em; -- cgit v1.2.1