MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
--color-progressive-oklch__h: 220; | --color-progressive-oklch__h: 220; | ||
--font-family-citizen-base: sans-serif; | --font-family-citizen-base: sans-serif; | ||
--space: . | --space-unit: 1.2em; | ||
--transform-image-hover: unset; | --transform-image-hover: unset; | ||
} | } | ||
| Line 16: | Line 16: | ||
.citizen-menu__heading, .mw-list-item { | .citizen-menu__heading, .mw-list-item { | ||
font-family: 'Libre Caslon'; | font-family: 'Libre Caslon'; | ||
} | |||
.citizen-menu__heading { | |||
color: ; | |||
} | } | ||
| Line 29: | Line 33: | ||
.mw-heading2 h2 { | .mw-heading2 h2 { | ||
margin-left: calc(var(--space)); | margin-left: calc(var(--space-unit) / 2); | ||
margin-bottom: calc(var(--space) / | margin-bottom: calc(var(--space-unit) / 8); | ||
} | } | ||
Revision as of 06:28, 9 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;
--space-unit: 1.2em;
--transform-image-hover: unset;
}
@font-face {
font-family: 'Libre Caslon';
src:
url('resources/assets/Libre_Caslon_Text/LibreCaslonText-Regular.ttf');
}
.citizen-menu__heading, .mw-list-item {
font-family: 'Libre Caslon';
}
.citizen-menu__heading {
color: ;
}
h1, h2, h3 {
font-family: 'Libre Caslon';
font-weight: 400;
}
.mw-heading2 {
border-bottom: 1px solid;
border-image: linear-gradient(90deg, transparent 1.8em, var(--color-emphasized) 3.6em, transparent 90%) 30;
}
.mw-heading2 h2 {
margin-left: calc(var(--space-unit) / 2);
margin-bottom: calc(var(--space-unit) / 8);
}
.mw-heading3 .mw-editsection,
.mw-heading4 .mw-editsection {
display: none;
}
/* 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;
}