From 1ba0c73d44db481287f024a85e479325cbb18e52 Mon Sep 17 00:00:00 2001 From: Ed Silkworth Date: Sun, 4 Jun 2023 23:44:03 -0700 Subject: [PATCH] remove highlight behind some codes obscuring them --- CHANGELOG | 3 ++- public/css/theme-arc-red.css | 4 ++++ public/css/theme-auto-red.css | 8 ++++++++ public/css/theme-red.css | 4 ++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 153fc1a..b6c0443 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -31,4 +31,5 @@ Jan 15, 2023 · removed little color preview squares Feb 6, 2023 · removed background color of alternating table rows, since distracting if such rows contain codes Feb 28, 2023 · added "auto" to THEMES list Mar 1, 2023 · added dark theme and auto theme to mitigate current and any future issues with Dark Reader -May 3, 2023 · `THEME_COLOR_META_TAG = none` no longer required, as of Gitea 1.19.2 \ No newline at end of file +May 3, 2023 · `THEME_COLOR_META_TAG = none` no longer required, as of Gitea 1.19.2 +Jun 4, 2023 · remove highlight behind some codes that obscured them \ No newline at end of file diff --git a/public/css/theme-arc-red.css b/public/css/theme-arc-red.css index 54d5da7..f5ac7a4 100644 --- a/public/css/theme-arc-red.css +++ b/public/css/theme-arc-red.css @@ -277,4 +277,8 @@ details { .markup table tr:nth-child(2n) { background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ +} + +.added-code { + background: unset !important; /* remove highlight behind some codes */ } \ No newline at end of file diff --git a/public/css/theme-auto-red.css b/public/css/theme-auto-red.css index dad3edf..088ef7c 100644 --- a/public/css/theme-auto-red.css +++ b/public/css/theme-auto-red.css @@ -99,6 +99,10 @@ .markup table tr:nth-child(2n) { background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ } + + .added-code { + background: unset !important; /* remove highlight behind some codes */ + } } @media (prefers-color-scheme: dark) { @@ -382,4 +386,8 @@ .markup table tr:nth-child(2n) { background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ } + + .added-code { + background: unset !important; /* remove highlight behind some codes */ + } } \ No newline at end of file diff --git a/public/css/theme-red.css b/public/css/theme-red.css index 3ce4ce5..eefb9d6 100644 --- a/public/css/theme-red.css +++ b/public/css/theme-red.css @@ -95,4 +95,8 @@ details { .markup table tr:nth-child(2n) { background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ +} + +.added-code { + background: unset !important; /* remove highlight behind some codes */ } \ No newline at end of file