MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* ====================================== | //* ====================================== | ||
NS-TREE (AllPages layout + styling) | NS-TREE (AllPages layout + styling) | ||
====================================== */ | ====================================== */ | ||
| Line 30: | Line 30: | ||
} | } | ||
/* ===== LINK COLORS ( | /* ===== FORCE LINK COLORS (STRONG OVERRIDE) ===== */ | ||
#ns-tree a, | |||
#ns-tree | #ns-tree a:link, | ||
#ns-tree | #ns-tree a:visited, | ||
color: #ffff66 !important; /* readable yellow */ | #ns-tree a:active { | ||
color: #ffff66 !important; /* bright readable yellow */ | |||
} | } | ||
/* Hover */ | /* Hover */ | ||
#ns-tree | #ns-tree a:hover { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
Revision as of 14:35, 12 April 2026
/* CSS placed here will be applied to all skins */
//* ======================================
NS-TREE (AllPages layout + styling)
====================================== */
/* Force single column */
#ns-tree .mw-allpages-body {
column-count: 1 !important;
column-width: auto !important;
}
#ns-tree .mw-allpages-chunk {
display: block !important;
width: 100% !important;
}
/* Remove bullets */
#ns-tree ul,
#ns-tree li {
list-style: none !important;
padding-left: 0;
margin-left: 0;
}
/* Spacing */
#ns-tree li {
margin: 3px 0;
line-height: 1.4;
}
/* ===== FORCE LINK COLORS (STRONG OVERRIDE) ===== */
#ns-tree a,
#ns-tree a:link,
#ns-tree a:visited,
#ns-tree a:active {
color: #ffff66 !important; /* bright readable yellow */
}
/* Hover */
#ns-tree a:hover {
color: #ffffff !important;
text-decoration: underline;
}
/* ===== STRUCTURE ===== */
/* Top-level items (added by JS) */
#ns-tree li.top-level {
margin-top: 10px;
padding-top: 4px;
border-top: 1px solid #444;
}
/* Optional arrow indicator */
#ns-tree li::before {
content: "›";
margin-right: 6px;
color: #888;
}