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 */
  --text-color-base: #000000; /* Black */
}
 
li {
    text-decoration: none;
}
}


Line 14: Line 17:
}
}


/* Light theme specific elements */
/* Search bar styles to make it a bit wider to accomodate the longer title */
.vector-pinned-container {
input.cdx-text-input__input {
  background-color: var(--background-color-base);
    background-color: #f8f9fa !important;
}
}


/* Dark theme styling when `skin-theme-clientpref-night` class is present */
/* Dark mode search bar */
.skin-theme-clientpref-night :root {
.skin-theme-clientpref-night input.cdx-text-input__input {
  --background-color-base: #121212; /* Dark Gray */
    background-color: #202122 !important;
  --text-color-base: #EAEAEA; /* Light Gray */
}
}


.skin-theme-clientpref-night {
/* Light theme specific elements */
   background-color: #121212;
.vector-pinned-container {
  color: #EAEAEA;
   background-color: var(--background-color-base);
}
}


.skin-theme-clientpref-night .vector-pinned-container {
/* Dark theme styles */
  background-color: var(--background-color-base);
}


.skin-theme-clientpref-night .mw-logo-icon {
.skin-theme-clientpref-night .mw-logo-icon {
filter: invert(1) hue-rotate(180deg);
  filter: invert(1) hue-rotate(180deg);
   background-color: transparent;
}
 
.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 {
        display: none;
font-family: "Times New Roman", Times, serif;
}
.mw-logo-icon {
    float: left;
    margin-right: 10px;
    display: block;
    width: 150px;
    height: 150px;
    position: absolute;
    top: 5px;
}
}
  @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;
}
}