fix(iframe): background was white in tomorrow theme

This commit is contained in:
Tom (plebeius.eth)
2024-07-04 16:39:04 +02:00
parent 89e19adb5c
commit 8d766cc9e3
4 changed files with 14 additions and 2 deletions
+1
View File
@@ -1,5 +1,6 @@
.app { .app {
z-index: 1; z-index: 1;
color-scheme: var(--color-scheme, revert) !important;
} }
.boardLayout { .boardLayout {
@@ -88,6 +88,7 @@
.content iframe { .content iframe {
border: none; border: none;
color-scheme: light;
} }
.fileInfo { .fileInfo {
+2 -2
View File
@@ -30,8 +30,8 @@ hr {
text-transform: capitalize; text-transform: capitalize;
} }
* { :root {
color-scheme: var(--color-scheme, revert); color-scheme: dark;
} }
@media (max-width: 640px) { @media (max-width: 640px) {
+10
View File
@@ -1,4 +1,6 @@
:root .yotsuba { :root .yotsuba {
--color-scheme: light;
/* backlink */ /* backlink */
--post-backlink-text-color: navy; --post-backlink-text-color: navy;
--post-backlink-text-decoration: underline; --post-backlink-text-decoration: underline;
@@ -204,6 +206,8 @@
} }
:root .yotsuba-b { :root .yotsuba-b {
--color-scheme: light;
/* backlink */ /* backlink */
--post-backlink-text-color: #34345C; --post-backlink-text-color: #34345C;
--post-backlink-text-decoration: underline; --post-backlink-text-decoration: underline;
@@ -409,6 +413,8 @@
} }
:root .futaba { :root .futaba {
--color-scheme: light;
/* backlink */ /* backlink */
--post-backlink-text-color: navy; --post-backlink-text-color: navy;
--post-backlink-text-decoration: underline; --post-backlink-text-decoration: underline;
@@ -581,6 +587,8 @@
} }
:root .burichan { :root .burichan {
--color-scheme: light;
/* backlink */ /* backlink */
--post-backlink-text-color: #34345C; --post-backlink-text-color: #34345C;
--post-backlink-text-decoration: underline; --post-backlink-text-decoration: underline;
@@ -976,6 +984,8 @@
} }
:root .photon { :root .photon {
--color-scheme: light;
/* backlink */ /* backlink */
--post-backlink-text-color: #f60; --post-backlink-text-color: #f60;
--post-backlink-text-decoration: underline; --post-backlink-text-decoration: underline;