Difference between revisions of "MediaWiki:Common.css"

From MSX Game Library

 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
/* Syntax highlight */
 
/* Syntax highlight */
 
.mw-highlight { background-color:transparent; }
 
.mw-highlight { background-color:transparent; }
.hljs { background-color:#444; color: #EEE; }
+
.hljs { background-color:#444; color: #EEE; tab-size: 4; }
 
.hljs-meta { color: #CCC; }
 
.hljs-meta { color: #CCC; }
 
.hljs-meta .hljs-keyword {}
 
.hljs-meta .hljs-keyword {}
 
.hljs-comment { color: #9B9; }
 
.hljs-comment { color: #9B9; }
 
.hljs-type { color: #e1e1a4; }
 
.hljs-type { color: #e1e1a4; }
.hljs-built_in { color: #e1e1a4; }
+
.hljs-title { color: #FFF; }
.hljs-title { color: #EEE; }
+
.hljs-built_in { color: #FFF; }
.hljs-built_in { color: #EEE; }
 
 
.hljs-number { color: #97dff5; }
 
.hljs-number { color: #97dff5; }
 +
.hljs-keyword { color: #efc76b; }

Latest revision as of 00:32, 5 January 2024

/* Base color */
body { background-color:#ffffe3; }
body.ns-0 { background-color:#e3eeff; }
#sitetitle { font-family:monospace; background-color:#4646ae; }

/* Headline */
h1 { font-family:monospace; }
h2 { font-family:monospace; border-bottom:thin solid black; }
h3 { font-family:monospace; border-bottom:thin solid gray; }
h4 { font-family:monospace; border-bottom:thin dashed gray; }
h5 { font-family:monospace; }

/* Hide TOC number */
.tocnumber { display: none; }

/* Hide link decoration */
a { text-decoration: none; }

/* Syntax highlight */
.mw-highlight { background-color:transparent; }
.hljs { background-color:#444; color: #EEE; tab-size: 4; }
.hljs-meta { color: #CCC; }
.hljs-meta .hljs-keyword {}
.hljs-comment { color: #9B9; }
.hljs-type { color: #e1e1a4; }
.hljs-title { color: #FFF; }
.hljs-built_in { color: #FFF; }
.hljs-number { color: #97dff5; }
.hljs-keyword { color: #efc76b; }