MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
background: rgba(54,108,204,0.08) !important; | background: rgba(54,108,204,0.08) !important; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | |||
.mw-subtabs, | |||
.mw-subtabs * { | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
} | |||
.mw-subtabs__list { | |||
display: flex !important; | |||
flex-wrap: wrap; | |||
gap: 0.5rem; | |||
} | |||
.mw-subtabs__item { | |||
display: inline-flex !important; | |||
padding: 0.3em 0.6em; | |||
white-space: nowrap; | |||
} | |||
/* THIS is now the ONLY styled element */ | |||
.mw-subtabs__link { | |||
text-decoration: none; | |||
color: inherit; | |||
display: inline-block; | |||
} | |||
/* active */ | |||
.mw-subtabs__item.is-active { | |||
border-bottom: 2px solid #36c; | |||
font-weight: 600; | |||
} | } | ||
Revision as of 16:21, 21 April 2026
/* =========================
KILL CITIZEN LINK CARD STYLING
ONLY inside subtabs
========================= */
.mw-subtabs a {
background: transparent !important;
box-shadow: none !important;
border: none !important;
padding: 0 !important;
border-radius: 0 !important;
display: inline !important;
}
/* override ANY mw-parser-output link styling */
.mw-parser-output .mw-subtabs a {
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
}
/* safety: stop "link as pill button" behavior */
.mw-subtabs a:hover {
background: rgba(54,108,204,0.08) !important;
border-radius: 4px;
}
.mw-subtabs,
.mw-subtabs * {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
.mw-subtabs__list {
display: flex !important;
flex-wrap: wrap;
gap: 0.5rem;
}
.mw-subtabs__item {
display: inline-flex !important;
padding: 0.3em 0.6em;
white-space: nowrap;
}
/* THIS is now the ONLY styled element */
.mw-subtabs__link {
text-decoration: none;
color: inherit;
display: inline-block;
}
/* active */
.mw-subtabs__item.is-active {
border-bottom: 2px solid #36c;
font-weight: 600;
}