MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
||
| (59 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Imports */ | |||
@import url('https://fonts.googleapis.com/css2?family=Underdog:wght@400;700;900&display=swap'); | |||
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap'); | |||
/* ------------------ | /* ------------------ | ||
-- | -- Deceron Classes -- | ||
------------------ */ | ------------------ */ | ||
.deceron-mp-table { | |||
background: var(--background-color-neutral); | |||
text-align: center; | |||
border-spacing: 10px; | |||
} | |||
.deceron-mp-table td { | |||
background: var(--background-color-neutral-subtle); | |||
vertical-align: top; | |||
padding: 5px; | |||
} | |||
/* ------------------ | /* ------------------ | ||
--- | --- General Style --- | ||
------------------ */ | ------------------ */ | ||
html, body { | |||
font-family: "PT Sans", sans-serif; | |||
} | |||
.mw-body h1,.mw-body .mw-heading1,.mw-body-content h1,.mw-body-content .mw-heading1,.mw-body-content h2,.mw-body-content .mw-heading2 { | |||
font-family: "Underdog", serif; | |||
line-height: 1.375 | |||
} | |||
:root { | :root { | ||
| Line 11: | Line 36: | ||
/* Text */ | /* Text */ | ||
--color-base: # | --color-base: #c4d3d3; | ||
--color-base-fixed: # | --color-base-fixed: #c4d3d3; | ||
--color-base--hover: #ffffff; | --color-base--hover: #ffffff; | ||
--color-emphasized: #ffffff; | --color-emphasized: #ffffff; | ||
--color-subtle: # | --color-subtle: #6d9b9b; | ||
--color-placeholder: #8c949e; | --color-placeholder: #8c949e; | ||
--color-disabled: #69717c; | --color-disabled: #69717c; | ||
| Line 21: | Line 46: | ||
/* Inverted text */ | /* Inverted text */ | ||
--color-inverted: # | --color-inverted: #102020; | ||
--color-inverted-fixed: # | --color-inverted-fixed: #102020; | ||
/* Links */ | /* Links */ | ||
--color-progressive: #ffaa50; | --color-progressive: #ffaa50; | ||
--color-progressive--hover: # | --color-progressive--hover: #ffd6ab; | ||
--color-progressive--active: # | --color-progressive--active: #ffd6ab; | ||
--color-progressive--focus: # | --color-progressive--focus: #ffd6ab; | ||
/* Visited links */ | /* Visited links */ | ||
--color-visited: # | --color-visited: #ff8c1c; | ||
--color-visited--hover: # | --color-visited--hover: #da7b1e; | ||
--color-visited--active: # | --color-visited--active: #da7b1e; | ||
/* Backgrounds */ | /* Backgrounds */ | ||
| Line 39: | Line 64: | ||
--background-color-base-fixed: #203030; | --background-color-base-fixed: #203030; | ||
--background-color-neutral: # | --background-color-neutral: #102020; | ||
--background-color-neutral-subtle: # | --background-color-neutral-subtle: #152525; | ||
--background-color-interactive: # | --background-color-interactive: #425f5f; | ||
--background-color-interactive--hover: #454b55; | --background-color-interactive--hover: #454b55; | ||
--background-color-interactive--active: #505762; | --background-color-interactive--active: #505762; | ||
--background-color-interactive-subtle: # | --background-color-interactive-subtle: #152525; | ||
--background-color-interactive-subtle--hover: # | --background-color-interactive-subtle--hover: #102020; | ||
--background-color-interactive-subtle--active: # | --background-color-interactive-subtle--active: #102020; | ||
--background-color-disabled: #454b55; | --background-color-disabled: #454b55; | ||
--background-color-disabled-subtle: # | --background-color-disabled-subtle: #102020; | ||
--background-color-inverted: #eeeeee; | --background-color-inverted: #eeeeee; | ||
/* Progressive UI */ | /* Progressive UI */ | ||
--background-color-progressive: # | --background-color-progressive: #ffaa50; | ||
--background-color-progressive--hover: # | --background-color-progressive--hover: #ffd6ab; | ||
--background-color-progressive--active: # | --background-color-progressive--active: #ffd6ab; | ||
--background-color-progressive--focus: # | --background-color-progressive--focus: #ffd6ab; | ||
/* Progressive subtle backgrounds */ | /* Progressive subtle backgrounds */ | ||
| Line 67: | Line 92: | ||
/* Borders */ | /* Borders */ | ||
--border-color-base: # | --border-color-base: #425f5f; | ||
--border-color-subtle: # | --border-color-subtle: #3a5353; | ||
--border-color-muted: # | --border-color-muted: #253636; | ||
--border-color-interactive: #8c949e; | --border-color-interactive: #8c949e; | ||
| Line 81: | Line 106: | ||
/* Progressive borders */ | /* Progressive borders */ | ||
--border-color-progressive: # | --border-color-progressive: #da7b1e; | ||
--border-color-progressive--hover: # | --border-color-progressive--hover: #ff8c1c; | ||
--border-color-progressive--active: # | --border-color-progressive--active: #ff8c1c; | ||
--border-color-progressive--focus: # | --border-color-progressive--focus: #ff8c1c; | ||
/* Dividers */ | /* Dividers */ | ||
| Line 100: | Line 125: | ||
/* Destructive / semantic colors */ | /* Destructive / semantic colors */ | ||
--color-destructive: # | --color-destructive: #ff5454; | ||
--color-destructive--hover: # | --color-destructive--hover: #ff7878; | ||
--color-destructive--active: # | --color-destructive--active: #ff7878; | ||
--color-destructive--focus: # | --color-destructive--focus: #ff7878; | ||
--color-destructive--visited: #9f5555; | --color-destructive--visited: #9f5555; | ||
| Line 154: | Line 179: | ||
/* Error backgrounds */ | /* Error backgrounds */ | ||
--background-color-error: # | --background-color-error: #ff5454; | ||
--background-color-error--hover: # | --background-color-error--hover: #ff7878; | ||
--background-color-error--active: # | --background-color-error--active: #ff7878; | ||
--background-color-error-subtle: # | --background-color-error-subtle: #c22a2a; | ||
--background-color-error-subtle--hover: # | --background-color-error-subtle--hover: #e34e4e; | ||
--background-color-error-subtle--active: # | --background-color-error-subtle--active: #e34e4e; | ||
/* Semantic backgrounds */ | /* Semantic backgrounds */ | ||
| Line 201: | Line 226: | ||
/* Focus / accent */ | /* Focus / accent */ | ||
--outline-color-progressive--focus: # | --outline-color-progressive--focus: #ffd6ab; | ||
--accent-color-base: # | --accent-color-base: #ffd6ab; | ||
/* Subtle text */ | /* Subtle text */ | ||
--color-base--subtle: #54595d; | --color-base--subtle: #54595d; | ||
} | |||
/* ----------------- | |||
--- Logo fix --- | |||
----------------- */ | |||
.mw-logo-wordmark { | |||
display: none; | |||
} | |||
/* Force the Vector 2022 logo/icon to stay visible on mobile views */ | |||
@media (max-width: 719px) { | |||
.mw-header .mw-logo { | |||
display: inline-flex !important; | |||
margin-right: 0.5em; | |||
} | |||
/* Ensure the icon image inside the logo link is visible */ | |||
.mw-header .mw-logo-icon { | |||
display: inline-block !important; | |||
} | |||
} | } | ||
| Line 213: | Line 259: | ||
.infobox { | .infobox { | ||
border: 1px solid # | background-color: #102020; | ||
color: # | border: 1px solid #425f5f; | ||
color: #c4d3d3; | |||
padding: .2em; | padding: .2em; | ||
font-size: .9em; | font-size: .9em; | ||
| Line 230: | Line 277: | ||
.infobox .infobox-above, | .infobox .infobox-above, | ||
.infobox .infobox-title { | .infobox .infobox-title { | ||
background-color: #425f5f !important; | |||
color: #fff !important; | |||
font-size: 1.25em; | font-size: 1.25em; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 241: | Line 290: | ||
.infobox .infobox-header { | .infobox .infobox-header { | ||
background-color: #3a5353 !important; | |||
color: #fff !important; | |||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||