Skip to content

Commit 3ecd1dd

Browse files
Update style
1 parent deb98ea commit 3ecd1dd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

dist/waifu.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@
2929
#waifu {
3030
bottom: -500px;
3131
left: 0;
32-
line-height: 0;
33-
margin-bottom: -10px;
3432
position: fixed;
35-
transform: translateY(10px);
33+
transform: translateY(25px);
3634
transition: transform .3s ease-in-out, bottom 3s ease-in-out;
3735
z-index: 1;
3836
}
@@ -46,11 +44,11 @@
4644
}
4745

4846
#waifu:hover {
49-
transform: translateY(5px);
47+
transform: translateY(20px);
5048
}
5149

5250
#waifu-tips {
53-
animation: shake 50s ease-in-out 5s infinite;
51+
animation: waifu-shake 50s ease-in-out 5s infinite;
5452
background-color: rgba(236, 217, 188, .5);
5553
border: 1px solid rgba(224, 186, 140, .62);
5654
border-radius: 12px;
@@ -106,8 +104,9 @@
106104
}
107105

108106
#waifu-tool svg {
109-
fill: #7b8c9d;
110107
cursor: pointer;
108+
display: block;
109+
fill: #7b8c9d;
111110
height: 25px;
112111
transition: fill .3s;
113112
}
@@ -116,7 +115,7 @@
116115
fill: #0684bd; /* #34495e */
117116
}
118117

119-
@keyframes shake {
118+
@keyframes waifu-shake {
120119
2% {
121120
transform: translate(.5px, -1.5px) rotate(-.5deg);
122121
}

0 commit comments

Comments
 (0)