From b0813f476be01d8b16d353fbd5d98ffb94a36270 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 23 Sep 2023 21:31:34 +0200 Subject: [PATCH] minor improvements: table, color, etc. --- themes/default.css | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/themes/default.css b/themes/default.css index 3ab96e6..1f4c9ea 100644 --- a/themes/default.css +++ b/themes/default.css @@ -123,14 +123,17 @@ main > form#deletepage input#delsub:checked + label + ul li.delsub { main code { padding: .125em .25em; - background-color: #CCC; + background-color: #EEE; } main pre { padding: .5em .5em; - background-color: #CCC; + background-color: #EEE; max-width: 100%; overflow-x: auto; } +main pre > code { + padding: 0; +} li.task > input[type=checkbox][disabled], li.task > p > input[type=checkbox][disabled] { @@ -155,19 +158,27 @@ li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; pa h1 { text-align: center; } .center { text-align: center; } -form.search { text-align: center; } +form.search { + text-align: center; + margin-bottom: 1em; +} input.search { min-width: 50%; max-width: 80%; max-width: calc(100% - 2.5em); } ul.searchresults, ol.searchresults { - margin-top: 1em; margin-left: auto; margin-right: auto; width: 100%; max-width: 540pt; text-align: center; } +table { + min-width: 50%; + margin-left: auto; + margin-right: auto; +} + @media(min-width: 540pt) { .half { display: inline-block; @@ -194,6 +205,9 @@ ul.searchresults, ol.searchresults { .right > section:first-child > :first-child { margin-top: 0; } + .left table, .right table, .half table { + width: 100%; + } .left input.search, .right input.search { -- 2.39.2