MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
||
| (52 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 --- | --- 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 7: | 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; | ||
| Line 17: | Line 46: | ||
/* Inverted text */ | /* Inverted text */ | ||
--color-inverted: # | --color-inverted: #102020; | ||
--color-inverted-fixed: # | --color-inverted-fixed: #102020; | ||
/* Links */ | /* Links */ | ||
| Line 38: | Line 67: | ||
--background-color-neutral-subtle: #152525; | --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; | ||
| Line 44: | Line 73: | ||
--background-color-interactive-subtle: #152525; | --background-color-interactive-subtle: #152525; | ||
--background-color-interactive-subtle--hover: #102020; | --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; | ||
| Line 63: | 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 77: | 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 150: | 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 197: | 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 209: | 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 226: | 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 237: | 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; | ||