From: Paul Hänsch Date: Thu, 23 Jun 2022 14:21:06 +0000 (+0200) Subject: styling for code elements X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=e8587f466cc8cd4a095383aefeb9ab3deae01b29;hp=ae1825c12e20290042327a3d2b2f4c168650be34;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,