mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-10 12:53:54 -04:00
Invert display-style maths SVGs in dark mode
Former-commit-id: 3d1c115624572a5e0a07af7892c5ccaef614fd00 [formerly c397537627e22dbbdfd7b31b6cf3598704167228] Former-commit-id: e0c552f28f96dfaa71246823ad8bfcdc7d16832a
This commit is contained in:
parent
4d9cf4695d
commit
522ff9de62
@ -7,6 +7,7 @@
|
|||||||
* FIX: Search bar always remains on-screen if selected (in non-mobile contexts)
|
* FIX: Search bar always remains on-screen if selected (in non-mobile contexts)
|
||||||
* FIX: All images above the fold are now loaded (async timing of image scanning was premature)
|
* FIX: All images above the fold are now loaded (async timing of image scanning was premature)
|
||||||
* FIX: Math typeset by KaTeX is rendered better when there are mbox statements (fbox is used instead)
|
* FIX: Math typeset by KaTeX is rendered better when there are mbox statements (fbox is used instead)
|
||||||
|
* FIX: Display-style maths SVGs are now correctly inverted in dark mode
|
||||||
* UPDATE: Updated KaTeX library to v0.11.1
|
* UPDATE: Updated KaTeX library to v0.11.1
|
||||||
* ENHANCEMENT: Include more files in PWA payload to allow better offline functionality in PWA scenarios
|
* ENHANCEMENT: Include more files in PWA payload to allow better offline functionality in PWA scenarios
|
||||||
* ENHANCEMENT: Appxbundle is now signed with Kiwix certificate for a better sideloading experience
|
* ENHANCEMENT: Appxbundle is now signed with Kiwix certificate for a better sideloading experience
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
html, img, video {
|
html, img, video {
|
||||||
/*-webkit-filter: invert(1) hue-rotate(180deg);*/
|
|
||||||
filter: invert(1) hue-rotate(180deg);
|
filter: invert(1) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mwe-math-fallback-image-inline, img.mwe-math-fallback-image-display {
|
||||||
|
filter: hue-rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: black !important;
|
background: black !important;
|
||||||
}
|
}
|
||||||
|
@ -361,7 +361,7 @@ ul, .portlet li {x
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*** invert images ***/
|
/*** invert images ***/
|
||||||
img[title="Wikipedia"], .bookshelf-container .bookend, img.mwe-math-fallback-image-inline,
|
img[title="Wikipedia"], .bookshelf-container .bookend, img.mwe-math-fallback-image-inline, img.mwe-math-fallback-image-display,
|
||||||
#mw-wsmfinal-close, img[data-kiwixsrc*="Speaker_Icon"], .infobox img[alt*="structure"][data-kiwixsrc*=".svg"], img[data-kiwixsrc*=".png"]:active,
|
#mw-wsmfinal-close, img[data-kiwixsrc*="Speaker_Icon"], .infobox img[alt*="structure"][data-kiwixsrc*=".svg"], img[data-kiwixsrc*=".png"]:active,
|
||||||
img[data-kiwixsrc*=".svg"][height="16"], img[data-kiwixsrc*=".svg"][height="17"], img[data-kiwixsrc*=".svg"][height="18"], img[data-kiwixsrc*="Kiwix_icon"],
|
img[data-kiwixsrc*=".svg"][height="16"], img[data-kiwixsrc*=".svg"][height="17"], img[data-kiwixsrc*=".svg"][height="18"], img[data-kiwixsrc*="Kiwix_icon"],
|
||||||
.oo-ui-iconElement-icon:not(.mw-echo-notifications-badge), .RTsettings, #gtx-host, .jfk-bubble-closebtn,
|
.oo-ui-iconElement-icon:not(.mw-echo-notifications-badge), .RTsettings, #gtx-host, .jfk-bubble-closebtn,
|
||||||
|
@ -108,9 +108,11 @@
|
|||||||
<h3 style="margin-top:0;">Changes in <span class="version">0.9 (beta)</span></h3>
|
<h3 style="margin-top:0;">Changes in <span class="version">0.9 (beta)</span></h3>
|
||||||
<ul style="padding-left: 15px;">
|
<ul style="padding-left: 15px;">
|
||||||
<li>Fixed broken display of Kiwix download library</li>
|
<li>Fixed broken display of Kiwix download library</li>
|
||||||
|
<li>Fixed broken display of MathML when there are no images in the document</li>
|
||||||
<li>Search bar always remains on-screen if selected</li>
|
<li>Search bar always remains on-screen if selected</li>
|
||||||
<li>All images above the fold are now loaded (async timing of image scanning was premature)</li>
|
<li>All images above the fold are now loaded (async timing of image scanning was premature)</li>
|
||||||
<li>Math typeset by KaTeX is rendered better when there are mbox statements (fbox is used instead)</li>
|
<li>Math typeset by KaTeX is rendered better when there are mbox statements (fbox is used instead)</li>
|
||||||
|
<li>Display-style maths SVGs are now correctly inverted in dark mode</li>
|
||||||
<li>Updated KaTeX library to v0.11.1</li>
|
<li>Updated KaTeX library to v0.11.1</li>
|
||||||
<li>Include more files in PWA payload to allow better offline functionality if using app as PWA</li>
|
<li>Include more files in PWA payload to allow better offline functionality if using app as PWA</li>
|
||||||
<li>Appxbundle is now signed with Kiwix certificate for a better sideloading experience</li>
|
<li>Appxbundle is now signed with Kiwix certificate for a better sideloading experience</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user