Spaces:
Running
Running
File size: 1,209 Bytes
8e8aafd 62e3848 8e8aafd 62e3848 8e8aafd 62e3848 8e8aafd 62e3848 8e8aafd 62e3848 8e8aafd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /* Custom font classes */
.font-fredoka {
font-family: 'Fredoka One', cursive;
}
/* Animation classes */
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Book search and filter styles */
.filter-btn {
padding: 0.5rem 1rem;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 500;
background-color: #e9d5ff;
color: #6b21a8;
transition: all 0.2s;
}
.filter-btn:hover {
background-color: #d8b4fe;
}
.filter-btn.active {
background-color: #7e22ce;
color: white;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.animate-spin {
animation: spin 1s linear infinite;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #8b5cf6;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #7c3aed;
} |