mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
fix of dark theme of 'content-boxes' on German 'Main_Page' (#46)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
@import "wikipedia_styles_light.css";
|
||||
@import "wikipedia_styles_dark_de.css" (prefers-color-scheme: dark);
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
@import "wikipedia_styles_light.css";
|
||||
|
||||
Reference in New Issue
Block a user