added animation for home page

This commit is contained in:
dong.nguyen committed 2026-10-06 19:29:13 +07:00
1 parent 531c70e13a
commit 1800fa7ceb
15 files changed
+1289 -249

No files matched your search

+25 -31
View File
@@ -200,6 +200,7 @@
.btn-primary:hover {
background: var(--accent-hover);
color: #ffffff;
}
.btn-primary:active {
@@ -415,37 +416,28 @@
display: block;
}
.otw-badge {
.otw-container {
position: absolute;
bottom: 20px;
right: 20px;
background: var(--accent);
color: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
top: 20px;
left: 20px;
z-index: 10;
display: flex;
flex-direction: column;
gap: 6px;
max-width: 200px;
align-items: center;
gap: 8px;
}
.otw-icon {
width: 16px;
height: 16px;
margin-bottom: 2px;
.otw-spring {
width: 40px;
height: 80px;
flex-shrink: 0;
}
.otw-title {
font-size: 18px;
.otw-badge {
font-family: monospace;
font-size: 20px;
font-weight: 700;
line-height: 1.2;
}
.otw-subtitle {
font-size: 14px;
opacity: 0.9;
line-height: 1.3;
color: var(--accent);
padding: 8px 16px;
border-radius: 8px;
white-space: nowrap;
}
@media (max-width: 768px) {
@@ -475,12 +467,14 @@
border-radius: 16px;
backdrop-filter: blur(4px);
}
.otw-container {
top: 16px;
left: 16px;
}
.otw-badge {
font-size: 16px;
}
.otw-badge {
bottom: 16px;
right: 16px;
padding: 16px;
}
}
/* ===== Expertise Grid ===== */