MediaWiki:Citizen.css
MediaWiki interface page
More actions
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =========================
SUBTABS WRAPPER
========================= */
.subtab-wrapper {
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.25em;
}
/* =========================
FLEX CONTAINER FIX
========================= */
.subtab-list {
display: flex !important;
flex-direction: row;
flex-wrap: wrap; /* change to nowrap if you want scroll tabs */
gap: 0.4rem;
margin: 0;
padding: 0;
list-style: none;
align-items: center;
/* prevents Citizen overrides */
width: 100%;
}
/* =========================
TAB ITEMS (CRITICAL FIX)
========================= */
.subtab-item {
display: inline-flex !important;
width: auto !important;
padding: 0.25em 0.6em;
border-radius: 4px;
white-space: nowrap;
text-decoration: none;
}
/* Make MediaWiki links inside spans behave properly */
.subtab-item a {
text-decoration: none;
color: inherit;
}
/* =========================
ACTIVE TAB
========================= */
.subtab-item.active {
font-weight: 600;
border-bottom: 2px solid #36c;
}
/* =========================
OPTIONAL: HOVER EFFECT
========================= */
.subtab-item:hover {
background: rgba(54, 108, 204, 0.08);
}
/* =========================
EMERGENCY OVERRIDE (Citizen safety net)
========================= */
.subtab-list > * {
display: inline-flex !important;
width: auto !important;
}