File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ];
Original file line number Diff line number Diff line change 9090 font-kerning : normal;
9191}
9292
93- /* Night mode */
93+ /* Dark colors */
9494
9595hr {
9696 color : inherit;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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 */
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 ;
You can’t perform that action at this time.
0 commit comments