MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Hide the sticky-header Discussion button |
Language switcher on subpages; Slave Pits game guide |
||
| Line 119: | Line 119: | ||
#ca-talk-sticky-header { | #ca-talk-sticky-header { | ||
display: none; | display: none; | ||
} | |||
/* pages generated from a game's data */ | |||
.calima-gamedata { | |||
margin: 0 0 1em; | |||
padding: 0.4em 0.9em; | |||
border-left: 3px solid var( --color-subtle, #565d65 ); | |||
background: rgba( 60, 66, 72, 0.06 ); | |||
font-size: 0.85em; | |||
} | } | ||
Revision as of 15:33, 28 October 2026
/* Calima Saga look for Citizen: slate ink, Calima orange, Marcellus, misty forest. */
@font-face {
font-family: 'Marcellus';
src: url('/w/calima/marcellus-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
font-display: swap;
}
@font-face {
font-family: 'Marcellus';
src: url('/w/calima/marcellus-latin-ext.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
font-display: swap;
}
:root {
/* #c25c00, the site's link orange, in OKLCH. Citizen derives every accent from it. */
--color-progressive-oklch__l: 58.99%;
--color-progressive-oklch__c: 0.1538;
--color-progressive-oklch__h: 50.98;
--font-family-citizen-base: 'Marcellus', 'Roboto', serif;
/* Citizen tints every surface with the accent hue; with orange that
reads pink. Keep them near-neutral, like the site's #f6f6f4. */
--color-surface-0-oklch__c: 0.003;
--color-surface-1-oklch__c: 0.004;
--color-surface-2-oklch__c: 0.006;
--color-surface-3-oklch__c: 0.008;
--color-surface-4-oklch__c: 0.01;
}
.skin-theme-clientpref-night {
/* the full orange, for contrast on dark */
--color-progressive-oklch__l: 64.48%;
--color-progressive-oklch__c: 0.1722;
--color-progressive-oklch__h: 49.3;
}
/* forest behind everything, content on a translucent panel (as on calimasaga.com) */
body {
background: #dfe1e0 url('/w/calima/forest.jpg') center top / cover fixed no-repeat;
}
.citizen-page-container {
background: color-mix( in srgb, var( --color-surface-0 ) 93%, transparent );
border-radius: var( --border-radius-medium, 0.5rem );
}
/* Calima orange on the page title rule */
.mw-page-title-main {
font-family: 'Marcellus', serif;
}
.citizen-page-heading {
border-bottom: 2px solid #dd6600;
}
/* language switcher */
.calima-langs {
float: right;
margin: 0 0 1em 1em;
padding: 0.2em 0.8em;
border: 1px solid var( --border-color-base, rgba( 60, 66, 72, 0.2 ) );
border-radius: 999px;
font-size: 0.875em;
}
.calima-langs strong {
color: #dd6600;
}
.calima-langs__missing {
opacity: 0.45;
cursor: help;
}
.calima-intro {
font-size: 1.15em;
border-left: 4px solid #dd6600;
padding: 0.4em 1em;
margin-bottom: 1em;
}
/* "Appears in" box */
.calima-appears {
display: inline-block;
margin: 0 0 1em;
padding: 0.25em 0.8em;
background: rgba( 221, 102, 0, 0.08 );
border-left: 3px solid #dd6600;
font-size: 0.9em;
}
/* spoiler warning */
.calima-spoiler {
margin: 0.5em 0 1em;
padding: 0.4em 0.9em;
border: 1px dashed #c25c00;
border-radius: 0.4em;
font-size: 0.9em;
}
/* hub header line: kind, year, link to the product page */
.calima-work {
margin-bottom: 1em;
color: var( --color-subtle, #565d65 );
}
/* the canon rule above every edit box */
.calima-editnotice {
padding: 0.6em 1em;
border-left: 4px solid #dd6600;
background: rgba( 221, 102, 0, 0.08 );
}
/* under each page, for logged-out readers */
.calima-comments-login {
margin-top: 2em;
padding: 0.6em 1em;
border-top: 1px solid var( --border-color-base, rgba( 60, 66, 72, 0.2 ) );
font-size: 0.95em;
}
/* Conversation lives in the comments; CalimaWiki drops the Discussion tab,
but Citizen draws its own copy in the sticky header. */
#ca-talk-sticky-header {
display: none;
}
/* pages generated from a game's data */
.calima-gamedata {
margin: 0 0 1em;
padding: 0.4em 0.9em;
border-left: 3px solid var( --color-subtle, #565d65 );
background: rgba( 60, 66, 72, 0.06 );
font-size: 0.85em;
}