From 03c80e06694ea318311e72f2c8bc5a904c05041d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 2 Dec 2022 15:47:47 +0100 Subject: [PATCH] theme: display tables with document background color for better contrast #411 if displayed in notice boxes --- static/css/ie.css | 4 ++++ static/css/variant.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/static/css/ie.css b/static/css/ie.css index 2440aa0ac7..c114041111 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -293,6 +293,10 @@ color: #000000; /* var(--CODE-BLOCK-color) */ } + table { + background-color: #ffffff; /* var(--INTERNAL-MAIN-BG-color) */ + } + div.featherlight .featherlight-content{ background-color: #ffffff /* var(--INTERNAL-MAIN-BG-color); */ } diff --git a/static/css/variant.css b/static/css/variant.css index 36758e3c0d..3ac6ae8b59 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -307,6 +307,10 @@ pre { color: var(--INTERNAL-CODE-BLOCK-color); } +table { + background-color: var(--INTERNAL-MAIN-BG-color); +} + div.featherlight .featherlight-content{ background-color: var(--INTERNAL-MAIN-BG-color); }