mirror of https://github.com/tildeclub/site
Highlight code tags on wiki pages
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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
10e310d1db
commit
e94fff6678
|
@ -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