Download style.css from zetarmany/Force7: direct link, hf CLI and curl.
- Browser
- Download file 3.46 kB
-
https://huggingface.co/spaces/zetarmany/Force7/resolve/main/style.css
- Command line
-
hf download hf://spaces/zetarmany/Force7/style.css
-
curl -L -o style.css https://huggingface.co/spaces/zetarmany/Force7/resolve/main/style.css
3.46 kB
| /* static/css/style.css */ | |
| :root { | |
| --primary-color: #2c3e50; | |
| --secondary-color: #3498db; | |
| --accent-color: #e74c3c; | |
| --dark-bg: #1a1a1a; | |
| } | |
| /* Loading Screen */ | |
| .loading-screen { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(135deg, var(--primary-color), #000); | |
| z-index: 9999; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| transition: opacity 0.5s ease, visibility 0.5s ease; | |
| } | |
| .loading-screen.hidden { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| .loading-content { | |
| text-align: center; | |
| color: white; | |
| max-width: 600px; | |
| padding: 20px; | |
| } | |
| .loading-slideshow { | |
| width: 100%; | |
| height: 300px; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.5); | |
| margin-bottom: 20px; | |
| background-size: cover; | |
| background-position: center; | |
| transition: background-image 1s ease; | |
| } | |
| /* Cards */ | |
| .photo-card { | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| border: none; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| box-shadow: 0 5px 15px rgba(0,0,0,0.1); | |
| } | |
| .photo-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 8px 25px rgba(0,0,0,0.2); | |
| } | |
| .photo-card img { | |
| height: 250px; | |
| object-fit: cover; | |
| } | |
| .trending-card { | |
| border: 2px solid gold; | |
| position: relative; | |
| } | |
| .trending-badge { | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| background: linear-gradient(45deg, gold, #ffd700); | |
| color: black; | |
| padding: 5px 15px; | |
| border-radius: 20px; | |
| font-weight: bold; | |
| box-shadow: 0 2px 10px rgba(0,0,0,0.3); | |
| } | |
| /* Admin Card */ | |
| .admin-card { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .photo-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0,0,0,0.5); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| opacity: 0; | |
| transition: opacity 0.3s ease; | |
| } | |
| .admin-card:hover .photo-overlay { | |
| opacity: 1; | |
| } | |
| /* Login Card */ | |
| .login-card { | |
| border: none; | |
| border-radius: 15px; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.2); | |
| } | |
| .login-card .card-header { | |
| border-radius: 15px 15px 0 0; | |
| } | |
| /* Buttons */ | |
| .btn-like { | |
| transition: transform 0.2s ease; | |
| } | |
| .btn-like:hover { | |
| transform: scale(1.1); | |
| } | |
| .btn-like.active { | |
| color: var(--accent-color); | |
| } | |
| /* Animations */ | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| .trending-card { | |
| animation: pulse 2s infinite; | |
| } | |
| /* Responsive */ | |
| @media (max-width: 768px) { | |
| .photo-card img { | |
| height: 200px; | |
| } | |
| .loading-slideshow { | |
| height: 200px; | |
| } | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--primary-color); | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--secondary-color); | |
| } | |
| /* Notification */ | |
| .notification { | |
| position: fixed; | |
| top: 20px; | |
| right: 20px; | |
| padding: 15px 25px; | |
| background: white; | |
| border-radius: 10px; | |
| box-shadow: 0 5px 20px rgba(0,0,0,0.2); | |
| z-index: 10000; | |
| animation: slideIn 0.3s ease; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } |