Spaces:
Running
Running
File size: 2,447 Bytes
6b53737 0805422 6b53737 0805422 6b53737 0805422 6b53737 0805422 6b53737 0805422 6b53737 | 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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | /* MangaVerse Dark - Shared Styles */
/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #0b0c0e;
}
::-webkit-scrollbar-thumb {
background: #374151;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #4b5563;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Selection color */
::selection {
background: #4b5563;
color: #f3f4f6;
}
/* Card hover effects */
.manga-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
}
.manga-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* Gradient overlay for text readability */
.gradient-overlay {
background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}
/* Carousel smooth scroll */
.carousel-container {
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
}
.carousel-container::-webkit-scrollbar {
display: none;
}
/* Pulse animation for new items */
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 0 0 rgba(107, 114, 128, 0.4);
}
50% {
box-shadow: 0 0 0 8px rgba(107, 114, 128, 0);
}
}
.pulse-new {
animation: pulse-glow 2s infinite;
}
/* Loading skeleton */
.skeleton {
background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Mobile optimizations */
@media (max-width: 768px) {
.grid-cols-trending {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
}
.grid-cols-blog {
grid-template-columns: 1fr !important;
}
}
/* Typography enhancements */
h1, h2, h3 {
letter-spacing: -0.025em;
}
/* Button micro-interactions */
button, a {
transition: all 0.2s ease;
}
/* Focus styles */
button:focus-visible, a:focus-visible {
outline: 2px solid #6b7280;
outline-offset: 2px;
}
/* Custom utility for line clamp */
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
} |