Difference between revisions of "MediaWiki:Common.css"

From MSX Game Library

 
(15 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
h4 { font-family:monospace; border-bottom:thin dashed gray; }
 
h4 { font-family:monospace; border-bottom:thin dashed gray; }
 
h5 { font-family:monospace; }
 
h5 { font-family:monospace; }
 
/* Misc */
 
.mw-highlight { background-color:transparent; }
 
pre { line-height:110%; border:medium dashed #DDD; margin-left:0.5em; padding:0.5em; background-color:#EEE; }
 
  
 
/* Hide TOC number */
 
/* Hide TOC number */
Line 20: Line 16:
 
/* Hide link decoration */
 
/* Hide link decoration */
 
a { text-decoration: none; }
 
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; }

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; }