mirror of https://github.com/tildeclub/site.git
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:
parent
a053206c14
commit
84e63de406
|
@ -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%;}
|
||||
|
|
Loading…
Reference in New Issue