MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
||
| (35 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Imports */ | /* Imports */ | ||
@import url('https://fonts.googleapis.com/css2?family= | @import url('https://fonts.googleapis.com/css2?family=Underdog:wght@400;700;900&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family= | @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; | |||
} | |||
/* ------------------ | /* ------------------ | ||
| Line 8: | Line 24: | ||
html, body { | html, body { | ||
font-family: " | 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 { | .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: " | font-family: "Underdog", serif; | ||
line-height: 1.375 | line-height: 1.375 | ||
} | } | ||
| Line 215: | Line 231: | ||
/* 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; | |||
} | |||
} | } | ||