MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================= | |||
HARD RESET FOR TAB SYSTEM | |||
(kills Citizen card styling) | |||
========================= */ | |||
.wt-tabs, | |||
.wt-tabs * { | |||
all: unset; | |||
box-sizing: border-box; | |||
} | |||
/* ========================= | /* ========================= | ||
TAB ROW | |||
========================= */ | ========================= */ | ||
. | .wt-tabs { | ||
display: flex !important; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
gap: 0.5rem; | |||
border-bottom: 1px solid #a2a9b1; | |||
margin-bottom: 1em; | |||
padding-bottom: 0.25em; | |||
align-items: center; | |||
} | } | ||
/* | /* ========================= | ||
. | TABS | ||
========================= */ | |||
.wt-tab { | |||
display: inline-flex !important; | |||
padding: 0.25em 0.6em; | |||
white-space: nowrap; | |||
text-decoration: none !important; | |||
color: inherit !important; | |||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
border-radius: 0 !important; | |||
} | } | ||
/* | /* hover only */ | ||
. | .wt-tab:hover { | ||
background: rgba(54,108,204,0.08) !important; | |||
border-radius: 4px; | |||
} | } | ||
Revision as of 16:22, 21 April 2026
/* =========================
HARD RESET FOR TAB SYSTEM
(kills Citizen card styling)
========================= */
.wt-tabs,
.wt-tabs * {
all: unset;
box-sizing: border-box;
}
/* =========================
TAB ROW
========================= */
.wt-tabs {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.25em;
align-items: center;
}
/* =========================
TABS
========================= */
.wt-tab {
display: inline-flex !important;
padding: 0.25em 0.6em;
white-space: nowrap;
text-decoration: none !important;
color: inherit !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
border-radius: 0 !important;
}
/* hover only */
.wt-tab:hover {
background: rgba(54,108,204,0.08) !important;
border-radius: 4px;
}