Fix icons in dark mode

Former-commit-id: 6753b7c60306dbb67d4b2aadc9df926aadba6274 [formerly cfcd45edff58d42de3aee02f0c1b7512be6e127e]
Former-commit-id: 258fb4df4538042dc43fc2f0082903bc8eaaf4a8
This commit is contained in:
Jaifroid 2017-08-02 22:49:31 +01:00
parent fc642b87a9
commit d8c132c06c
3 changed files with 30 additions and 12 deletions

View File

@ -32,7 +32,7 @@
<AppXManifest Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\bin\Release\AppxManifest.xml">
<PackagePath>AppxManifest.xml</PackagePath>
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
<Modified>2017-08-02T15:49:09.920</Modified>
<Modified>2017-08-02T21:47:27.355</Modified>
</AppXManifest>
</ItemGroup>
<ItemGroup>
@ -371,7 +371,7 @@
</AppxPackagedFile>
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\style-dark.css">
<PackagePath>www\-\s\style-dark.css</PackagePath>
<Modified>2017-08-02T15:48:34.902</Modified>
<Modified>2017-08-02T21:47:09.941</Modified>
</AppxPackagedFile>
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\style-mobile.css">
<PackagePath>www\-\s\style-mobile.css</PackagePath>

View File

@ -24,6 +24,10 @@
color: lightgray;
}
td[style*="color"] {
color: lightslategray !important;
}
h1, h2, h3, h4, h5, h6, #footer li, .infobox th[style*="background"],
div[style*="color"], input[type="search"], input[type="submit"],
input[type="number"], select, .suggestions-result
@ -128,7 +132,7 @@ a, .CategoryTreeToggle, #toc a, #toc a span, body .ui-button {
background-color: #222 !important;
}
.navbox th, .climate-table th, .wikitable th, .navbox-title, th[bgcolor] {
.navbox th, .climate-table th, .wikitable th, .navbox-title, th[bgcolor], td[bgcolor], tr[bgcolor] {
background-color: darkslategray !important
}
@ -170,7 +174,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
}
/* add a white background to transparent images; see
* https://forum.userstyles.org/discussion/48549/x */
img[data-kiwixsrc*=".svg"], a.image img, a[href*=".svg"] img {
img[data-kiwixsrc$=".svg"], img[data-kiwixsrc*="transparent"], a.image img, a[href*=".svg"] img {
background: #ddd !important;
}
@ -179,9 +183,14 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
background: #fff !important;
}
.keyboard-key {
blockquote[style*="background-color: white"] {
background-color: black !important;
color: lightgray !important;
}
.keyboard-key {
box-shadow: 0.1em 0.2em 0.2em #444 !important;
}
}
hr {
background-color: #555 !important;
@ -209,7 +218,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
background-color: #182030 !important;
} */
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title,
.navbox-abovebelow, th.navbox-group, td.navbox-group, .navbox-subgroup .navbox-title,
.navbox-abovebelow *, th.navbox-group *, .navbox-subgroup .navbox-title * {
background-color: #212C43 !important;
}

View File

@ -24,6 +24,10 @@
color: lightgray;
}
td[style*="color"] {
color: lightslategray !important;
}
h1, h2, h3, h4, h5, h6, #footer li, .infobox th[style*="background"],
div[style*="color"], input[type="search"], input[type="submit"],
input[type="number"], select, .suggestions-result
@ -128,7 +132,7 @@ a, .CategoryTreeToggle, #toc a, #toc a span, body .ui-button {
background-color: #222 !important;
}
.navbox th, .climate-table th, .wikitable th, .navbox-title, th[bgcolor] {
.navbox th, .climate-table th, .wikitable th, .navbox-title, th[bgcolor], td[bgcolor], tr[bgcolor] {
background-color: darkslategray !important
}
@ -170,7 +174,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
}
/* add a white background to transparent images; see
* https://forum.userstyles.org/discussion/48549/x */
img[data-kiwixsrc*=".svg"], a.image img, a[href*=".svg"] img {
img[data-kiwixsrc$=".svg"], img[data-kiwixsrc*="transparent"], a.image img, a[href*=".svg"] img {
background: #ddd !important;
}
@ -179,9 +183,14 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
background: #fff !important;
}
.keyboard-key {
blockquote[style*="background-color: white"] {
background-color: black !important;
color: lightgray !important;
}
.keyboard-key {
box-shadow: 0.1em 0.2em 0.2em #444 !important;
}
}
hr {
background-color: #555 !important;
@ -209,7 +218,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
background-color: #182030 !important;
} */
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title,
.navbox-abovebelow, th.navbox-group, td.navbox-group, .navbox-subgroup .navbox-title,
.navbox-abovebelow *, th.navbox-group *, .navbox-subgroup .navbox-title * {
background-color: #212C43 !important;
}