fix of dark theme of 'content-boxes' on German 'Main_Page' (#46)

This commit is contained in:
Jean-Luc Tibaux
2022-07-23 19:19:08 +00:00
parent 865cf4422f
commit 949b180bc2
4 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ module.exports = function(redis) {
// load custom language specific languages
let lang_suffix = ''
let load_custom_styles = ['fr', 'ko']
let load_custom_styles = ['de', 'fr', 'ko']
if(load_custom_styles.includes(lang)) {
lang_suffix = '_' + lang
+2
View File
@@ -0,0 +1,2 @@
@import "wikipedia_styles_light.css";
@import "wikipedia_styles_dark_de.css" (prefers-color-scheme: dark);
+12
View File
@@ -0,0 +1,12 @@
@import "wikipedia_styles_dark.css";
/* slightly increasing readability of top-left wikipedia logo */
#p-logo .mw-wiki-logo {
filter: invert(1);
}
/* big white boxes on German landing page */
.mw-parser-output .hauptseite-box-content,
.mw-parser-output .hauptseite-preview-wikidata {
background-color: transparent!important;
}
+2
View File
@@ -0,0 +1,2 @@
@import "wikipedia_styles_light.css";