aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 18:10:01 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 19:00:24 -0400
commit57db18c31b117591982795c930cc9f07efc28641 (patch)
tree5c28a1abba2693b22b1f3f7932f69cabcbaa453c
parentb086fca69fdbc74a44d31a06203b302493656151 (diff)
Leave default stylesheet enabled by default
-rw-r--r--ext/bg/search.html2
-rw-r--r--ext/fg/float.html2
-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
5 files changed, 6 insertions, 8 deletions
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 12b62797..6930830a 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="/mixed/css/display.css">
- <link rel="stylesheet alternate" type="text/css" href="/mixed/css/display-default.css" data-yomichan-theme-name="default">
+ <link rel="stylesheet" type="text/css" href="/mixed/css/display-default.css" data-yomichan-theme-name="default">
<link rel="stylesheet alternate" type="text/css" href="/mixed/css/display-dark.css" data-yomichan-theme-name="dark">
</head>
<body>
diff --git a/ext/fg/float.html b/ext/fg/float.html
index 01bc4250..2504f448 100644
--- a/ext/fg/float.html
+++ b/ext/fg/float.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title></title>
<link rel="stylesheet" href="/mixed/css/display.css">
- <link rel="stylesheet alternate" type="text/css" href="/mixed/css/display-default.css" data-yomichan-theme-name="default">
+ <link rel="stylesheet" type="text/css" href="/mixed/css/display-default.css" data-yomichan-theme-name="default">
<link rel="stylesheet alternate" type="text/css" href="/mixed/css/display-dark.css" data-yomichan-theme-name="dark">
</head>
<body>
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;
}