More actions
Apply GScripts site theme (navy + gold + Inter) |
Theme tweak: links neutral gray (gold on hover only), outlines gray not navy |
||
| Line 25: | Line 25: | ||
--color-subtle: #9ca3af; /* muted text */ | --color-subtle: #9ca3af; /* muted text */ | ||
--color-progressive: # | --color-progressive: #c3c7cf; /* links / interactive (neutral gray, NOT gold) */ | ||
--color-progressive--hover: # | --color-progressive--hover: #d4af37; /* gold only on hover */ | ||
--color-progressive--active: # | --color-progressive--active: #d4af37; | ||
--color-progressive--focus: # | --color-progressive--focus: #c3c7cf; | ||
--color-link: # | --color-link: #c3c7cf; | ||
--color-visited: # | --color-visited: #a9adb6; | ||
--border-color-base: # | --border-color-base: #3a3d44; /* gray outlines (not blue/navy) */ | ||
--border-color-subtle: # | --border-color-subtle: #2a2c31; | ||
--background-color-base: #0d0e12; | --background-color-base: #0d0e12; | ||
| Line 58: | Line 58: | ||
.mw-body .mw-parser-output h4 { | .mw-body .mw-parser-output h4 { | ||
color: #e8c869; | color: #e8c869; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #3a3d44; | ||
} | } | ||
.mw-body h1.firstHeading { | .mw-body h1.firstHeading { | ||
| Line 64: | Line 64: | ||
} | } | ||
/* ---- links ---- */ | /* ---- links: neutral gray, gold only on hover (gold is for headers, not content) ---- */ | ||
.mw-parser-output a:not(.image):not(.mw-selflink) { | .mw-parser-output a:not(.image):not(.mw-selflink) { | ||
color: #c3c7cf; | |||
} | |||
.mw-parser-output a:not(.image):not(.mw-selflink):hover { | |||
color: #d4af37; | color: #d4af37; | ||
text-decoration: underline; | |||
} | } | ||
.mw-parser-output a.new { color: #b06a6a; } /* red/dead links, muted */ | .mw-parser-output a.new { color: #b06a6a; } /* red/dead links, muted */ | ||
| Line 74: | Line 78: | ||
background: #0d1120; | background: #0d1120; | ||
color: #d1d5db; | color: #d1d5db; | ||
border: 1px solid # | border: 1px solid #3a3d44; | ||
border-radius: 10px; | border-radius: 10px; | ||
border-collapse: separate; | border-collapse: separate; | ||
| Line 82: | Line 86: | ||
.mw-parser-output .wikitable > * > tr > th { | .mw-parser-output .wikitable > * > tr > th { | ||
background: #131e35; | background: #131e35; | ||
color: # | color: #e8c869; | ||
border: 1px solid # | border: 1px solid #3a3d44; | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.mw-parser-output .wikitable > * > tr > td { | .mw-parser-output .wikitable > * > tr > td { | ||
background: transparent; | background: transparent; | ||
border: 1px solid # | border: 1px solid #3a3d44; | ||
} | } | ||
.mw-parser-output .wikitable > * > tr:hover > td { | .mw-parser-output .wikitable > * > tr:hover > td { | ||
background: rgba( | background: rgba(255, 255, 255, .03); | ||
} | } | ||
| Line 99: | Line 103: | ||
.mw-parser-output kbd { | .mw-parser-output kbd { | ||
background: #0d1120; | background: #0d1120; | ||
border: 1px solid # | border: 1px solid #3a3d44; | ||
color: #e5e7eb; | color: #e5e7eb; | ||
border-radius: 6px; | border-radius: 6px; | ||
| Line 116: | Line 120: | ||
color: #e5e7eb; | color: #e5e7eb; | ||
padding: 1px; | padding: 1px; | ||
border: 1px solid # | border: 1px solid #3a3d44; | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
Revision as of 21:54, 6 June 2026
/* CSS placed here will be applied to all skins */
/* =========================================================================
GScripts theme — matches the main site (https://gscripts.co)
Dark navy surfaces + gold (#d4af37) accent + Inter. Citizen is themeable
via CSS custom properties, so we override its surface/link/text vars and
then style the content (tables, code, headings, infobox, nav cards).
========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
/* ---- Citizen colour + font variable overrides (force the brand dark theme) ---- */
:root,
html.skin-citizen-auto,
html.skin-citizen-dark,
html.skin-citizen-light,
.skin-citizen {
--color-surface-0: #0d0e12; /* page background */
--color-surface-1: #0d1120; /* raised panels / sidebar */
--color-surface-2: #131e35; /* cards / table heads */
--color-surface-3: #1a2540; /* hovers / borders */
--color-surface-4: #1a2540;
--color-base: #e5e7eb; /* body text */
--color-emphasized: #ffffff; /* strong text */
--color-subtle: #9ca3af; /* muted text */
--color-progressive: #c3c7cf; /* links / interactive (neutral gray, NOT gold) */
--color-progressive--hover: #d4af37; /* gold only on hover */
--color-progressive--active: #d4af37;
--color-progressive--focus: #c3c7cf;
--color-link: #c3c7cf;
--color-visited: #a9adb6;
--border-color-base: #3a3d44; /* gray outlines (not blue/navy) */
--border-color-subtle: #2a2c31;
--background-color-base: #0d0e12;
--background-color-neutral: #131e35;
--background-color-neutral-subtle: #0d1120;
--font-family-base: 'Inter', 'Inter Variable', -apple-system, system-ui, sans-serif;
--font-family-heading: 'Inter', 'Inter Variable', system-ui, sans-serif;
--border-radius-medium: 10px;
}
/* faint grid backdrop like the main site */
.mw-content-container,
.citizen-page-container {
background-image:
linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
background-size: 44px 44px;
}
/* ---- headings ---- */
.mw-body .mw-parser-output h2,
.mw-body .mw-parser-output h3,
.mw-body .mw-parser-output h4 {
color: #e8c869;
border-bottom: 1px solid #3a3d44;
}
.mw-body h1.firstHeading {
color: #ffffff;
}
/* ---- links: neutral gray, gold only on hover (gold is for headers, not content) ---- */
.mw-parser-output a:not(.image):not(.mw-selflink) {
color: #c3c7cf;
}
.mw-parser-output a:not(.image):not(.mw-selflink):hover {
color: #d4af37;
text-decoration: underline;
}
.mw-parser-output a.new { color: #b06a6a; } /* red/dead links, muted */
/* ---- wikitables: navy panels, gold heads, rounded ---- */
.mw-parser-output .wikitable {
background: #0d1120;
color: #d1d5db;
border: 1px solid #3a3d44;
border-radius: 10px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
}
.mw-parser-output .wikitable > * > tr > th {
background: #131e35;
color: #e8c869;
border: 1px solid #3a3d44;
font-weight: 600;
}
.mw-parser-output .wikitable > * > tr > td {
background: transparent;
border: 1px solid #3a3d44;
}
.mw-parser-output .wikitable > * > tr:hover > td {
background: rgba(255, 255, 255, .03);
}
/* ---- code / pre ---- */
.mw-parser-output code,
.mw-parser-output pre,
.mw-parser-output kbd {
background: #0d1120;
border: 1px solid #3a3d44;
color: #e5e7eb;
border-radius: 6px;
}
/* =========================================================================
Existing custom rules (palette refreshed to gold #d4af37 + navy)
========================================================================= */
/* Script Infobox */
.infobox {
width: 210px;
float: right;
margin: 0 0 1em 1em;
background: #131e35;
color: #e5e7eb;
padding: 1px;
border: 1px solid #3a3d44;
border-radius: 10px;
}
@media (max-width: 767px) {
.infobox { float: none; margin: 0 auto 1em auto; }
}
.center-content { text-align: center; padding-top: 5px; }
.infobox table { width: 100%; }
/* Discord styling */
#discord-link-below-logo { margin-top: 5px; line-height: 0; }
#discord-link-below-logo img { vertical-align: middle; }
.vector-header-start { display: flex; flex-direction: column; align-items: flex-start; }
/* Nav cards (Wildy / PVM / Combat / category pages) */
.hover-table { font-family: 'Inter', 'Arial', sans-serif; }
.hover-table caption {
font-size: 32px;
font-weight: 800;
color: #d4af37;
text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
padding-bottom: 15px;
}
.hover-table td { transition: all 0.2s ease; padding: 10px; }
.hover-table td a {
font-size: 18px;
color: #d4af37;
font-weight: 600;
text-decoration: none;
}
.hover-table td:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
border-radius: 10px;
background-color: rgba(212, 175, 55, .08);
}
.hover-table td:hover a { color: #f0c75e; }
.hover-table img {
width: 100px; height: 100px; object-fit: contain;
transition: transform 0.2s ease-in-out;
}
.hover-table img:hover { transform: scale(1.08); }
@media (max-width: 768px) {
.hover-table td { display: inline-block; width: 45%; box-sizing: border-box; text-align: center; vertical-align: top; padding: 10px; }
.hover-table tr { display: block; }
}
/* Uniform icon sizing */
.icon-wrapper {
width: 100px; height: 100px; display: inline-flex; align-items: center; justify-content: center;
overflow: hidden; transition: transform 0.2s ease-in-out;
}
.icon-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.icon-wrapper:hover { transform: scale(1.08); }
.hover-table td span { white-space: nowrap; display: inline-block; max-width: 100%; font-size: 15px; }
@media screen and (max-width: 768px) {
.desktop-only-spacer { display: none !important; }
}