Jump to content

MediaWiki:Common.css: Difference between revisions

From Noumenapedia
mNo edit summary
No edit summary
Line 1: Line 1:
/* Infobox readability while DarkMode is active */
/* Author biography infobox in dark mode */
html.client-darkmode .infobox {
html.client-darkmode .infobox.biography.vcard {
     background-color: #ddd !important;
     background-color: #202122 !important;
     color: #202122 !important;
     color: #f8f9fa !important;
     border-color: #a2a9b1 !important;
     border-color: #72777d !important;
}
}


html.client-darkmode .infobox th,
html.client-darkmode .infobox.biography.vcard th {
html.client-darkmode .infobox td,
     background-color: #2a2d31 !important;
html.client-darkmode .infobox caption {
     color: #f8f9fa !important;
     color: #202122 !important;
}
 
html.client-darkmode .infobox a {
     color: #36c !important;
}
}


html.skin-theme-clientpref-night .infobox.biography.vcard,
html.client-darkmode .infobox.biography.vcard td,
html.skin-theme-clientpref-night .infobox.biography.vcard td {
html.client-darkmode .infobox.biography.vcard caption {
     background-color: #202122 !important;
     background-color: #202122 !important;
     color: #f8f9fa !important;
     color: #f8f9fa !important;
}
}


html.skin-theme-clientpref-night .infobox.biography.vcard th {
html.client-darkmode .infobox.biography.vcard a {
    background-color: #2a2d31 !important;
     color: #66b3ff !important;
     color: #f8f9fa !important;
}
}

Revision as of 08:19, 11 September 2026

/* Author biography infobox in dark mode */ html.client-darkmode .infobox.biography.vcard {

   background-color: #202122 !important;
   color: #f8f9fa !important;
   border-color: #72777d !important;

}

html.client-darkmode .infobox.biography.vcard th {

   background-color: #2a2d31 !important;
   color: #f8f9fa !important;

}

html.client-darkmode .infobox.biography.vcard td, html.client-darkmode .infobox.biography.vcard caption {

   background-color: #202122 !important;
   color: #f8f9fa !important;

}

html.client-darkmode .infobox.biography.vcard a {

   color: #66b3ff !important;

}