Skip to content

Commit 16e86e4

Browse files
committed
Remove selectors and comments
1 parent 79988aa commit 16e86e4

4 files changed

Lines changed: 3 additions & 11 deletions

File tree

css/ReadiumCSS-config.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
/* Font-size normalization for engines that don’t support zoom */
2222
@custom-selector :--fs-normalize [style*="readium-normalize-on"];
2323

24-
/* Reading Modes */
25-
@custom-selector :--sepia-mode [style*="readium-sepia-on"];
26-
@custom-selector :--night-mode [style*="readium-night-on"];
27-
2824
/* Filters (images) */
2925
@custom-selector :--blend-filter [style*="readium-blend-on"];
3026
@custom-selector :--darken-filter [style*="readium-darken-on"];

css/src/modules/ReadiumCSS-html5patch.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ rt {
9090
font-kerning: normal;
9191
}
9292

93-
/* Night mode */
93+
/* Dark colors */
9494

9595
hr {
9696
color: inherit;

css/src/modules/user-settings-submodules/ReadiumCSS-customColors_pref.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
color: var(--USER__textColor) !important;
1919
}
2020

21-
/* The 2 following declarations are consistent with night mode */
22-
2321
:root[style*="--USER__textColor"] *:not(a) {
2422
background-color: transparent !important;
2523
color: inherit !important;

css/src/modules/user-settings-submodules/ReadiumCSS-imageFilters_pref.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
77
Repo: https://github.com/readium/css */
88

9-
/* Blending images with their backgroung
10-
Note this is automatically applied in sepia mode */
9+
/* Blending images with their backgroung */
1110
:root:--blend-filter svg,
1211
:root:--blend-filter img {
1312
/* Make sure the proper bg-color is used for the blend mode */
@@ -62,8 +61,7 @@
6261
filter: brightness(80%) invert(100%) !important;
6362
}
6463

65-
/* Invert gaiji only.
66-
Note this is automatically applied in night mode */
64+
/* Invert gaiji only. */
6765
:root[style*="--USER__invertGaiji"] img[class*="gaiji"] {
6866
-webkit-filter: invert(var(--USER__invertGaiji)) !important;
6967
filter: invert(var(--USER__invertGaiji)) !important;

0 commit comments

Comments
 (0)