Download static/styles.css from reciouiikram/Lung_Disease_Classification: direct link, hf CLI and curl.
- Browser
- Download file 3.12 kB
-
https://huggingface.co/spaces/reciouiikram/Lung_Disease_Classification/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/reciouiikram/Lung_Disease_Classification/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/reciouiikram/Lung_Disease_Classification/resolve/main/static/styles.css
3.12 kB
| /* Reset + Base */ | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| overflow-x: hidden; | |
| } | |
| /* Background with blur and dim */ | |
| .background { | |
| position: fixed; | |
| top: 0; left: 0; | |
| width: 100%; height: 100%; | |
| background: url('../static/background.jpg') no-repeat center center fixed; | |
| background-size: cover; | |
| filter: blur(9px) brightness(0.6); | |
| z-index: -1; | |
| } | |
| /* Overlay (glass effect) */ | |
| .overlay { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: flex-start; | |
| min-height: 100vh; | |
| padding: 40px 20px; | |
| background: rgba(255,255,255,0.05); | |
| backdrop-filter: blur(12px); | |
| color: #fff; | |
| text-align: center; | |
| } | |
| /* Upload box */ | |
| .upload-box { | |
| background: rgba(255,255,255,0.15); | |
| border-radius: 25px; | |
| padding: 30px; | |
| width: 350px; | |
| max-width: 90%; | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.3); | |
| margin: 30px 0; | |
| animation: fadeIn 1s ease-in-out; | |
| } | |
| .upload-box input[type="file"] { | |
| margin-bottom: 20px; | |
| border-radius: 10px; | |
| padding: 8px; | |
| width: 100%; | |
| border: none; | |
| outline: none; | |
| background: rgba(255,255,255,0.8); | |
| } | |
| .upload-box button { | |
| width: 100%; | |
| padding: 12px; | |
| border: none; | |
| border-radius: 12px; | |
| background: #ff7f50; | |
| color: white; | |
| font-weight: bold; | |
| cursor: pointer; | |
| transition: background 0.3s, transform 0.2s; | |
| } | |
| .upload-box button:hover { | |
| background: #ff5722; | |
| transform: scale(1.05); | |
| } | |
| /* Prediction Result Image */ | |
| .predicted-image { | |
| max-width: 80%; | |
| border-radius: 15px; | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.4); | |
| margin: 20px 0; | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| } | |
| .predicted-image:hover { | |
| transform: scale(1.03); | |
| box-shadow: 0 15px 35px rgba(0,0,0,0.5); | |
| } | |
| /* Buttons */ | |
| .btn { | |
| display: inline-block; | |
| margin: 10px; | |
| padding: 12px 25px; | |
| background-color: #1e90ff; | |
| color: white; | |
| border-radius: 12px; | |
| text-decoration: none; | |
| font-weight: bold; | |
| transition: background-color 0.3s, transform 0.2s; | |
| } | |
| .btn:hover { | |
| background-color: #1c86ee; | |
| transform: scale(1.05); | |
| } | |
| .btn.secondary { | |
| background-color: #6c757d; | |
| } | |
| .btn.secondary:hover { | |
| background-color: #495057; | |
| } | |
| /* Headings & text */ | |
| h1 { | |
| font-size: 2.5em; | |
| margin-bottom: 15px; | |
| } | |
| p { | |
| font-size: 1.2em; | |
| } | |
| /* Footer */ | |
| .footer { | |
| text-align: center; | |
| padding: 15px 0; | |
| font-size: 14px; | |
| color: #fff; | |
| position: fixed; | |
| bottom: 0; | |
| width: 100%; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| } | |
| /* Fade-in effect */ | |
| .fade-in { | |
| animation: fadeIn 1s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from {opacity: 0;} | |
| to {opacity: 1;} | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 600px) { | |
| h1 { font-size: 1.8em; } | |
| p { font-size: 1em; } | |
| .upload-box { width: 90%; padding: 20px; } | |
| .predicted-image { max-width: 95%; } | |
| } | |