misc: code clean up

This commit is contained in:
KOWX712
2025-02-24 03:06:14 +08:00
parent 30c70d01d6
commit 37d78b790e
5 changed files with 21 additions and 32 deletions

View File

@@ -12,26 +12,22 @@ body {
display: flex;
justify-content: center;
position: fixed;
width: 100%;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
transition: transform 0.4s ease;
z-index: 2;
}
.floating-btn {
flex-shrink: 0;
background-color: #007bff;
border: none;
box-shadow: 0 4px 8px #0003;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
display: none;
bottom: 0;
padding: 10px 20px;
font-size: 22px;
font-weight: bold;
transition: transform 0.4s ease;
border-radius: 50px 50px;
user-select: none;
}