remove highlight behind some codes obscuring them

This commit is contained in:
Ed Silkworth 2023-06-04 23:44:03 -07:00
parent 8a96941330
commit 1ba0c73d44
No known key found for this signature in database
GPG Key ID: 26F260F04191F431
4 changed files with 18 additions and 1 deletions

View File

@ -32,3 +32,4 @@ Feb 6, 2023 · removed background color of alternating table rows, since distrac
Feb 28, 2023 · added "auto" to THEMES list 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 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 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

View File

@ -278,3 +278,7 @@ details {
.markup table tr:nth-child(2n) { .markup table tr:nth-child(2n) {
background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ 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 */
}

View File

@ -99,6 +99,10 @@
.markup table tr:nth-child(2n) { .markup table tr:nth-child(2n) {
background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ 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) { @media (prefers-color-scheme: dark) {
@ -382,4 +386,8 @@
.markup table tr:nth-child(2n) { .markup table tr:nth-child(2n) {
background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ 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 */
}
} }

View File

@ -96,3 +96,7 @@ details {
.markup table tr:nth-child(2n) { .markup table tr:nth-child(2n) {
background-color: unset !important; /* remove background color of alternating table rows, since distracting if such rows contain codes */ 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 */
}