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 RESET (Citizen override neutralizer)
========================= */
.subtab-wrapper,
.subtab-list,
.subtab-item {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* =========================
FLEX CONTAINER
========================= */
.subtab-list {
display: flex !important;
flex-wrap: wrap;
gap: 0.4rem;
margin: 0;
padding: 0;
align-items: center;
}
/* =========================
TAB ITEMS
========================= */
.subtab-item {
display: inline-flex !important;
padding: 0.25em 0.6em;
border-radius: 4px;
white-space: nowrap;
color: inherit;
}
/* LINKS INSIDE WIKITEXT */
.subtab-item a {
text-decoration: none;
color: inherit;
}
/* =========================
ACTIVE TAB
========================= */
.subtab-item.active {
font-weight: 600;
border-bottom: 2px solid #36c;
}
/* =========================
HOVER
========================= */
.subtab-item:hover {
background: rgba(54,108,204,0.08) !important;
}
/* =========================
FINAL SAFETY NET
========================= */
.subtab-list > * {
background: transparent !important;
}