Difference between revisions of "MediaWiki:Common.css"

From MSX Game Library

 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
// Base color
+
/* Base color */
body { background-color: #65dbef; }
+
body { background-color:#ffffe3; }
body.ns-0 { background-color: #cccccc; }
+
body.ns-0 { background-color:#e3eeff; }
#sitetitle { font-family: Courier, monospace; background-color:#5955e0; color:#8076f1; }
+
#sitetitle { font-family:monospace; background-color:#4646ae; }
  
// Headline
+
/* Headline */
h2 { border-bottom: solid thin black; }
+
h1 { font-family:monospace; }
h3 { border-bottom: solid thin gray; }
+
h2 { font-family:monospace; border-bottom:thin solid black; }
h4 { border-bottom: solid thin dashed; }
+
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; }
  
// Misc
+
/* Syntax highlight */
pre { line-height: 110%; }
+
.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; }