MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
Fix background selectors: target body.skin-citizen + .citizen-body-container |
Add ver-beta badge style |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
display: flex; |
display: flex; |
||
flex-wrap: wrap; |
flex-wrap: wrap; |
||
gap: 10px; |
|||
justify-content: space-between; |
|||
justify-content: center; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
width: calc(33.33% - 14px); |
|||
box-sizing: border-box; |
|||
flex-shrink: 0; |
|||
} |
|||
.page__main { |
|||
background-color: rgba(var(--theme-page-background-color--rgb), 0.9); |
|||
} |
} |
||
| ⚫ | |||
/* Vanguard Galaxy — Citizen theme overrides (palette from VG_Banner.png logo region) */ |
|||
border: 1px solid #ccc; |
|||
.skin-citizen-dark, .skin-citizen-auto { |
|||
padding: 10px; |
|||
/* Accent: bright cyan from the VANGUARD wordmark glow */ |
|||
text-align: center; |
|||
--color-progressive: #34b2ec; |
|||
--color-progressive--hover: #5ec5f0; |
|||
--color-progressive--active: #1a93cb; |
|||
--color-progressive--focus: #34b2ec; |
|||
--color-destructive: #ff6e5b; |
|||
/* Surfaces: deep space navy, graduated */ |
|||
--color-surface-0: #05080f; |
|||
--color-surface-1: #0a1020; |
|||
--color-surface-2: #11192e; |
|||
--color-surface-3: #182240; |
|||
--color-surface-4: #1f2c52; |
|||
--background-color-base: #0a1020; |
|||
--background-color-primary: #11192e; |
|||
--background-color-neutral-subtle: #182240; |
|||
--color-base: #e6edf6; /* cool off-white body text */ |
|||
--color-subtle: #8aa0c2; |
|||
--color-emphasized: #ffffff; |
|||
--color-link: #8cd4f5; /* the bright VANGUARD glow */ |
|||
--color-link--visited: #5ea0c2; |
|||
--border-color-base: #1a2a4a; |
|||
--border-color-subtle: #15203a; |
|||
--color-syntax-blue: #8cd4f5; |
|||
--color-syntax-pink: #ff6e5b; |
|||
} |
} |
||
/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */ |
|||
/* Tighten wordmark in header */ |
|||
.ver-ok, |
|||
.citizen-header__siteTitle img.citizen-header__sitelogo, |
|||
.ver-beta, |
|||
.mw-logo-wordmark { max-height: 36px; width: auto; } |
|||
.ver-stale { |
|||
display: inline-block; |
|||
/* Vanguard Galaxy starfield + nebula background (Citizen) */ |
|||
font-size: 0.78em; |
|||
body.skin-citizen { |
|||
font-weight: 700; |
|||
background-color: #05080f; |
|||
line-height: 1.4; |
|||
background-image: |
|||
| ⚫ | |||
linear-gradient( rgba(5, 8, 15, 0.65), rgba(5, 8, 15, 0.50) ), |
|||
border-radius: 0.4em; |
|||
url("/images/9/9c/VG-Hero-Background.jpg"); |
|||
white-space: nowrap; |
|||
background-size: cover; |
|||
vertical-align: middle; |
|||
background-position: center top; |
|||
cursor: help; |
|||
background-attachment: fixed; |
|||
background-repeat: no-repeat; |
|||
} |
} |
||
.ver-ok { |
|||
color: #093; |
|||
/* Translucent content panel so the starfield reads behind it */ |
|||
| ⚫ | |||
body.skin-citizen .citizen-body-container, |
|||
border: 1px solid rgba(0, 153, 51, 0.45); |
|||
body.skin-citizen #mw-content { |
|||
| ⚫ | |||
backdrop-filter: blur(6px); |
|||
-webkit-backdrop-filter: blur(6px); |
|||
} |
} |
||
.ver-beta { |
|||
color: #2563c0; |
|||
/* Header bar — opaque enough to read links over the artwork */ |
|||
background: rgba(37, 99, 192, 0.14); |
|||
body.skin-citizen .citizen-header { |
|||
border: 1px solid rgba(37, 99, 192, 0.5); |
|||
| ⚫ | |||
backdrop-filter: blur(8px); |
|||
.ver-stale { |
|||
color: #c0392b; |
|||
background: rgba(192, 57, 43, 0.14); |
|||
border: 1px solid rgba(192, 57, 43, 0.5); |
|||
} |
} |
||
Latest revision as of 22:26, 2 June 2026
/* CSS placed here will be applied to all skins */
.inputbox-gallery {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.inputbox-gallery .image-frame {
border: 1px solid #ccc;
padding: 10px;
text-align: center;
}
/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */
.ver-ok,
.ver-beta,
.ver-stale {
display: inline-block;
font-size: 0.78em;
font-weight: 700;
line-height: 1.4;
padding: 0 0.45em;
border-radius: 0.4em;
white-space: nowrap;
vertical-align: middle;
cursor: help;
}
.ver-ok {
color: #093;
background: rgba(0, 153, 51, 0.14);
border: 1px solid rgba(0, 153, 51, 0.45);
}
.ver-beta {
color: #2563c0;
background: rgba(37, 99, 192, 0.14);
border: 1px solid rgba(37, 99, 192, 0.5);
}
.ver-stale {
color: #c0392b;
background: rgba(192, 57, 43, 0.14);
border: 1px solid rgba(192, 57, 43, 0.5);
}