More actions
No edit summary Tag: Manual revert |
Apply GScripts site theme (navy + gold + Inter) |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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, | |||
background: # | html.skin-citizen-dark, | ||
color: # | 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: #d4af37; /* links + accent (gold) */ | |||
--color-progressive--hover: #f0c75e; | |||
--color-progressive--active: #b8941f; | |||
--color-progressive--focus: #d4af37; | |||
--color-link: #d4af37; | |||
--color-visited: #c9a94f; | |||
--border-color-base: #1a2540; | |||
--border-color-subtle: #161d31; | |||
--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 #1a2540; | |||
} | |||
.mw-body h1.firstHeading { | |||
color: #ffffff; | |||
} | } | ||
/* | /* ---- links ---- */ | ||
. | .mw-parser-output a:not(.image):not(.mw-selflink) { | ||
color: #d4af37; | |||
} | } | ||
.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 #1a2540; | |||
border-radius: 10px; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
overflow: hidden; | |||
} | |||
.mw-parser-output .wikitable > * > tr > th { | |||
background: #131e35; | |||
color: #d4af37; | |||
border: 1px solid #1a2540; | |||
font-weight: 600; | |||
} | |||
.mw-parser-output .wikitable > * > tr > td { | |||
background: transparent; | |||
border: 1px solid #1a2540; | |||
} | |||
.mw-parser-output .wikitable > * > tr:hover > td { | |||
background: rgba(212, 175, 55, .04); | |||
} | } | ||
/* | /* ---- code / pre ---- */ | ||
.mw-parser-output code, | |||
.mw-parser-output pre, | |||
.mw-parser-output kbd { | |||
background: #0d1120; | |||
border: 1px solid #1a2540; | |||
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 #1a2540; | |||
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 { | .hover-table caption { | ||
font-size: 32px; | font-size: 32px; | ||
font-weight: | font-weight: 800; | ||
text-shadow: | color: #d4af37; | ||
text-shadow: 0 1px 2px rgba(0, 0, 0, .5); | |||
padding-bottom: 15px; | padding-bottom: 15px; | ||
} | } | ||
.hover-table td { transition: all 0.2s ease; padding: 10px; } | |||
.hover-table td { | |||
} | |||
.hover-table td a { | .hover-table td a { | ||
font-size: 18px; | font-size: 18px; | ||
color: # | color: #d4af37; | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: none; | |||
text-decoration: none; | |||
} | } | ||
.hover-table td:hover { | .hover-table td:hover { | ||
transform: | transform: translateY(-2px); | ||
box-shadow: 0 | box-shadow: 0 6px 18px rgba(0, 0, 0, .35); | ||
border-radius: | border-radius: 10px; | ||
background-color: rgba( | background-color: rgba(212, 175, 55, .08); | ||
} | } | ||
.hover-table td:hover a { color: #f0c75e; } | |||
.hover-table td:hover a { | |||
} | |||
.hover-table img { | .hover-table img { | ||
width: 100px; | width: 100px; height: 100px; object-fit: contain; | ||
transition: transform 0.2s ease-in-out; | transition: transform 0.2s ease-in-out; | ||
} | } | ||
.hover-table img:hover { transform: scale(1.08); } | |||
.hover-table img:hover { | |||
} | |||
@media (max-width: 768px) { | @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 | /* Uniform icon sizing */ | ||
.icon-wrapper { | .icon-wrapper { | ||
width: 100px; | width: 100px; height: 100px; display: inline-flex; align-items: center; justify-content: center; | ||
overflow: hidden; transition: transform 0.2s ease-in-out; | |||
overflow: hidden; | |||
} | } | ||
.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) { | @media screen and (max-width: 768px) { | ||
.desktop-only-spacer { display: none !important; } | |||
} | } | ||
Revision as of 21:45, 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: #d4af37; /* links + accent (gold) */
--color-progressive--hover: #f0c75e;
--color-progressive--active: #b8941f;
--color-progressive--focus: #d4af37;
--color-link: #d4af37;
--color-visited: #c9a94f;
--border-color-base: #1a2540;
--border-color-subtle: #161d31;
--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 #1a2540;
}
.mw-body h1.firstHeading {
color: #ffffff;
}
/* ---- links ---- */
.mw-parser-output a:not(.image):not(.mw-selflink) {
color: #d4af37;
}
.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 #1a2540;
border-radius: 10px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
}
.mw-parser-output .wikitable > * > tr > th {
background: #131e35;
color: #d4af37;
border: 1px solid #1a2540;
font-weight: 600;
}
.mw-parser-output .wikitable > * > tr > td {
background: transparent;
border: 1px solid #1a2540;
}
.mw-parser-output .wikitable > * > tr:hover > td {
background: rgba(212, 175, 55, .04);
}
/* ---- code / pre ---- */
.mw-parser-output code,
.mw-parser-output pre,
.mw-parser-output kbd {
background: #0d1120;
border: 1px solid #1a2540;
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 #1a2540;
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; }
}