MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ========================= | ||
.subtab- | ISOLATE TAB AREA FROM CITIZEN UI STYLING | ||
border- | ========================= */ | ||
.subtab-isolated, | |||
.subtab-isolated * { | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
} | |||
/* ========================= | |||
STOP CITIZEN "CARDIFYING" LINKS/SPANS | |||
========================= */ | |||
.subtab-isolated a, | |||
.subtab-isolated span { | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
} | } | ||
/* | /* ========================= | ||
.subtab-list { | FORCE FLEX LAYOUT | ||
========================= */ | |||
.subtab-isolated .subtab-list { | |||
display: flex !important; | display: flex !important; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 0.4rem; | gap: 0.4rem; | ||
align-items: center; | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* | /* ========================= | ||
.subtab-item { | FORCE INLINE TAB LOOK | ||
========================= */ | |||
.subtab-isolated .subtab-item { | |||
display: inline-flex !important; | display: inline-flex !important; | ||
padding: 0.25em 0.6em; | padding: 0.25em 0.6em; | ||
| Line 33: | Line 47: | ||
} | } | ||
/* | /* ========================= | ||
.subtab- | ACTIVE TAB | ||
========================= */ | |||
.subtab-isolated .subtab-item.active { | |||
.subtab-item.active { | |||
font-weight: 600; | font-weight: 600; | ||
border-bottom: 2px solid #36c; | border-bottom: 2px solid #36c; | ||
} | } | ||
/* | /* ========================= | ||
.subtab- | NUCLEAR OPTION (CITIZEN CARD KILLER) | ||
THIS is what removes blue boxes | |||
========================= */ | |||
.mw-parser-output .subtab-isolated * { | |||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
Revision as of 16:18, 21 April 2026
/* =========================
ISOLATE TAB AREA FROM CITIZEN UI STYLING
========================= */
.subtab-isolated,
.subtab-isolated * {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* =========================
STOP CITIZEN "CARDIFYING" LINKS/SPANS
========================= */
.subtab-isolated a,
.subtab-isolated span {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* =========================
FORCE FLEX LAYOUT
========================= */
.subtab-isolated .subtab-list {
display: flex !important;
flex-wrap: wrap;
gap: 0.4rem;
align-items: center;
margin: 0;
padding: 0;
}
/* =========================
FORCE INLINE TAB LOOK
========================= */
.subtab-isolated .subtab-item {
display: inline-flex !important;
padding: 0.25em 0.6em;
white-space: nowrap;
background: transparent !important;
border: none !important;
}
/* =========================
ACTIVE TAB
========================= */
.subtab-isolated .subtab-item.active {
font-weight: 600;
border-bottom: 2px solid #36c;
}
/* =========================
NUCLEAR OPTION (CITIZEN CARD KILLER)
THIS is what removes blue boxes
========================= */
.mw-parser-output .subtab-isolated * {
background: transparent !important;
}