MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================= | /* ========================= | ||
HARD | HARD RESET (Citizen override neutralizer) | ||
========================= */ | ========================= */ | ||
.subtab-wrapper, | .subtab-wrapper, | ||
.subtab-list, | .subtab-list, | ||
.subtab-item { | .subtab-item { | ||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
border | |||
} | } | ||
/* ========================= | /* ========================= | ||
FLEX | FLEX CONTAINER | ||
========================= */ | ========================= */ | ||
.subtab-list { | .subtab-list { | ||
| Line 34: | Line 26: | ||
/* ========================= | /* ========================= | ||
TAB ITEMS | |||
========================= */ | ========================= */ | ||
.subtab-item { | .subtab-item { | ||
| Line 43: | Line 35: | ||
border-radius: 4px; | border-radius: 4px; | ||
white-space: nowrap; | |||
color: inherit; | color: inherit; | ||
} | } | ||
/* | /* LINKS INSIDE WIKITEXT */ | ||
.subtab-item | .subtab-item a { | ||
text-decoration: none; | |||
color: inherit; | color: inherit; | ||
} | } | ||
| Line 67: | Line 55: | ||
/* ========================= | /* ========================= | ||
HOVER | HOVER | ||
========================= */ | ========================= */ | ||
.subtab-item:hover { | .subtab-item:hover { | ||
| Line 74: | Line 62: | ||
/* ========================= | /* ========================= | ||
FINAL | FINAL SAFETY NET | ||
========================= */ | ========================= */ | ||
.subtab-list > * { | .subtab-list > * { | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
Revision as of 16:14, 21 April 2026
/* =========================
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;
}