Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
>MangoFVTT
No edit summary
>MangoFVTT
No edit summary
Line 30: Line 30:
     --color-progressive--hover: var(--ygdren-color-progressive--hover) !important;
     --color-progressive--hover: var(--ygdren-color-progressive--hover) !important;
     --color-progressive--active: var(--ygdren-color-progressive--active) !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;
    }
}
}



Revision as of 16:10, 3 August 2026

/* 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;

    --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 {
	backdrop-filter: none;
}

.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-dropdown-details[open] + .citizen-menu__card {
    backdrop-filter: var(--backdrop-filter-frosted-glass);
}

.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;
}