Jump to content

MediaWiki:Common.css: Difference between revisions

From Noumenapedia
No edit summary
No edit summary
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*
a:link {
* Infobox styling
     color: #6495ED;
*
* client-darkmode:
*  Uses light source colours because the DarkMode extension
*  inverts the page colours.
*
* skin-theme-clientpref-night:
*  Uses actual dark colours for ordinary MediaWiki night mode.
*/
 
 
/* =========================================================
  DarkMode extension: html.client-darkmode
  ========================================================= */
 
html.client-darkmode .infobox {
     background-color: #ddd !important;
    color: #202122 !important;
    border-color: #a2a9b1 !important;
}
}


html.client-darkmode .infobox th {
a:visited {
    background-color: #c8ccd1 !important;
     color: #A9A9A9;
     color: #202122 !important;
}
}


html.client-darkmode .infobox td,
#ca-talk {
html.client-darkmode .infobox caption {
     display: none;
     background-color: #ddd !important;
    color: #202122 !important;
}
}


html.client-darkmode .infobox a {
#ca-watch,
     color: #36c !important;
#ca-unwatch {
     display: none;
}
}


 
#ca-nstab-main {
/* =========================================================
     display: none;
  Standard MediaWiki night mode:
  html.skin-theme-clientpref-night
  ========================================================= */
 
html.skin-theme-clientpref-night .infobox {
     background-color: #202122 !important;
    color: #f8f9fa !important;
    border-color: #72777d !important;
}
}


html.skin-theme-clientpref-night .infobox th {
@import url('https://cdn.jsdelivr.net/npm/typeface-tex-gyre-pagella@1.1.13/index.css');
    background-color: #2a2d31 !important;
    color: #f8f9fa !important;
}


html.skin-theme-clientpref-night .infobox td,
.mw-parser-output {
html.skin-theme-clientpref-night .infobox caption {
     font-family: 'TeX Gyre Pagella', 'Palatino Linotype', Palatino, serif;
     background-color: #202122 !important;
    color: #f8f9fa !important;
}
}


html.skin-theme-clientpref-night .infobox a {
.mw-parser-output p {
     color: #66b3ff !important;
    text-align: justify;
     hyphens: auto;
}
}


 
.banner {
/* =========================================================
  position: relative;
  Operating-system dark mode:
  html.skin-theme-clientpref-os
  ========================================================= */
 
html.skin-theme-clientpref-os .infobox {
    background-color: #202122 !important;
    color: #f8f9fa !important;
    border-color: #72777d !important;
}
}


html.skin-theme-clientpref-os .infobox th {
.banner h1 {
    background-color: #2a2d31 !important;
  position: absolute;
    color: #f8f9fa !important;
  left: 1.5rem;
  bottom: 1.5rem;
  margin: 0;
}
}


html.skin-theme-clientpref-os .infobox td,
/* Slightly tighter article text */
html.skin-theme-clientpref-os .infobox caption {
.mw-body-content {
     background-color: #202122 !important;
     line-height: 1.45;
    color: #f8f9fa !important;
}
}


html.skin-theme-clientpref-os .infobox a {
#catlinks, .catlinks, .category-links {
     color: #66b3ff !important;
     display: none !important;
}
}

Latest revision as of 01:44, 16 October 2026

a:link {
    color: #6495ED;
}

a:visited {
    color: #A9A9A9;
}

#ca-talk {
    display: none;
}

#ca-watch,
#ca-unwatch {
    display: none;
}

#ca-nstab-main {
    display: none;
}

@import url('https://cdn.jsdelivr.net/npm/typeface-tex-gyre-pagella@1.1.13/index.css');

.mw-parser-output {
    font-family: 'TeX Gyre Pagella', 'Palatino Linotype', Palatino, serif;
}

.mw-parser-output p {
    text-align: justify;
    hyphens: auto;
}

.banner {
  position: relative;
}

.banner h1 {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  margin: 0;
}

/* Slightly tighter article text */
.mw-body-content {
    line-height: 1.45;
}

#catlinks, .catlinks, .category-links {
    display: none !important;
}