MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* container */ | ||
.subtab-wrapper { | |||
border-bottom: 1px solid #a2a9b1; | |||
.subtab-wrapper | margin-bottom: 1em; | ||
padding-bottom: 0.25em; | |||
} | } | ||
/* | /* flex row */ | ||
.subtab-list { | .subtab-list { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: row; | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 0.4rem; | gap: 0.4rem; | ||
| Line 25: | Line 20: | ||
} | } | ||
/* | /* IMPORTANT: spans must NOT behave like blocks */ | ||
.subtab-item { | .subtab-item { | ||
display: inline-flex !important; | display: inline-flex !important; | ||
width: auto !important; | |||
padding: 0.25em 0.6em; | padding: 0.25em 0.6em; | ||
white-space: nowrap; | white-space: nowrap; | ||
background: transparent !important; | |||
border: none !important; | |||
} | } | ||
/* | /* link styling */ | ||
.subtab-item a { | .subtab-item a { | ||
text-decoration: none; | text-decoration: none; | ||
| Line 46: | Line 39: | ||
} | } | ||
/* | /* active tab */ | ||
.subtab-item.active { | .subtab-item.active { | ||
font-weight: 600; | font-weight: 600; | ||
| Line 54: | Line 45: | ||
} | } | ||
/* | /* safety override against Citizen cards */ | ||
.subtab-list > * { | .subtab-list > * { | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | |||
} | } | ||
Revision as of 16:16, 21 April 2026
/* 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;
}