aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/css
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2019-04-28 11:47:04 -0700
committerAlex Yatskov <alex@foosoft.net>2019-04-28 11:47:04 -0700
commit9b00daed07db8d70485f2fee22bb1a9b118aa186 (patch)
treec8c7e9f90d45be017e881abacdd2c328674bb506 /ext/fg/css
parent162f3c3836f83660cbb7f01cc724367216eab3e2 (diff)
parentc7f8d0874a758924802179a44757153bbf18bf7f (diff)
Merge branch 'master' of https://github.com/FooSoft/yomichan
Diffstat (limited to 'ext/fg/css')
-rw-r--r--ext/fg/css/client.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css
index b5b1f6bd..a9b8e025 100644
--- a/ext/fg/css/client.css
+++ b/ext/fg/css/client.css
@@ -27,3 +27,25 @@ iframe#yomichan-float {
visibility: hidden;
z-index: 2147483647;
}
+
+iframe#yomichan-float.yomichan-float-full-width {
+ border-left: none;
+ border-right: none;
+ left: 0 !important;
+ right: 0 !important;
+ width: 100% !important;
+ box-sizing: border-box;
+ resize: none;
+}
+
+iframe#yomichan-float.yomichan-float-full-width:not(.yomichan-float-above) {
+ border-bottom: none;
+ top: auto !important;
+ bottom: 0 !important;
+}
+
+iframe#yomichan-float.yomichan-float-full-width.yomichan-float-above {
+ border-top: none;
+ top: 0 !important;
+ bottom: auto !important;
+}