MediaWiki:Citizen.css
Страница интерфейса MediaWiki
Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Amberfall Wiki / Citizen / Editorial v1.1 */
/* Only af-* components are restyled, to keep MediaWiki editing UI untouched. */
:root {
--color-progressive-oklch__h: 22;
--color-progressive-oklch__c: .075;
--af-paper: #ebe8df;
--af-panel: #f6f3ec;
--af-panel-2: #e3e0d7;
--af-muted: #686b63;
--af-ink: #252a26;
--af-line: rgba(58,62,54,.20);
--af-accent: #914d3d;
--af-accent-soft: rgba(145,77,61,.09);
--af-quiet: #5e6e60;
--af-field: #e9e5dc;
--af-serif: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}
:root.skin-theme-clientpref-night,
:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-1 {
--af-paper: #171b19;
--af-panel: #232824;
--af-panel-2: #2a302b;
--af-muted: #a7aba1;
--af-ink: #e8e6db;
--af-line: rgba(222,222,204,.16);
--af-accent: #c4886b;
--af-accent-soft: rgba(196,136,107,.10);
--af-quiet: #b4b9aa;
--af-field: #202622;
}
@media (prefers-color-scheme: dark) {
:root.skin-theme-clientpref-os {
--af-paper: #171b19;
--af-panel: #232824;
--af-panel-2: #2a302b;
--af-muted: #a7aba1;
--af-ink: #e8e6db;
--af-line: rgba(222,222,204,.16);
--af-accent: #c4886b;
--af-accent-soft: rgba(196,136,107,.10);
--af-quiet: #b4b9aa;
--af-field: #202622;
}
}
.af-home a,.af-page a { text-decoration: none; }
.skin-citizen .mw-body-content .af-home a,
.skin-citizen .mw-body-content .af-page a { text-decoration: none; }
.skin-citizen .mw-body-content .af-home a:hover,
.skin-citizen .mw-body-content .af-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.af-home,.af-page { color: var(--af-ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.af-home *, .af-page * { box-sizing: border-box; }
.af-home { max-width: 1300px; margin-inline: auto; padding: 5px 0 43px; }
/* Masthead: restrained print-inspired composition, without glowing marks or icon ornaments. */
.af-hero { display: grid; grid-template-columns: minmax(0,1.58fr) minmax(265px,.72fr); min-height: 355px;
color: #eae7dc; border: 1px solid #555b50; border-top: 3px solid #925844; background: #202923;
background-image: linear-gradient(115deg, rgba(255,255,255,.025), transparent 65%); }
.af-hero__inner { padding: 46px 50px 38px; display: flex; flex-direction: column; justify-content: center; }
.af-kicker { font-size: 12px; color: #d8c9af; letter-spacing: .065em; font-weight: 600; }
.af-hero__title { color: #f1e9d7; font: normal clamp(52px, 5.8vw, 86px)/1.04 var(--af-serif);
margin: 24px 0 8px; letter-spacing: -.035em; }
.af-hero__line { font: 19px/1.5 var(--af-serif); color: #d8b7a0; }
.af-hero__summary { margin-top: 20px; max-width: 580px; font-size: 14px; line-height: 1.75; color: #c1c9c0; }
.af-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.af-button a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 18px;
border: 1px solid #a6a79a; border-radius: 2px; font-weight: 600; font-size: 13px; transition: background .16s ease, border-color .16s ease; }
.af-button a:hover { text-decoration: none !important; }
.af-button--primary a { color: #f6f2e8 !important; background: #975843; border-color: #975843; }
.af-button--primary a:hover { background: #ad684f; border-color: #ad684f; }
.af-button--ghost a { color: #e5e1d4 !important; background: transparent; border-color: #727b6e; }
.af-button--ghost a:hover { background: #303b33; }
.af-hero__footnote { margin-top: 23px; color: #9fab9d; font-size: 12px; line-height: 1.5; }
.af-hero__aside { padding: 39px 30px 35px; border-left: 1px solid rgba(222,225,207,.18);
background: rgba(14,20,17,.21); display: flex; flex-direction: column; justify-content: center; }
.af-hero__aside-label { text-transform: none; font-size: 12px; color: #c2b39d; letter-spacing: .08em; margin-bottom: 13px; }
.af-hero__aside-title { margin: 0 0 16px; color: #eae2d1; font: 24px/1.25 var(--af-serif); }
.af-hero__aside-link { border-top: 1px solid rgba(222,225,207,.18); padding: 12px 0; font-size: 13px; }
.af-hero__aside-link a, .af-hero__aside-end a { color: #e2e5da !important; }
.af-hero__aside-link a:hover, .af-hero__aside-end a:hover { color: #dca58a !important; }
.af-hero__aside-end { margin-top: 15px; color: #99a396; font-size: 12px; line-height: 1.5; }
.af-bar { padding: 17px 2px 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
font-size: 12px; color: var(--af-muted); border-bottom: 1px solid var(--af-line); }
.af-bar span:first-child { color: var(--af-accent); font-weight: 650; }
.af-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 18px; }
.af-section-eyebrow,.af-panel__eyebrow { font-size: 12px; color: var(--af-accent); font-weight: 700; }
.af-section-title { margin: 6px 0 0; color: var(--af-ink); font: 30px/1.25 var(--af-serif); }
.af-section-sub { max-width: 390px; color: var(--af-muted); font-size: 13px; line-height: 1.55; text-align: right; }
/* Index entries: single material palette, numbered like a printed catalogue. */
.af-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.af-nav-card { position: relative; min-height: 172px; padding: 20px 21px 22px; border: 1px solid var(--af-line);
background: var(--af-panel); transition: border-color .15s ease, background .15s ease; }
.af-nav-card:hover { background: var(--af-panel-2); border-color: var(--af-accent); }
.af-nav-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.af-nav-card__number { color: var(--af-accent); font: 25px/1 var(--af-serif); }
.af-nav-card__tag { font-size: 11px; color: var(--af-muted); letter-spacing: .02em; }
.af-nav-card__title { margin-top: 20px; color: var(--af-ink); font: 22px/1.25 var(--af-serif); }
.af-nav-card__title a { color: var(--af-ink) !important; }
.af-nav-card__desc { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--af-muted); }
.af-columns { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; margin-top: 25px; }
.af-panel { padding: 27px 29px 29px; min-height: 265px; background: var(--af-panel);
border: 1px solid var(--af-line); }
.af-panel--feature { background: var(--af-panel-2); }
.af-panel__title { font: 26px/1.25 var(--af-serif); color: var(--af-ink); margin: 11px 0; }
.af-panel__text { font-size: 14px; line-height: 1.7; color: var(--af-muted); }
.af-link-list { border-top: 1px solid var(--af-line); margin-top: 17px; padding-top: 3px; }
.af-link-list div { padding: 10px 0; border-bottom: 1px solid var(--af-line); }
.af-link-list a { color: var(--af-ink) !important; font-size: 13px; font-weight: 600; }
.af-link-list a:hover { color: var(--af-accent) !important; }
.af-chips { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 22px; margin-top: 18px; }
.af-chips span { display: block; min-width: 0; }
.af-chips span a { display: block; padding: 9px 0; border-bottom: 1px solid var(--af-line); font-size: 13px; color: var(--af-ink) !important; }
.af-chips span a:hover { color: var(--af-accent) !important; }
.af-panel__divider { border-top: 1px solid var(--af-line); margin: 19px 0 13px; }
.af-panel__small a { color: var(--af-accent) !important; font-size: 13px; font-weight: 650; }
.af-bottomline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 2px;
color: var(--af-muted); font-size: 12px; border-top: 1px solid var(--af-line); margin-top: 27px; }
.af-bottomline a { color: var(--af-accent) !important; }
.af-bottomline__links { display: flex; gap: 18px; flex-wrap: wrap; }
/* Article components */
.af-page-lead { border-left: 2px solid var(--af-accent); padding: 15px 18px; margin: 8px 0 23px;
color: var(--af-ink); background: var(--af-accent-soft); font-size: 15px; line-height: 1.75; }
.af-page .af-page-lead p { margin: 0; }
.af-page h2 { font-family: var(--af-serif); font-size: 27px; margin-top: 28px; }
.af-page h3 { font-size: 18px; margin-top: 22px; }
.af-page .af-summary-card { margin: 16px 0; padding: 16px 20px; border: 1px solid var(--af-line); background: var(--af-panel); }
.af-source-note { margin: 23px 0; padding: 13px 16px; border-top: 1px solid var(--af-line);
color: var(--af-muted); font-size: 12px; }
.af-source-note a { color: var(--af-accent) !important; }
.af-page .wikitable { border-collapse: collapse; }
.af-page .wikitable th { background: var(--af-accent-soft); }
.af-home a:focus-visible,.af-page a:focus-visible { outline: 2px solid var(--af-accent); outline-offset: 3px; }
@media (max-width: 1120px) {
.af-hero { grid-template-columns: minmax(0,1.4fr) minmax(230px,.7fr); }
.af-hero__inner { padding: 37px 34px; }
.af-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
.af-home { padding-top: 0; }
.af-hero { grid-template-columns: 1fr; }
.af-hero__inner { padding: 33px 25px 31px; }
.af-hero__title { font-size: clamp(43px,11vw,68px); margin-top: 16px; }
.af-hero__line { font-size: 17px; }
.af-hero__summary { font-size: 13px; }
.af-hero__aside { padding: 19px 25px 25px; border-left: 0; border-top: 1px solid rgba(222,225,207,.18); }
.af-hero__aside-title { font-size: 21px; }
.af-section-title { font-size: 26px; }
.af-section-sub { display: none; }
.af-grid,.af-columns { grid-template-columns: 1fr; }
.af-nav-card { min-height: 150px; }
.af-panel { padding: 23px; min-height: 0; }
.af-bar,.af-bottomline { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .af-nav-card,.af-button a { transition: none; } }