mirror of
https://github.com/tildeclub/site.git
synced 2026-11-04 12:55:38 +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:
1 parent
10e310d1db
commit
e94fff6678
1 file changed
+2
-1
+2
-1
@@ -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