aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/css/display-dark.css3
-rw-r--r--ext/mixed/css/display-default.css3
-rw-r--r--ext/mixed/css/display.css4
3 files changed, 4 insertions, 6 deletions
diff --git a/ext/mixed/css/display-dark.css b/ext/mixed/css/display-dark.css
index 75e42565..34a0ccd1 100644
--- a/ext/mixed/css/display-dark.css
+++ b/ext/mixed/css/display-dark.css
@@ -17,8 +17,7 @@
*/
-body,
-html.yomichan-float body { background-color: #1e1e1e; color: #d4d4d4; }
+body { background-color: #1e1e1e; color: #d4d4d4; }
hr { border-top-color: #2f2f2f; }
diff --git a/ext/mixed/css/display-default.css b/ext/mixed/css/display-default.css
index ce1008a8..176c5387 100644
--- a/ext/mixed/css/display-default.css
+++ b/ext/mixed/css/display-default.css
@@ -17,8 +17,7 @@
*/
-body,
-html.yomichan-float body { background-color: #ffffff; color: #333333; }
+body { background-color: #ffffff; color: #333333; }
hr { border-top-color: #eeeeee; }
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index d899e9fc..7ebad090 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -30,8 +30,8 @@
* General
*/
-html.yomichan-float,
-html.yomichan-float body {
+html.yomichan-float:not([data-yomichan-theme]),
+html.yomichan-float:not([data-yomichan-theme]) body {
background-color: transparent;
}