diff --git a/chrome/skin/default/zotero/report/detail.css b/chrome/skin/default/zotero/report/detail.css index d6e65f13cb..364d953f8d 100644 --- a/chrome/skin/default/zotero/report/detail.css +++ b/chrome/skin/default/zotero/report/detail.css @@ -1,5 +1,8 @@ body { - background: white; + color-scheme: light dark; + /* These should be the defaults, but just in case: */ + background: Canvas; + color: CanvasText; } a { diff --git a/chrome/skin/default/zotero/report/detail_print.css b/chrome/skin/default/zotero/report/detail_print.css index 3fcd6a3d4b..abb20b00ba 100644 --- a/chrome/skin/default/zotero/report/detail_print.css +++ b/chrome/skin/default/zotero/report/detail_print.css @@ -2,7 +2,6 @@ body { font: 12pt "Times New Roman", Times, Georgia, serif; margin: 0; width: auto; - color: black; } /* Page Breaks (page-break-inside only recognized by Opera) */ @@ -22,6 +21,6 @@ h2 { } a { - color: #000; + color: inherit; text-decoration: none; } diff --git a/chrome/skin/default/zotero/report/detail_screen.css b/chrome/skin/default/zotero/report/detail_screen.css index 615dd11bdd..76cdc3a4d9 100644 --- a/chrome/skin/default/zotero/report/detail_screen.css +++ b/chrome/skin/default/zotero/report/detail_screen.css @@ -15,7 +15,7 @@ p { line-height: 1.5em; } -a:link, a:visited { +a:any-link { color: #900; } @@ -23,6 +23,16 @@ a:hover, a:active { color: #777; } +@media (prefers-color-scheme: dark) { + a:any-link { + color: #f00; + } + + a:hover, a:active { + color: #999; + } +} + ul.report { font-size: 1.4em;