Highlight code tags on wiki pages

Puts a light orange tint onto the background of code tags to visually
distinguish them from other text. This is hoped to reduce ambiguity of
where commands begin and end.
This commit is contained in:
George Craggs 2020-10-10 15:46:36 +01:00
parent a053206c14
commit 84e63de406
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
<link rel="stylesheet" href="../style.css">
<style type="text/css">
code{white-space: pre-wrap;}
code{background: rgba(255, 187, 85, 0.15);padding: 0.1em 0.2em;border-radius: 0.3em;white-space: pre-wrap;}
pre code{background: none;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}