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
4 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -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
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
+4
View File
@@ -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 */
}
+8
View File
@@ -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 */
}
}
+4
View File
@@ -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 */
}