From 02d463f43a8ab261867b2549cffb4b538787dcf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 6 Oct 2021 20:35:57 +0200 Subject: [PATCH] theme: better contrast for colored elements in print #93 --- static/css/print.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/static/css/print.css b/static/css/print.css index 4643db9164..52707c7fd2 100644 --- a/static/css/print.css +++ b/static/css/print.css @@ -36,6 +36,18 @@ pre { .copy-to-clipboard { display: none; } + +#body h1, #body h2, #body h3, #body h4, #body h5, #body h6, +#body th, #body td, +#body code, #body strong, #body b, +#body li, #body dd, #body dt, +#body p, +#body .anchor, +#body a{ + /* better contrast for colored elements */ + color: black; +} + .progress { /* we don't need this while printing */ display: none !important;