MediaWiki:Common.css: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
| Line 8: | Line 8: | ||
html,body { | html,body { | ||
font-family: "Press Start 2P", monospace; /* retro pixel font */ | 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; | |||
} | } | ||
Revision as of 22:33, 15 November 2025
/* 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;
}