diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-13 11:57:40 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-13 12:12:52 -0400 |
commit | b34ff7ebe9004d85140cced007c67ca2c9f59396 (patch) | |
tree | eb428fb581358cda6a37430ae91230b9732e6864 /ext/mixed | |
parent | 42d67249c9d912cbb39700f55bb33051f69055c7 (diff) |
Change #yomichan-float to .yomichan-float
Since there can be more than one popup, using a class makes more sense than an ID.
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/css/display.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 7ebad090..7793ddeb 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -30,8 +30,8 @@ * General */ -html.yomichan-float:not([data-yomichan-theme]), -html.yomichan-float:not([data-yomichan-theme]) body { +html:root[data-yomichan-page=float]:not([data-yomichan-theme]), +html:root[data-yomichan-page=float]:not([data-yomichan-theme]) body { background-color: transparent; } @@ -82,8 +82,8 @@ ol, ul { padding-bottom: 10px; } -html:root.yomichan-float .entry, -html:root.yomichan-float .note { +html:root[data-yomichan-page=float] .entry, +html:root[data-yomichan-page=float] .note { padding-left: 10px; padding-right: 10px; } |