Spaces:
Running
Running
Manga reading website. The design is very intentional, with each section's layout tailored to its specific purpose.
6b53737 verified | /* 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)) ; | |
| } | |
| .grid-cols-blog { | |
| grid-template-columns: 1fr ; | |
| } | |
| } | |
| /* 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; | |
| } |