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.
/* =========================
HARD ISOLATION RESET
(prevents Citizen "card UI")
========================= */
.subtab-wrapper,
.subtab-list,
.subtab-item {
all: unset;
}
/* =========================
CONTAINER
========================= */
.subtab-wrapper {
display: block;
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.25em;
}
/* =========================
FLEX ROW
========================= */
.subtab-list {
display: flex !important;
flex-wrap: wrap;
gap: 0.4rem;
margin: 0;
padding: 0;
align-items: center;
}
/* =========================
TABS (IMPORTANT FIX)
========================= */
.subtab-item {
display: inline-flex !important;
padding: 0.25em 0.6em;
border-radius: 4px;
text-decoration: none !important;
background: transparent !important; /* 🔴 KILLS BLUE BOX */
border: none !important;
color: inherit;
white-space: nowrap;
}
/* links already are the item, so force neutrality */
.subtab-item:visited,
.subtab-item:link {
color: inherit;
}
/* =========================
ACTIVE TAB
========================= */
.subtab-item.active {
font-weight: 600;
border-bottom: 2px solid #36c;
}
/* =========================
HOVER (optional)
========================= */
.subtab-item:hover {
background: rgba(54,108,204,0.08) !important;
}
/* =========================
FINAL CITIZEN OVERRIDE SAFETY NET
========================= */
.subtab-list > * {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}