mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
93 lines
No EOL
1.8 KiB
CSS
93 lines
No EOL
1.8 KiB
CSS
header {
|
|
margin-bottom: 2rem;
|
|
text-align: center;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 5rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
line-height: 1.1;
|
|
background: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
|
|
background-size: 10px 10px;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: var(--text);
|
|
text-shadow:
|
|
-2px -2px 0 rgba(0,0,0,0.5),
|
|
2px -2px 0 rgba(0,0,0,0.5),
|
|
-2px 2px 0 rgba(0,0,0,0.5),
|
|
2px 2px 0 rgba(0,0,0,0.5),
|
|
3px 3px var(--fg-color);
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--text-light);
|
|
font-size: 1.5rem;
|
|
opacity: 0.9;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.cup {
|
|
width: 40px;
|
|
height: 50px;
|
|
border: 3px solid var(--text);
|
|
border-radius: 0 0 20px 20px;
|
|
position: relative;
|
|
animation: float 3s ease-in-out 2;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.handle {
|
|
width: 15px;
|
|
height: 25px;
|
|
border: 3px solid var(--text);
|
|
border-radius: 0 10px 10px 0;
|
|
position: absolute;
|
|
right: -15px;
|
|
top: 10px;
|
|
}
|
|
|
|
.steam {
|
|
position: absolute;
|
|
top: -15px;
|
|
left: 5px;
|
|
right: 5px;
|
|
height: 15px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.steam::before,
|
|
.steam::after {
|
|
content: "";
|
|
width: 10px;
|
|
height: 100%;
|
|
background: rgba(255,255,255,0.7);
|
|
border-radius: 10px;
|
|
animation: steam 2s 2;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
@keyframes steam {
|
|
to {
|
|
transform: translateY(-10px) scale(1.5);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes float {
|
|
50% {
|
|
transform: translateY(-5px);
|
|
}
|
|
} |