From c50a20d429a9b9838a09753d4dcf566df7be8f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 6 Mar 2021 00:52:52 +0100 Subject: [PATCH] improve list layout --- templates/main.css | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/templates/main.css b/templates/main.css index 4770dde..a3fbb14 100644 --- a/templates/main.css +++ b/templates/main.css @@ -23,6 +23,28 @@ blockquote { border-left: 3px solid lightgray; } +pre, code { + background: rgb(248, 248, 252); +} + +code { + padding: .05em; +} + +pre { + padding: 1em; + overflow-x: auto; + word-wrap: normal; +} + +li { + margin: .15em 0; +} + +li p { + margin: 0; +} + aside h1 { font-size: 16pt; text-decoration: underline; @@ -106,20 +128,6 @@ main footer { text-align: right; } -pre, code { - background: rgb(248, 248, 252); -} - -code { - padding: .05em; -} - -pre { - padding: 1em; - overflow-x: auto; - word-wrap: normal; -} - .message { text-align: center; padding: 2em;