View Single Post
Old 09-12-2025, 06:27 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,880
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Slevin#7 View Post
@RbnJrg, thanks for this comprehensive discription. Your first suggestion I've already tried - but didn't work. The second approach is kinda crazy shit I'd never come up by my own^^, thus big points for that - although, you can guess, unfortunately doesn't work as well.
Indeed, Apple Books doesn't allow much flexibility in dark mode But do one last try; instead to apply a color do cheat and apply a gradient to the text. Of course, this gradient isn't actually a gradient, but a solid color. Use the following style:

Code:
@media (prefers-color-scheme: dark) {
    a,
    a:link,
    a:visited,
    a:hover,
    a:focus,
    a:active {
        background: linear-gradient(#cc0000, #cc0000) !important; 
        background: -webkit-linear-gradient(#cc0000, #cc0000) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        color: transparent !important;
        -webkit-text-fill-color: transparent !important;
    }
}
As you can see, the gradient is not such because the same color is used as stops.

Last edited by RbnJrg; 09-12-2025 at 06:29 PM.
RbnJrg is offline   Reply With Quote