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.
/* container */
.subtab-wrapper {
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.25em;
}
/* flex row */
.subtab-list {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
gap: 0.4rem;
margin: 0;
padding: 0;
align-items: center;
}
/* IMPORTANT: spans must NOT behave like blocks */
.subtab-item {
display: inline-flex !important;
width: auto !important;
padding: 0.25em 0.6em;
white-space: nowrap;
background: transparent !important;
border: none !important;
}
/* link styling */
.subtab-item a {
text-decoration: none;
color: inherit;
}
/* active tab */
.subtab-item.active {
font-weight: 600;
border-bottom: 2px solid #36c;
}
/* safety override against Citizen cards */
.subtab-list > * {
background: transparent !important;
box-shadow: none !important;
}