MediaWiki:Common.css: Difference between revisions
Appearance
Update from game data |
Update from game data |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 53: | Line 53: | ||
--border-color-interactive: var(--gw-ink); | --border-color-interactive: var(--gw-ink); | ||
--border-color-progressive: var(--gw-flare); | --border-color-progressive: var(--gw-flare); | ||
--background-color-progressive: var(--gw-flare); | |||
--background-color-progressive--hover: #A8410F; | |||
--background-color-progressive--active: #8A340B; | |||
--background-color-progressive-subtle: var(--gw-paper-inset); | |||
} | } | ||
| Line 193: | Line 197: | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
.gw-infobox-icon, | .gw-infobox .gw-infobox-icon, | ||
.gw-infobox- | .gw-infobox .gw-infobox-full { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.gw- | /* The info box header takes the accent of its kind, the way each game screen has one accent. */ | ||
.gw-infobox.gw-accent-plum th[colspan="2"] { background: #8E3F79; } | |||
.gw-infobox.gw-accent-blueprint th[colspan="2"] { background: #1D5AA8; } | |||
.gw-infobox.gw-accent-indigo th[colspan="2"] { background: #443C8C; } | |||
.gw-infobox.gw-accent-chart th[colspan="2"] { background: #0E766E; } | |||
.gw-infobox.gw-accent-growth th[colspan="2"] { background: #3E7D2F; } | |||
.gw-infobox.gw-accent-amber th[colspan="2"] { background: #E0A417; color: var(--gw-ink); } | |||
/* A grid of slots with the name under each, like the pockets screen. */ | |||
.gw-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); | |||
gap: 14px 10px; | |||
margin: 0.8em 0 1.8em; | |||
} | |||
.gw-cell { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
gap: 6px; | |||
text-align: center; | |||
} | |||
.gw-cell .gw-slot { | |||
width: 76px; | |||
height: 76px; | |||
} | |||
.gw-cell-name { | |||
font-family: var(--gw-font-label); | |||
font-weight: 600; | |||
font-size: 1.02em; | |||
line-height: 1.1; | |||
text-transform: uppercase; | |||
letter-spacing: 0.08em; | |||
} | |||
.gw-cell-name a, | |||
.gw-cell-name a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.gw-cell .gw-full { | |||
margin-left: 0; | |||
font-size: 0.75em; | |||
} | |||
/* The box at the foot of a page that links to its siblings. */ | |||
.gw-navbox { | |||
clear: both; | |||
margin: 2.2em 0 1em 6px; | |||
background: var(--gw-paper-inset); | |||
border: 3px solid var(--gw-ink); | |||
box-shadow: -6px 6px 0 var(--gw-ink); | |||
} | |||
.gw-navbox-title { | |||
padding: 7px 14px; | |||
background: var(--gw-ink); | |||
color: var(--gw-on-ink); | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
text-transform: uppercase; | |||
letter-spacing: 0.06em; | |||
} | |||
.gw-navbox-title a, | |||
.gw-navbox-title a:visited { | |||
color: var(--gw-on-ink); | |||
} | |||
.gw-navbox-group { | |||
margin-left: 14px; | |||
color: var(--gw-on-ink-2); | |||
font-family: var(--gw-font-label); | |||
font-weight: 700; | |||
font-stretch: 100%; | |||
letter-spacing: 0.16em; | |||
} | |||
.gw-navbox-body { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 6px 8px; | |||
padding: 12px 14px; | |||
} | |||
.gw-navbox-link { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 6px; | |||
/* Every link is one height, with or without a picture. */ | |||
min-height: 32px; | |||
box-sizing: border-box; | |||
padding: 3px 10px 3px 8px; | |||
background: var(--gw-mat); | |||
font-family: var(--gw-font-label); | |||
font-weight: 600; | |||
font-size: 1.02em; | |||
line-height: 1.2; | |||
text-transform: uppercase; | |||
letter-spacing: 0.08em; | |||
white-space: nowrap; | |||
} | |||
.gw-navbox-link a, | |||
.gw-navbox-link a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.gw-navbox-link .mw-selflink { | |||
color: var(--gw-flare); | |||
} | |||
/* The front page. The banner carries the name, so the page title is not shown. */ | |||
.page-Main_Page.action-view .mw-first-heading { | |||
display: none; | |||
} | |||
.gw-banner { | |||
margin: 0 0 1.2em 6px; | |||
border: 3px solid var(--gw-ink); | |||
box-shadow: -6px 6px 0 var(--gw-ink); | |||
line-height: 0; | |||
} | |||
.gw-banner img { | |||
width: 100%; | |||
height: auto; | |||
} | |||
.gw-lead { | |||
max-width: 46em; | |||
margin: 1.4em 0 1em; | |||
font-size: 1.25em; | |||
line-height: 1.4; | |||
font-weight: 500; | |||
} | |||
.gw-buttons { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 14px; | |||
margin: 1.2em 0 1.2em 5px; | |||
} | |||
.gw-button a, | |||
.gw-button a:visited { | |||
display: inline-block; | display: inline-block; | ||
padding: | padding: 11px 22px; | ||
background: var(--gw-flare); | background: var(--gw-flare); | ||
background-image: none; | |||
color: var(--gw-on-ink); | color: var(--gw-on-ink); | ||
border: 3px solid var(--gw-ink); | |||
box-shadow: -5px 5px 0 var(--gw-ink); | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 118%; | |||
text-transform: uppercase; | |||
letter-spacing: 0.11em; | |||
text-decoration: none; | |||
} | |||
.mw-parser-output .gw-button a.external { | |||
background-image: none; | |||
padding-right: 22px; | |||
} | |||
.gw-button a:hover { | |||
background: var(--gw-ink); | |||
} | |||
.gw-note { | |||
margin: 1em 0 1.6em; | |||
color: var(--gw-ink-3); | |||
font-family: var(--gw-font-label); | |||
font-weight: 600; | |||
font-size: 1.1em; | |||
text-transform: uppercase; | |||
letter-spacing: 0.16em; | |||
} | |||
.gw-tiles { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); | |||
gap: 16px; | |||
margin: 0.8em 0 2em 6px; | |||
} | |||
.gw-tile { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 6px; | |||
min-height: 120px; | |||
padding: 14px 10px 12px; | |||
background: var(--gw-paper-inset); | |||
border: 3px solid var(--gw-ink); | |||
box-shadow: -5px 5px 0 var(--gw-ink); | |||
text-align: center; | |||
} | |||
.gw-tile-name { | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
line-height: 1.1; | |||
} | |||
.gw-tile-name a, | |||
.gw-tile-name a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.gw-tile-count { | |||
color: var(--gw-ink-3); | |||
font-family: var(--gw-font-label); | |||
font-weight: 700; | |||
letter-spacing: 0.16em; | |||
line-height: 1; | |||
} | |||
.gw-shots { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); | |||
gap: 16px; | |||
margin: 1em 0 2em 6px; | |||
line-height: 0; | |||
} | |||
/* MediaWiki wraps the pictures in a paragraph; the pictures are the grid cells. */ | |||
.gw-shots p { | |||
display: contents; | |||
} | |||
.gw-shots img { | |||
width: 100%; | |||
height: auto; | |||
border: 3px solid var(--gw-ink); | |||
} | |||
/* The kit's panel: rows sit flush, divided by a 2px rule. */ | |||
.gw-panel { | |||
display: flow-root; | |||
max-width: 620px; | |||
margin: 0.6em 0 1.6em 6px; | |||
background: var(--gw-paper-inset); | |||
border: 3px solid var(--gw-ink); | |||
box-shadow: -6px 6px 0 var(--gw-ink); | |||
} | |||
.gw-row { | |||
display: flex; | |||
align-items: center; | |||
gap: 14px; | |||
padding: 10px 16px 10px 12px; | |||
border-top: 2px solid var(--gw-rule); | |||
} | |||
.gw-row:first-child { | |||
border-top: 0; | |||
} | |||
.gw-row-body { | |||
flex: 1; | |||
min-width: 0; | |||
display: flex; | |||
flex-direction: column; | |||
gap: 7px; | |||
} | |||
.gw-row-head { | |||
display: flex; | |||
flex-wrap: wrap; | |||
align-items: baseline; | |||
gap: 4px 12px; | |||
} | |||
.gw-row-name { | |||
flex: 1; | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
font-size: 1.05em; | |||
line-height: 1.1; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
} | |||
.gw-row-name a, | |||
.gw-row-name a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.gw-row-label { | |||
font-family: var(--gw-font-label); | |||
font-weight: 700; | |||
font-size: 1.02em; | |||
line-height: 1; | |||
text-transform: uppercase; | |||
letter-spacing: 0.16em; | |||
color: var(--gw-ink-3); | |||
} | |||
.gw-row-label a, | |||
.gw-row-label a:visited { | |||
color: var(--gw-ink-2); | |||
} | |||
/* The kit's inventory slot, with the count plate on its corner. */ | |||
.gw-slot { | |||
position: relative; | |||
flex: none; | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 60px; | |||
height: 60px; | |||
background: var(--gw-paper); | |||
border: 2px solid var(--gw-ink); | border: 2px solid var(--gw-ink); | ||
box-shadow: -3px 3px 0 var(--gw-ink); | } | ||
.gw-slot-empty { | |||
border-color: var(--gw-rule); | |||
} | |||
.gw-slot-count { | |||
position: absolute; | |||
right: -2px; | |||
bottom: -2px; | |||
min-width: 20px; | |||
padding: 3px 5px; | |||
background: var(--gw-ink); | |||
color: var(--gw-on-ink); | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
font-size: 13px; | |||
line-height: 1; | |||
text-align: center; | |||
} | |||
/* The kit's material chip. */ | |||
.gw-chips { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
} | |||
.gw-chip { | |||
padding: 4px 9px; | |||
background: var(--gw-mat); | |||
color: var(--gw-ink); | |||
font-family: var(--gw-font-label); | |||
font-weight: 600; | |||
font-size: 1.02em; | |||
line-height: 1; | |||
text-transform: uppercase; | |||
letter-spacing: 0.1em; | |||
white-space: nowrap; | |||
} | |||
.gw-chip a, | |||
.gw-chip a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.mw-body-content > .mw-parser-output > .gw-chips { | |||
margin: 0.6em 0 1.4em; | |||
} | |||
/* Cards: a picture flush to the frame, then a name and a line or chips. */ | |||
.gw-cards { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |||
align-items: start; | |||
gap: 20px; | |||
margin: 0.8em 0 2em 6px; | |||
} | |||
.gw-card { | |||
display: flex; | |||
flex-direction: column; | |||
background: var(--gw-paper-inset); | |||
border: 3px solid var(--gw-ink); | |||
box-shadow: -6px 6px 0 var(--gw-ink); | |||
} | |||
/* MediaWiki wraps the picture in a paragraph or a span; the picture itself fills the card. */ | |||
.gw-card p { | |||
display: contents; | |||
} | |||
.gw-card span[typeof~="mw:File"], | |||
.gw-card span[typeof~="mw:File"] a { | |||
display: block; | |||
line-height: 0; | |||
} | |||
.gw-card img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
border-bottom: 3px solid var(--gw-ink); | |||
} | |||
.gw-card-name { | |||
padding: 12px 14px 0; | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
font-size: 1.1em; | |||
line-height: 1.1; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
} | |||
.gw-card-name a, | |||
.gw-card-name a:visited { | |||
color: var(--gw-ink); | |||
} | |||
.gw-card-text { | |||
padding: 6px 14px 0; | |||
color: var(--gw-ink-2); | |||
line-height: 1.4; | |||
} | |||
.gw-card .gw-chips { | |||
padding: 10px 14px 0; | |||
} | |||
.gw-card > :last-child { | |||
padding-bottom: 14px; | |||
} | |||
/* A milestone's tiers, printed like the journal's stamps. */ | |||
.gw-stamps { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
} | |||
.gw-stamp { | |||
padding: 3px 8px; | |||
border: 2px solid var(--gw-flare); | |||
color: var(--gw-flare); | |||
font-family: var(--gw-font-display); | |||
font-weight: 800; | |||
font-stretch: 125%; | |||
font-size: 0.9em; | |||
line-height: 1; | |||
letter-spacing: 0.03em; | |||
white-space: nowrap; | |||
} | |||
.gw-full { | |||
display: inline-block; | |||
margin-left: 0.3em; | |||
padding: 0.05em 0.5em; | |||
background: var(--gw-ink); | |||
color: var(--gw-on-ink); | |||
font-family: var(--gw-font-label); | font-family: var(--gw-font-label); | ||
font-weight: 700; | font-weight: 700; | ||
Revision as of 18:11, 1 October 2026
/* The look of the game's print UI kit: paper plates with an ink keyline and a hard shadow,
on the dark dotted ground of the full-screen menus. Colours and type come from the kit's tokens. */
@font-face {
font-family: Archivo;
src: url(/static/fonts/Archivo-Variable.woff2) format("woff2");
font-weight: 100 900;
font-stretch: 62% 125%;
font-display: swap;
}
@font-face { font-family: "Barlow Condensed"; src: url(/static/fonts/BarlowCondensed-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/static/fonts/BarlowCondensed-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/static/fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/static/fonts/BarlowCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
--gw-paper: #F6F0DE;
--gw-paper-inset: #FBF7E9;
--gw-mat: #E7DFC8;
--gw-rule: #E2DAC2;
--gw-ink: #17150F;
--gw-ink-2: #5A5344;
--gw-ink-3: #8A8272;
--gw-on-ink: #F6F0DE;
--gw-on-ink-2: #B3AB98;
--gw-flare: #C9501A;
--gw-signal: #B3302C;
--gw-ground: #26261F;
--gw-shadow-dark: #4A4A3F;
--gw-font-display: Archivo, system-ui, sans-serif;
--gw-font-label: "Barlow Condensed", system-ui, sans-serif;
/* The skin reads its colours from these. */
--background-color-base: var(--gw-paper);
--background-color-neutral: var(--gw-mat);
--background-color-neutral-subtle: var(--gw-paper-inset);
--background-color-interactive: var(--gw-mat);
--background-color-interactive-subtle: var(--gw-paper-inset);
--color-base: var(--gw-ink);
--color-emphasized: var(--gw-ink);
--color-subtle: var(--gw-ink-2);
--color-placeholder: var(--gw-ink-3);
--color-progressive: var(--gw-flare);
--color-progressive--hover: #A8410F;
--color-progressive--active: #8A340B;
--color-visited: #9A4318;
--color-destructive: var(--gw-signal);
--color-link-red: var(--gw-signal);
--color-link-red--hover: var(--gw-signal);
--border-color-base: var(--gw-ink);
--border-color-subtle: var(--gw-rule);
--border-color-muted: var(--gw-rule);
--border-color-interactive: var(--gw-ink);
--border-color-progressive: var(--gw-flare);
--background-color-progressive: var(--gw-flare);
--background-color-progressive--hover: #A8410F;
--background-color-progressive--active: #8A340B;
--background-color-progressive-subtle: var(--gw-paper-inset);
}
html,
body {
background-color: var(--gw-ground);
background-image: radial-gradient(rgba(246, 240, 222, 0.11) 1.5px, transparent 1.6px);
background-size: 22px 22px;
}
body {
font-family: var(--gw-font-display);
font-stretch: 100%;
}
/* The header sits on the ground, so its type and fields are the light-on-ink set. */
.vector-header-container {
background: transparent;
--background-color-base: var(--gw-ink);
--background-color-interactive: #2E2B22;
--background-color-interactive-subtle: #2E2B22;
--background-color-neutral-subtle: var(--gw-ink);
--color-base: var(--gw-on-ink);
--color-emphasized: var(--gw-on-ink);
--color-subtle: var(--gw-on-ink-2);
--color-placeholder: var(--gw-on-ink-2);
--color-progressive: #F0A64A;
--color-progressive--hover: #FFC073;
--color-visited: #F0A64A;
--border-color-base: var(--gw-on-ink-2);
--border-color-interactive: var(--gw-on-ink-2);
--border-color-subtle: #3A372C;
}
.vector-header-container .mw-header {
background: transparent;
color: var(--gw-on-ink);
}
.mw-logo-icon {
display: none;
}
.mw-page-container {
margin-top: 6px;
margin-bottom: 40px;
border: 3px solid var(--gw-ink);
box-shadow: -7px 7px 0 var(--gw-shadow-dark);
}
.mw-body h1,
.mw-body .mw-heading1,
.mw-body h2,
.mw-body .mw-heading2,
.mw-body h3,
.mw-body h4,
.mw-first-heading {
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
text-transform: uppercase;
letter-spacing: 0.03em;
line-height: 1.08;
}
.mw-body h2,
.mw-body .mw-heading2 {
border-bottom: 3px solid var(--gw-ink);
}
.mw-body h3 {
font-size: 1.05em;
}
/* Labels: the kit sets every small caption in Barlow Condensed capitals. */
.vector-menu-heading,
.vector-pinnable-header-label,
.vector-menu-tabs .mw-list-item a,
.vector-toc .vector-toc-title,
.wikitable > * > tr > th,
.gw-infobox th,
.catlinks {
font-family: var(--gw-font-label);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.12em;
}
.wikitable {
background: var(--gw-paper-inset);
color: var(--gw-ink);
border: 3px solid var(--gw-ink);
}
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border: 2px solid var(--gw-rule);
padding: 0.35em 0.7em;
}
.wikitable > * > tr > th {
background: var(--gw-ink);
color: var(--gw-on-ink);
border-color: var(--gw-ink);
font-size: 1.05em;
}
.catlinks {
background: var(--gw-paper-inset);
border: 2px solid var(--gw-rule);
}
.gw-infobox {
float: right;
clear: right;
width: 300px;
margin: 0 0 1.4em 1.4em;
background: var(--gw-paper-inset);
color: var(--gw-ink);
border: 3px solid var(--gw-ink);
box-shadow: -6px 6px 0 var(--gw-ink);
border-collapse: collapse;
font-size: 0.9em;
}
.gw-infobox th,
.gw-infobox td {
padding: 0.4em 0.7em;
border-top: 2px solid var(--gw-rule);
vertical-align: top;
text-align: left;
}
.gw-infobox th {
color: var(--gw-ink-2);
white-space: nowrap;
}
.gw-infobox th[colspan="2"] {
background: var(--gw-flare);
color: var(--gw-on-ink);
border-top: 0;
border-bottom: 3px solid var(--gw-ink);
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
font-size: 1.15em;
letter-spacing: 0.03em;
white-space: normal;
}
.gw-infobox .gw-infobox-icon,
.gw-infobox .gw-infobox-full {
text-align: center;
}
/* The info box header takes the accent of its kind, the way each game screen has one accent. */
.gw-infobox.gw-accent-plum th[colspan="2"] { background: #8E3F79; }
.gw-infobox.gw-accent-blueprint th[colspan="2"] { background: #1D5AA8; }
.gw-infobox.gw-accent-indigo th[colspan="2"] { background: #443C8C; }
.gw-infobox.gw-accent-chart th[colspan="2"] { background: #0E766E; }
.gw-infobox.gw-accent-growth th[colspan="2"] { background: #3E7D2F; }
.gw-infobox.gw-accent-amber th[colspan="2"] { background: #E0A417; color: var(--gw-ink); }
/* A grid of slots with the name under each, like the pockets screen. */
.gw-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
gap: 14px 10px;
margin: 0.8em 0 1.8em;
}
.gw-cell {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
text-align: center;
}
.gw-cell .gw-slot {
width: 76px;
height: 76px;
}
.gw-cell-name {
font-family: var(--gw-font-label);
font-weight: 600;
font-size: 1.02em;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.gw-cell-name a,
.gw-cell-name a:visited {
color: var(--gw-ink);
}
.gw-cell .gw-full {
margin-left: 0;
font-size: 0.75em;
}
/* The box at the foot of a page that links to its siblings. */
.gw-navbox {
clear: both;
margin: 2.2em 0 1em 6px;
background: var(--gw-paper-inset);
border: 3px solid var(--gw-ink);
box-shadow: -6px 6px 0 var(--gw-ink);
}
.gw-navbox-title {
padding: 7px 14px;
background: var(--gw-ink);
color: var(--gw-on-ink);
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.gw-navbox-title a,
.gw-navbox-title a:visited {
color: var(--gw-on-ink);
}
.gw-navbox-group {
margin-left: 14px;
color: var(--gw-on-ink-2);
font-family: var(--gw-font-label);
font-weight: 700;
font-stretch: 100%;
letter-spacing: 0.16em;
}
.gw-navbox-body {
display: flex;
flex-wrap: wrap;
gap: 6px 8px;
padding: 12px 14px;
}
.gw-navbox-link {
display: inline-flex;
align-items: center;
gap: 6px;
/* Every link is one height, with or without a picture. */
min-height: 32px;
box-sizing: border-box;
padding: 3px 10px 3px 8px;
background: var(--gw-mat);
font-family: var(--gw-font-label);
font-weight: 600;
font-size: 1.02em;
line-height: 1.2;
text-transform: uppercase;
letter-spacing: 0.08em;
white-space: nowrap;
}
.gw-navbox-link a,
.gw-navbox-link a:visited {
color: var(--gw-ink);
}
.gw-navbox-link .mw-selflink {
color: var(--gw-flare);
}
/* The front page. The banner carries the name, so the page title is not shown. */
.page-Main_Page.action-view .mw-first-heading {
display: none;
}
.gw-banner {
margin: 0 0 1.2em 6px;
border: 3px solid var(--gw-ink);
box-shadow: -6px 6px 0 var(--gw-ink);
line-height: 0;
}
.gw-banner img {
width: 100%;
height: auto;
}
.gw-lead {
max-width: 46em;
margin: 1.4em 0 1em;
font-size: 1.25em;
line-height: 1.4;
font-weight: 500;
}
.gw-buttons {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 1.2em 0 1.2em 5px;
}
.gw-button a,
.gw-button a:visited {
display: inline-block;
padding: 11px 22px;
background: var(--gw-flare);
background-image: none;
color: var(--gw-on-ink);
border: 3px solid var(--gw-ink);
box-shadow: -5px 5px 0 var(--gw-ink);
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 118%;
text-transform: uppercase;
letter-spacing: 0.11em;
text-decoration: none;
}
.mw-parser-output .gw-button a.external {
background-image: none;
padding-right: 22px;
}
.gw-button a:hover {
background: var(--gw-ink);
}
.gw-note {
margin: 1em 0 1.6em;
color: var(--gw-ink-3);
font-family: var(--gw-font-label);
font-weight: 600;
font-size: 1.1em;
text-transform: uppercase;
letter-spacing: 0.16em;
}
.gw-tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 16px;
margin: 0.8em 0 2em 6px;
}
.gw-tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 120px;
padding: 14px 10px 12px;
background: var(--gw-paper-inset);
border: 3px solid var(--gw-ink);
box-shadow: -5px 5px 0 var(--gw-ink);
text-align: center;
}
.gw-tile-name {
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
text-transform: uppercase;
letter-spacing: 0.03em;
line-height: 1.1;
}
.gw-tile-name a,
.gw-tile-name a:visited {
color: var(--gw-ink);
}
.gw-tile-count {
color: var(--gw-ink-3);
font-family: var(--gw-font-label);
font-weight: 700;
letter-spacing: 0.16em;
line-height: 1;
}
.gw-shots {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
margin: 1em 0 2em 6px;
line-height: 0;
}
/* MediaWiki wraps the pictures in a paragraph; the pictures are the grid cells. */
.gw-shots p {
display: contents;
}
.gw-shots img {
width: 100%;
height: auto;
border: 3px solid var(--gw-ink);
}
/* The kit's panel: rows sit flush, divided by a 2px rule. */
.gw-panel {
display: flow-root;
max-width: 620px;
margin: 0.6em 0 1.6em 6px;
background: var(--gw-paper-inset);
border: 3px solid var(--gw-ink);
box-shadow: -6px 6px 0 var(--gw-ink);
}
.gw-row {
display: flex;
align-items: center;
gap: 14px;
padding: 10px 16px 10px 12px;
border-top: 2px solid var(--gw-rule);
}
.gw-row:first-child {
border-top: 0;
}
.gw-row-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 7px;
}
.gw-row-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 12px;
}
.gw-row-name {
flex: 1;
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
font-size: 1.05em;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.gw-row-name a,
.gw-row-name a:visited {
color: var(--gw-ink);
}
.gw-row-label {
font-family: var(--gw-font-label);
font-weight: 700;
font-size: 1.02em;
line-height: 1;
text-transform: uppercase;
letter-spacing: 0.16em;
color: var(--gw-ink-3);
}
.gw-row-label a,
.gw-row-label a:visited {
color: var(--gw-ink-2);
}
/* The kit's inventory slot, with the count plate on its corner. */
.gw-slot {
position: relative;
flex: none;
display: inline-flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
background: var(--gw-paper);
border: 2px solid var(--gw-ink);
}
.gw-slot-empty {
border-color: var(--gw-rule);
}
.gw-slot-count {
position: absolute;
right: -2px;
bottom: -2px;
min-width: 20px;
padding: 3px 5px;
background: var(--gw-ink);
color: var(--gw-on-ink);
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
font-size: 13px;
line-height: 1;
text-align: center;
}
/* The kit's material chip. */
.gw-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.gw-chip {
padding: 4px 9px;
background: var(--gw-mat);
color: var(--gw-ink);
font-family: var(--gw-font-label);
font-weight: 600;
font-size: 1.02em;
line-height: 1;
text-transform: uppercase;
letter-spacing: 0.1em;
white-space: nowrap;
}
.gw-chip a,
.gw-chip a:visited {
color: var(--gw-ink);
}
.mw-body-content > .mw-parser-output > .gw-chips {
margin: 0.6em 0 1.4em;
}
/* Cards: a picture flush to the frame, then a name and a line or chips. */
.gw-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
align-items: start;
gap: 20px;
margin: 0.8em 0 2em 6px;
}
.gw-card {
display: flex;
flex-direction: column;
background: var(--gw-paper-inset);
border: 3px solid var(--gw-ink);
box-shadow: -6px 6px 0 var(--gw-ink);
}
/* MediaWiki wraps the picture in a paragraph or a span; the picture itself fills the card. */
.gw-card p {
display: contents;
}
.gw-card span[typeof~="mw:File"],
.gw-card span[typeof~="mw:File"] a {
display: block;
line-height: 0;
}
.gw-card img {
display: block;
width: 100%;
height: auto;
border-bottom: 3px solid var(--gw-ink);
}
.gw-card-name {
padding: 12px 14px 0;
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
font-size: 1.1em;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.gw-card-name a,
.gw-card-name a:visited {
color: var(--gw-ink);
}
.gw-card-text {
padding: 6px 14px 0;
color: var(--gw-ink-2);
line-height: 1.4;
}
.gw-card .gw-chips {
padding: 10px 14px 0;
}
.gw-card > :last-child {
padding-bottom: 14px;
}
/* A milestone's tiers, printed like the journal's stamps. */
.gw-stamps {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.gw-stamp {
padding: 3px 8px;
border: 2px solid var(--gw-flare);
color: var(--gw-flare);
font-family: var(--gw-font-display);
font-weight: 800;
font-stretch: 125%;
font-size: 0.9em;
line-height: 1;
letter-spacing: 0.03em;
white-space: nowrap;
}
.gw-full {
display: inline-block;
margin-left: 0.3em;
padding: 0.05em 0.5em;
background: var(--gw-ink);
color: var(--gw-on-ink);
font-family: var(--gw-font-label);
font-weight: 700;
font-size: 0.85em;
letter-spacing: 0.16em;
white-space: nowrap;
}
@media (max-width: 720px) {
.gw-infobox {
float: none;
width: auto;
margin: 0 0 1.4em 6px;
}
}