Update waifu.css

This commit is contained in:
George-Guo-tech 2021-03-24 17:13:30 +08:00 committed by GitHub
parent 1a95807c82
commit 03ebf3a75f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,26 +5,26 @@
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
font-size: 12px; font-size: 12px;
left: 0; right: 0;
margin-left: -100px; margin-right: -100px;
padding: 5px 2px 5px 5px; padding: 5px 2px 5px 5px;
position: fixed; position: fixed;
transition: margin-left 1s; transition: margin-right 1s;
width: 60px; width: 60px;
writing-mode: vertical-rl; writing-mode: vertical-rl;
} }
#waifu-toggle.waifu-toggle-active { #waifu-toggle.waifu-toggle-active {
margin-left: -50px; margin-right: -50px;
} }
#waifu-toggle.waifu-toggle-active:hover { #waifu-toggle.waifu-toggle-active:hover {
margin-left: -30px; margin-right: -30px;
} }
#waifu { #waifu {
bottom: -1000px; bottom: -1000px;
left: 0; right: 0;
line-height: 0; line-height: 0;
margin-bottom: -10px; margin-bottom: -10px;
position: fixed; position: fixed;