mirror of
https://github.com/tildeclub/site.git
synced 2026-01-24 05:50:17 +00:00
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:
committed by
Ben Harris
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%;}
|
||||
|
||||
Reference in New Issue
Block a user