View Single Post
Old 09-20-2025, 03:08 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,746
Karma: 178402706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Have you tried wrapping your extra CSS for KF8/azw3 in @media amzn-kf8 { .... } selectors? The CSS will only apply to KF8 format ebooks, anything else will just skip it. For example:

Code:
@media amzn-kf8 {
   html {  
     margin-right: -47px;
     margin-left: -47px;
     break-inside: avoid !important;
   }
}

Last edited by DNSB; 09-20-2025 at 03:15 PM. Reason: Added sample code
DNSB is offline   Reply With Quote