Download style.css from okpala/amberlist: direct link, hf CLI and curl.
- Browser
- Download file 5.83 kB
-
https://huggingface.co/spaces/okpala/amberlist/resolve/main/style.css
- Command line
-
hf download hf://spaces/okpala/amberlist/style.css
-
curl -L -o style.css https://huggingface.co/spaces/okpala/amberlist/resolve/main/style.css
5.83 kB
| /* Custom Scrollbar Hide */ | |
| .scrollbar-hide { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| .scrollbar-hide::-webkit-scrollbar { | |
| display: none; | |
| } | |
| /* Custom Scrollbar for visible areas */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f5f9; | |
| border-radius: 4px; | |
| } | |
| .dark ::-webkit-scrollbar-track { | |
| background: #1e293b; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #cbd5e1; | |
| border-radius: 4px; | |
| } | |
| .dark ::-webkit-scrollbar-thumb { | |
| background: #475569; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #94a3b8; | |
| } | |
| /* Card Snap Points */ | |
| .snap-x { | |
| scroll-snap-type: x mandatory; | |
| } | |
| .snap-start { | |
| scroll-snap-align: start; | |
| } | |
| /* Smooth Transitions */ | |
| .transition-all { | |
| transition-property: all; | |
| transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* Loading Skeleton Animation */ | |
| @keyframes shimmer { | |
| 0% { | |
| background-position: -200% 0; | |
| } | |
| 100% { | |
| background-position: 200% 0; | |
| } | |
| } | |
| .skeleton { | |
| background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%); | |
| background-size: 200% 100%; | |
| animation: shimmer 1.5s infinite; | |
| } | |
| .dark .skeleton { | |
| background: linear-gradient(90deg, #334155 25%, #475569 50%, #334155 75%); | |
| background-size: 200% 100%; | |
| } | |
| /* Image Hover Zoom */ | |
| .img-zoom-container { | |
| overflow: hidden; | |
| } | |
| .img-zoom { | |
| transition: transform 0.5s ease; | |
| } | |
| .img-zoom-container:hover .img-zoom { | |
| transform: scale(1.08); | |
| } | |
| /* Badge Pulse Animation */ | |
| @keyframes pulse-soft { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.8; | |
| } | |
| } | |
| .badge-pulse { | |
| animation: pulse-soft 2s ease-in-out infinite; | |
| } | |
| /* Gradient Text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #f97316 0%, #facc15 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Glass Effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| } | |
| .dark .glass { | |
| background: rgba(15, 23, 42, 0.7); | |
| } | |
| /* Card Shadow on Hover */ | |
| .card-hover { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-8px); | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); | |
| } | |
| /* Custom Radio Button Styling */ | |
| .custom-radio { | |
| appearance: none; | |
| width: 1.25rem; | |
| height: 1.25rem; | |
| border: 2px solid #cbd5e1; | |
| border-radius: 50%; | |
| cursor: pointer; | |
| position: relative; | |
| transition: all 0.2s; | |
| } | |
| .custom-radio:checked { | |
| border-color: #f97316; | |
| background: #f97316; | |
| } | |
| .custom-radio:checked::after { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 0.5rem; | |
| height: 0.5rem; | |
| background: white; | |
| border-radius: 50%; | |
| } | |
| /* Dark mode custom radio */ | |
| .dark .custom-radio { | |
| border-color: #475569; | |
| } | |
| /* Toast Notification */ | |
| .toast { | |
| position: fixed; | |
| bottom: 2rem; | |
| right: 2rem; | |
| padding: 1rem 1.5rem; | |
| background: white; | |
| border-radius: 1rem; | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| transform: translateY(100px); | |
| opacity: 0; | |
| transition: all 0.3s ease; | |
| z-index: 100; | |
| } | |
| .dark .toast { | |
| background: #1e293b; | |
| } | |
| .toast.show { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| /* Safe Area for Mobile Notch */ | |
| .safe-area-pb { | |
| padding-bottom: env(safe-area-inset-bottom); | |
| } | |
| .safe-area-pt { | |
| padding-top: env(safe-area-inset-top); | |
| } | |
| /* Mobile App Specific Styles */ | |
| @media (max-width: 768px) { | |
| body { | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| .snap-x { | |
| -webkit-overflow-scrolling: touch; | |
| scroll-snap-type: x mandatory; | |
| } | |
| /* Hide scrollbar but keep functionality on mobile */ | |
| .scrollbar-hide-mobile { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| .scrollbar-hide-mobile::-webkit-scrollbar { | |
| display: none; | |
| } | |
| } | |
| /* PWA Install Prompt Animation */ | |
| @keyframes slideUp { | |
| from { | |
| transform: translateY(100%); | |
| } | |
| to { | |
| transform: translateY(0); | |
| } | |
| } | |
| #installBanner:not(.hidden) { | |
| animation: slideUp 0.3s ease-out; | |
| } | |
| /* Touch feedback for mobile */ | |
| @media (hover: none) { | |
| .card-hover:active { | |
| transform: scale(0.98); | |
| } | |
| button, a { | |
| -webkit-tap-highlight-color: rgba(249, 115, 22, 0.2); | |
| } | |
| } | |
| /* Mobile bottom bar for navigation (optional future enhancement) */ | |
| .mobile-bottom-nav { | |
| position: fixed; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(20px); | |
| border-top: 1px solid rgba(226, 232, 240, 0.8); | |
| z-index: 1000; | |
| padding-bottom: env(safe-area-inset-bottom); | |
| } | |
| .dark .mobile-bottom-nav { | |
| background: rgba(15, 23, 42, 0.95); | |
| border-top-color: rgba(51, 65, 85, 0.8); | |
| } | |
| /* Responsive text improvements */ | |
| @media (max-width: 640px) { | |
| .line-clamp-2 { | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| } | |
| /* Star Rating */ | |
| .star-rating { | |
| display: inline-flex; | |
| gap: 0.125rem; | |
| } | |
| .star { | |
| width: 1rem; | |
| height: 1rem; | |
| fill: currentColor; | |
| } | |
| .star.filled { | |
| color: #facc15; | |
| } | |
| .star.empty { | |
| color: #e2e8f0; | |
| } | |
| .dark .star.empty { | |
| color: #475569; | |
| } | |
| /* Responsive Container */ | |
| @media (max-width: 640px) { | |
| .container-mobile { | |
| padding-left: 1rem; | |
| padding-right: 1rem; | |
| } | |
| } | |
| /* Hide scrollbar but keep functionality */ | |
| .hide-scrollbar { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| .hide-scrollbar::-webkit-scrollbar { | |
| display: none; | |
| } |