MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Citizen skin */ | /* All CSS here will be loaded for users of the Citizen skin */ | ||
/* === SubTabs Navigation | /* === SubTabs Navigation === */ | ||
.subtab-wrapper { | .subtab-wrapper { | ||
border-bottom: 1px solid #a2a9b1; | border-bottom: 1px solid #a2a9b1; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
padding-bottom: 0. | padding-bottom: 0.3em; | ||
} | } | ||
/* FORCE flex even under Citizen overrides */ | |||
.subtab-list { | .subtab-list { | ||
display: flex; | display: flex !important; | ||
flex-direction: row; | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 1. | gap: 1.2em; | ||
align-items: center; | align-items: center; | ||
} | } | ||
/* Ensure items behave as inline-flex (Citizen likes to break flex children) */ | |||
.subtab-item { | |||
display: inline-flex; | |||
align-items: center; | |||
} | |||
/* Link reset (Citizen aggressively styles links) */ | |||
.subtab-item a { | .subtab-item a { | ||
text-decoration: none; | text-decoration: none !important; | ||
color: #0645ad; | color: #0645ad; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
display: inline-block; | |||
} | } | ||
/* Hover */ | |||
.subtab-item a:hover { | .subtab-item a:hover { | ||
text-decoration: underline; | text-decoration: underline !important; | ||
} | } | ||
/* Active tab */ | /* Active tab override (VERY IMPORTANT for Citizen) */ | ||
.subtab-item.active a { | .subtab-item.active a { | ||
font-weight: | font-weight: 700; | ||
color: #202122 !important; | |||
border-bottom: 2px solid #202122; | border-bottom: 2px solid #202122; | ||
} | } | ||
/* Base tab | /* Base tab */ | ||
.subtab-base a { | .subtab-base a { | ||
font-weight: | font-weight: 700; | ||
} | } | ||
Revision as of 16:05, 21 April 2026
/* All CSS here will be loaded for users of the Citizen skin */
/* === SubTabs Navigation === */
.subtab-wrapper {
border-bottom: 1px solid #a2a9b1;
margin-bottom: 1em;
padding-bottom: 0.3em;
}
/* FORCE flex even under Citizen overrides */
.subtab-list {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
gap: 1.2em;
align-items: center;
}
/* Ensure items behave as inline-flex (Citizen likes to break flex children) */
.subtab-item {
display: inline-flex;
align-items: center;
}
/* Link reset (Citizen aggressively styles links) */
.subtab-item a {
text-decoration: none !important;
color: #0645ad;
padding-bottom: 2px;
display: inline-block;
}
/* Hover */
.subtab-item a:hover {
text-decoration: underline !important;
}
/* Active tab override (VERY IMPORTANT for Citizen) */
.subtab-item.active a {
font-weight: 700;
color: #202122 !important;
border-bottom: 2px solid #202122;
}
/* Base tab */
.subtab-base a {
font-weight: 700;
}