Skip to content

Commit

Permalink
resolves asciidoctor#366 fix visited color for links in dark mode in …
Browse files Browse the repository at this point in the history
…Apple Books
  • Loading branch information
hepabolu authored and slonopotamus committed Oct 18, 2020
1 parent ffe8356 commit 8a2103c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/styles/epub3.css
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ body a:visited {
-webkit-text-fill-color: #333332;
}

/* change link color for visited in iBooks Night mode */
:root[__ibooks_internal_theme*="Night"] body a:visited {
color: initial;
/* hack for font color in iBooks */
-webkit-text-fill-color: initial;
}

code.literal {
/* don't let it affect line spacing */
/* disable since M+ 1mn won't interrupt line height */
Expand Down

0 comments on commit 8a2103c

Please sign in to comment.