MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
} | } | ||
.mw-heading2 { | |||
border-bottom: 1px solid; | |||
margin-bottom: calc(var(--space)); | |||
margin-top: calc(var(--space) * 6); | |||
border-image: linear-gradient(90deg, transparent 2.5%, var(--gold-7) 6%, transparent 90%) 30; | |||
@media (prefers-color-scheme: dark) { | |||
border-image: linear-gradient(90deg, transparent 2.5%, var(--gold-1) 6%, transparent 90%) 30; | |||
} | |||
} | |||
/* Moves notification area down. */ | /* Moves notification area down. */ | ||
Revision as of 06:45, 8 November 2025
/* All CSS here will be loaded for users of the Citizen skin */
:root {
--color-progressive-oklch__h: 220;
--font-family-citizen-base: sans-serif;
}
@font-face {
font-family: 'Libre Caslon';
src:
url('resources/assets/Libre_Caslon_Text/LibreCaslonText-Regular.ttf');
}
h1, h2, h3 {
font-family: 'Libre Caslon';
font-weight: 400;
}
.mw-heading2 {
border-bottom: 1px solid;
margin-bottom: calc(var(--space));
margin-top: calc(var(--space) * 6);
border-image: linear-gradient(90deg, transparent 2.5%, var(--gold-7) 6%, transparent 90%) 30;
@media (prefers-color-scheme: dark) {
border-image: linear-gradient(90deg, transparent 2.5%, var(--gold-1) 6%, transparent 90%) 30;
}
}
/* Moves notification area down. */
.mw-notification-area {
margin-top: 6em;
}
/* Extension:Moderation adjustments. */
#mw-editing-your-version {
color: var(--color-surface-0);
}
.citizen-menu__card-content .citizen-ui-icon {
display: none;
}