Spaces:
Running
Running
Download styles.css from pakdeveloper/Static-002: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/pakdeveloper/Static-002/resolve/main/styles.css
- Command line
-
hf download hf://spaces/pakdeveloper/Static-002/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/pakdeveloper/Static-002/resolve/main/styles.css
1.04 kB
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #f5f5f5; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| .container { | |
| text-align: center; | |
| width: 80%; | |
| max-width: 600px; | |
| } | |
| #drop-area { | |
| border: 2px dashed #ccc; | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin: 20px auto; | |
| background-color: #fff; | |
| transition: background-color 0.3s ease; | |
| } | |
| #drop-area:hover { | |
| background-color: #f0f0f0; | |
| } | |
| #drop-area p { | |
| margin: 10px 0; | |
| } | |
| #file-input-button { | |
| padding: 10px 20px; | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| #file-input-button:hover { | |
| background-color: #0056b3; | |
| } | |
| .gallery { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); | |
| gap: 10px; | |
| margin-top: 20px; | |
| } | |
| .gallery img { | |
| width: 100%; | |
| height: auto; | |
| border-radius: 10px; | |
| object-fit: cover; | |
| } |