MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
a.mw-logo:link,
a.mw-logo:visited {
color: #0645ad; /* MediaWiki default blue */
}
html,body {
font-family: "Press Start 2P", monospace; /* retro pixel font */
}
/* === CategoryTree Container === */
.CategoryTreeTag {
font-family: "Courier New", monospace;
font-size: 14px;
color: #00ffcc; /* neon cyan */
margin: 10px 0;
}
/* === Tree Items === */
.CategoryTreeItem {
list-style-type: none; /* remove default bullets */
margin: 4px 0;
padding: 4px 8px;
border-left: 2px solid #00ffcc; /* retro vertical line */
transition: background-color 0.2s ease;
}
.CategoryTreeItem:hover {
background-color: #222222;
color: #ffcc00; /* highlight on hover */
}
/* === Links inside Tree === */
.CategoryTreeItem a:link,
.CategoryTreeItem a:visited {
color: #ffcc00; /* consistent retro yellow */
text-decoration: none;
font-weight: bold;
}
.CategoryTreeItem a:hover {
color: #00ffcc;
text-decoration: underline;
}
/* === Nested Children === */
.CategoryTreeChildren {
margin-left: 20px; /* indent child categories */
border-left: 1px dashed #555555;
padding-left: 10px;
}
/* === Expand/Collapse Icons === */
.CategoryTreeToggle {
cursor: pointer;
color: #ffcc00;
font-weight: bold;
}
.CategoryTreeToggle:hover {
color: #00ffcc;
}