MediaWiki:Common.css: Difference between revisions
No edit summary |
Balanced line breaks for the new Main Page |
||
| (39 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
:root { | :root { | ||
--background-color-base: #E6E6DD; /* Light Beige */ | --background-color-base: #E6E6DD; /* Light Beige */ | ||
} | |||
li { | |||
text-decoration: none; | |||
} | } | ||
| Line 14: | Line 17: | ||
} | } | ||
/* | /* Search bar styles to make it a bit wider to accomodate the longer title */ | ||
. | input.cdx-text-input__input { | ||
background-color: #f8f9fa !important; | |||
} | } | ||
/* Dark | /* Dark mode search bar */ | ||
.skin-theme-clientpref-night | .skin-theme-clientpref-night input.cdx-text-input__input { | ||
background-color: #202122 !important; | |||
} | } | ||
. | /* Light theme specific elements */ | ||
background-color: | .vector-pinned-container { | ||
background-color: var(--background-color-base); | |||
} | } | ||
/* Dark theme styles */ | |||
.skin-theme-clientpref-night .mw-logo-icon { | .skin-theme-clientpref-night .mw-logo-icon { | ||
filter: invert(1) hue-rotate(180deg); | |||
background-color: | } | ||
.skin-theme-clientpref-night .card { | |||
background-color: #000000; | |||
} | } | ||
@media (min-width: 720px) { | @media (min-width: 720px) { | ||
| Line 46: | Line 48: | ||
} | } | ||
} | } | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
font-family: "Times New Roman", Times, serif; | |||
} | } | ||
@media (max-width: 800px) { | @media (max-width: 800px) { | ||
.ief-landing-hero { | .ief-landing-hero { | ||
| Line 192: | Line 187: | ||
.book-banner { | .book-banner { | ||
display: none; | display: none; | ||
} | |||
/* Custom styles for the dark mode version of the main page */ | |||
.skin-theme-clientpref-night .shaping { | |||
background-color: #000000 !important; | |||
} | |||
.skin-theme-clientpref-night .shaping div h3 { | |||
color: #fefefe !important; | |||
} | |||
.skin-theme-clientpref-night .shaping div p { | |||
color: #fefefe !important; | |||
} | |||
.skin-theme-clientpref-night .cards div { | |||
background-color: #000000 !important; | |||
} | |||
.skin-theme-clientpref-night .cards div h3 { | |||
color: #fefefe !important; | |||
} | |||
.skin-theme-clientpref-night .cards div p { | |||
color: #fefefe !important; | |||
} | |||
/* Move the main menu div (the one on the left of the article) down to make space for the logo */ | |||
.vector-sticky-pinned-container { | |||
position: absolute !important; | |||
} | |||
.infobox{ | |||
background-color: #ffffff; | |||
} | |||
.skin-theme-clientpref-night .infobox{ | |||
background-color: #000000; | |||
} | |||
/* Main Page and All articles: balanced line breaks, so text never ends with a lone word (added Nov 2026) */ | |||
.ief-mp-topic-desc, .ief-mp-article-desc, .ief-mp-intro, .ief-mp-person-role, .ief-mp-assistant-text, | |||
.ief-mp-cta-text, .ief-mp-lead, .ief-mp-about-intro, .ief-mp-about-statement, .ief-mp-about-side, | |||
.ief-mp-contribute, .ief-mp-topic-title, .ief-mp-article-title { | |||
text-wrap: balance; | |||
} | } | ||