MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
/* optional hover */ | /* optional hover */ | ||
.wt-tabs a:hover { | .wt-tabs a:hover { | ||
background: rgba(54,108,204,0.08) !important; | |||
border-radius: 4px; | |||
} | |||
/* ========================= | |||
FORCE FLEX ROW (Citizen-proof) | |||
========================= */ | |||
.mw-parser-output .wt-tabs { | |||
display: flex !important; | |||
flex-direction: row !important; | |||
flex-wrap: wrap !important; | |||
gap: 0.5rem !important; | |||
align-items: center !important; | |||
margin-bottom: 1em; | |||
padding-bottom: 0.25em; | |||
border-bottom: 1px solid #a2a9b1; | |||
} | |||
/* ========================= | |||
FORCE INLINE LINKS (CRITICAL) | |||
========================= */ | |||
.mw-parser-output .wt-tabs a { | |||
display: inline-block !important; | |||
padding: 0.25em 0.6em !important; | |||
text-decoration: none !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
white-space: nowrap !important; | |||
color: inherit !important; | |||
} | |||
/* hover */ | |||
.mw-parser-output .wt-tabs a:hover { | |||
background: rgba(54,108,204,0.08) !important; | background: rgba(54,108,204,0.08) !important; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
Revision as of 16:23, 21 April 2026
/* container */
.wt-tabs {
display: flex !important;
flex-wrap: wrap;
gap: 0.5rem;
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.25em;
}
/* THIS is the real fix for "blue boxes" */
.wt-tabs a {
background: transparent !important;
box-shadow: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
text-decoration: none !important;
color: inherit !important;
}
/* optional hover */
.wt-tabs a:hover {
background: rgba(54,108,204,0.08) !important;
border-radius: 4px;
}
/* =========================
FORCE FLEX ROW (Citizen-proof)
========================= */
.mw-parser-output .wt-tabs {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap !important;
gap: 0.5rem !important;
align-items: center !important;
margin-bottom: 1em;
padding-bottom: 0.25em;
border-bottom: 1px solid #a2a9b1;
}
/* =========================
FORCE INLINE LINKS (CRITICAL)
========================= */
.mw-parser-output .wt-tabs a {
display: inline-block !important;
padding: 0.25em 0.6em !important;
text-decoration: none !important;
background: transparent !important;
box-shadow: none !important;
border: none !important;
white-space: nowrap !important;
color: inherit !important;
}
/* hover */
.mw-parser-output .wt-tabs a:hover {
background: rgba(54,108,204,0.08) !important;
border-radius: 4px;
}