From: Paul Hänsch Date: Thu, 23 Jun 2022 14:21:06 +0000 (+0200) Subject: styling for code elements X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=e8587f466cc8cd4a095383aefeb9ab3deae01b29;p=shellwiki styling for code elements --- diff --git a/themes/default.css b/themes/default.css index f9fdc79..eacc66c 100644 --- a/themes/default.css +++ b/themes/default.css @@ -75,6 +75,17 @@ main > form#deletepage, box-shadow: .25em .25em .75em; } +main code { + padding: .125em .25em; + background-color: #CCC; +} +main pre { + padding: .5em .5em; + background-color: #CCC; + max-width: 100%; + overflow-x: auto; +} + /* === Editor === */ body[id$="/[edit]"] textarea,