Download style.css from Chemically-motivated/PythonCodeAssistantProject: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/spaces/Chemically-motivated/PythonCodeAssistantProject/resolve/f7e22f026cff8c5e4e755ef4f78de41dcf357968/style.css
- Command line
-
hf download hf://spaces/Chemically-motivated/PythonCodeAssistantProject@f7e22f026cff8c5e4e755ef4f78de41dcf357968/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Chemically-motivated/PythonCodeAssistantProject/resolve/f7e22f026cff8c5e4e755ef4f78de41dcf357968/style.css
1.96 kB
| * { | |
| box-sizing: border-box; | |
| padding: 0; | |
| margin: 0; | |
| font-family: sans-serif; | |
| } | |
| html, | |
| body { | |
| height: 100%; | |
| } | |
| body { | |
| padding: 32px; | |
| background-color: #f5f5f5; /* Light background for contrast */ | |
| } | |
| body, | |
| #container { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| #container { | |
| position: relative; | |
| gap: 0.4rem; | |
| width: 640px; | |
| height: 640px; | |
| max-width: 100%; | |
| max-height: 100%; | |
| border: 2px dashed #3572A5; /* Python blue */ | |
| border-radius: 0.75rem; | |
| overflow: hidden; | |
| cursor: pointer; | |
| margin: 1rem; | |
| background-color: #FFD43B; /* Python yellow */ | |
| background-size: 100% 100%; | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| font-size: 18px; | |
| color: #282c34; /* Dark text color for readability */ | |
| } | |
| textarea { | |
| width: 95%; | |
| height: 200px; | |
| padding: 10px; | |
| margin: 10px 0; | |
| border: 1px solid #3572A5; | |
| border-radius: 5px; | |
| background-color: #FFFFFF; | |
| font-family: 'Courier New', Courier, monospace; | |
| font-size: 16px; | |
| } | |
| button { | |
| padding: 10px 20px; | |
| background-color: #3572A5; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| } | |
| button:hover { | |
| background-color: #285e8e; | |
| } | |
| #upload { | |
| display: none; | |
| } | |
| svg { | |
| pointer-events: none; | |
| } | |
| #example { | |
| font-size: 14px; | |
| text-decoration: underline; | |
| color: #3572A5; | |
| cursor: pointer; | |
| } | |
| #example:hover { | |
| color: #2563EB; | |
| } | |
| .bounding-box { | |
| position: absolute; | |
| box-sizing: border-box; | |
| border: solid 2px; | |
| } | |
| .bounding-box-label { | |
| color: white; | |
| position: absolute; | |
| font-size: 12px; | |
| margin: -16px 0 0 -2px; | |
| padding: 1px; | |
| } | |
| #results { | |
| width: 95%; | |
| max-width: 640px; | |
| background-color: #f0f0f0; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| padding: 10px; | |
| margin-top: 10px; | |
| overflow: auto; | |
| } | |