MediaWiki:Citizen.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Citizen skin */
:root {
--font-family-base: var(--ygdren-font-family-body);
--font-size-x-small: var(--ygdren-font-size-x-small);
--font-size-small: var(--ygdren-font-size-small);
--font-size-medium: var(--ygdren-font-size-medium);
--font-size-large: var(--ygdren-font-size-large);
--font-size-x-large: var(--ygdren-font-size-x-large);
--font-size-xx-large: var(--ygdren-font-size-xx-large);
--font-size-xxx-large: var(--ygdren-font-size-xxx-large);
--color-base: var(--ygdren-color-text) !important;
--color-emphasized: var(--ygdren-color-emphasized) !important;
--color-subtle: var(--ygdren-color-subtle) !important;
--color-inverted-primary: var(--ygdren-color-inverted) !important;
--color-inverted-fixed: var(--ygdren-color-inverted) !important;
--border-color-base: var(--ygdren-border-color-base) !important;
--border-color-interactive: var(--ygdren-border-color-interactive) !important;
--border-color-subtle: var(--ygdren-border-color-subtle) !important;
--border-color-disabled: var(--ygdren-border-color-subtle) !important;
--border-color-muted: var(--ygdren-border-color-subtle) !important;
--color-surface-0: var(--ygdren-color-surface-0) !important;
--color-surface-1: var(--ygdren-color-surface-1) !important;
--color-surface-2: var(--ygdren-color-surface-2) !important;
--color-surface-3: var(--ygdren-color-surface-3) !important;
--color-surface-4: var(--ygdren-color-surface-4) !important;
--color-progressive: var(--ygdren-color-progressive) !important;
--color-progressive--hover: var(--ygdren-color-progressive--hover) !important;
--color-progressive--active: var(--ygdren-color-progressive--active) !important;
}
@media screen and (prefers-reduced-transparency: reduce) {
:root {
--backdrop-filter-frosted-glass: blur(16px) saturate(140%) !important;
--opacity-glass: 0.9 !important;
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--ygdren-font-family-header);
}
.citizen-footer__container {
max-width: var(--width-layout--extended);
}
.citizen-footer__sitetitle {
flex-direction: row;
align-items: center;
}
.citizen-drawer__menu {
display: flex;
white-space: nowrap;
}
.citizen-menu__card,
.citizen-command-palette {
background-color: color-mix(in oklab,var(--color-surface-1) calc(var(--opacity-glass) * 100%),transparent);
}
.citizen-dropdown-details[open] + .citizen-menu__card {
backdrop-filter: var(--backdrop-filter-frosted-glass);
}
.citizen-page-header-inner {
filter: drop-shadow(0px 0px 8px var(--ygdren-color-surface-0));
}
.citizen-page-container::before {
background-image: url(https://ygdren.miraheze.org/w/img_auth.php/5/5a/Painterly_Banner.png);
background-position: 70% center;
background-repeat: no-repeat;
content: "";
position: absolute;
inset: 0;
pointer-events: none;
height: 400px;
background-size: cover;
mask-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4) 3rem, rgba(0, 0, 0, 0.2) 9rem, transparent 100%);
}
.citizen-overflow-wrapper:has(.wikitable.wide) {
max-width: none;
}
.citizen-toc-link {
text-align: left;
}
.wikitable hr {
margin-block: 0.5em;
}
.mw-templatedata-doc-params .mw-templatedata-caption .mw-editsection-like > .mw-editsection-bracket {
display: none
}
@media screen and (min-width: 1120px) {
.citizen-header {
padding-top: 24px;
}
}
#footer-places {
flex-grow: 0;
}
#footer-places ul {
grid-template-columns: 1fr 1fr;
}