MediaWiki:Common.css: Difference between revisions

Remove external help URL from comment (no http/https in CSS)
UI fix: dark base + sidebar (patch step1)
Line 1,455: Line 1,455:
color: var(--cyberpunkwiki-link-color);
color: var(--cyberpunkwiki-link-color);
}
}
/* === PATCH step1: base dark + sidebar === */
:root{
  --bg:#0d0d0d; --bg-2:#111; --text:#e0e0e0;
  --link:#00d0ff; --link-visited:#a0a0ff; --link-hover:#ffcc00;
  --border:#333;
}
html, body{background:var(--bg)!important;color:var(--text)!important;}
.mw-body, .mw-body-content, #content{background:var(--bg)!important;color:var(--text)!important;}
/* top bar & navigation */
#mw-head, #left-navigation, #right-navigation{background:var(--bg)!important;}
/* left sidebar */
#mw-panel, #mw-panel .portal, #p-logo{background:var(--bg-2)!important;color:var(--text)!important;}
#mw-panel .portal h3, #mw-panel .portal li a{color:#cfcfcf!important;}
#mw-panel .portal li a:hover{color:var(--link-hover)!important;}
/* links */
a{color:var(--link)!important;}
a:visited{color:var(--link-visited)!important;}
a:hover{color:var(--link-hover)!important;}
/* tables / infoboxes */
table, .wikitable, .infobox{
  background:#1a1a1a!important;color:var(--text)!important;border:1px solid var(--border)!important;
}
.wikititle, .wikitable th, .infobox th{background:#222!important;color:var(--link-hover)!important;}