Spaces:
Runtime error
Runtime error
Download static/styles.css from teohteiktoe/dsai-ft2-2: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/spaces/teohteiktoe/dsai-ft2-2/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/teohteiktoe/dsai-ft2-2/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/teohteiktoe/dsai-ft2-2/resolve/main/static/styles.css
1.74 kB
| body { | |
| font-family: 'Arial', sans-serif; | |
| background-color: #f0f0f0; | |
| margin: 0; | |
| padding: 20px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| .container { | |
| background-color: #ffffff; | |
| padding: 30px; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| max-width: 400px; | |
| width: 100%; | |
| text-align: center; | |
| } | |
| .image-class { | |
| max-width: 100%; /* Ensures the image scales down responsively */ | |
| height: auto; /* Maintains the aspect ratio of the image */ | |
| border-radius: 8px; /* Optional: Adds rounded corners */ | |
| margin-bottom: 20px; /* Adds space below the image */ | |
| display: block; | |
| } | |
| h2 { | |
| font-size: 24px; | |
| margin-bottom: 20px; | |
| color: #333; | |
| } | |
| form { | |
| margin: 15px 0; | |
| } | |
| input[type="submit"] { | |
| background-color: #007bff; | |
| color: white; | |
| padding: 12px 24px; | |
| border: none; | |
| border-radius: 5px; | |
| font-size: 18px; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease; | |
| width: 100%; | |
| max-width: 300px; | |
| } | |
| input, button { | |
| width: 100%; | |
| padding: 10px; | |
| margin-top: 10px; | |
| border-radius: 4px; | |
| border: 1px solid #ddd; | |
| font-size: 16px; | |
| } | |
| button { | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #0056b3; | |
| } | |
| p { | |
| margin-top: 20px; | |
| font-size: 18px; | |
| color: #007bff; | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 20px; | |
| } | |
| h2 { | |
| font-size: 20px; | |
| } | |
| input, button { | |
| font-size: 14px; | |
| } | |
| p { | |
| font-size: 16px; | |
| } | |
| } | |