Download static/styles.css from Fafnirk/DemoSpace: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/spaces/Fafnirk/DemoSpace/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/Fafnirk/DemoSpace/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Fafnirk/DemoSpace/resolve/main/static/styles.css
1.24 kB
| /* Base */ | |
| body { | |
| background-color: #121212; | |
| color: #e0e0e0; | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* Container */ | |
| .container { | |
| max-width: 800px; | |
| margin: auto; | |
| padding: 20px; | |
| } | |
| /* Headings */ | |
| h2 { | |
| color: #ffffff; | |
| } | |
| /* Inputs */ | |
| input, textarea { | |
| background-color: #1e1e1e; | |
| color: #ffffff; | |
| border: 1px solid #444; | |
| padding: 8px; | |
| border-radius: 4px; | |
| } | |
| textarea { | |
| width: 100%; | |
| height: 120px; | |
| resize: vertical; | |
| } | |
| /* Chat area */ | |
| .chat { | |
| background-color: #1a1a1a; | |
| border: 1px solid #333; | |
| padding: 10px; | |
| height: 400px; | |
| overflow-y: auto; | |
| margin-bottom: 10px; | |
| border-radius: 6px; | |
| } | |
| /* Messages */ | |
| .user { | |
| background-color: #2a3b5c; | |
| color: #e0f0ff; | |
| padding: 8px 12px; | |
| border-radius: 6px; | |
| margin: 6px 0; | |
| text-align: right; | |
| } | |
| .assistant { | |
| background-color: #2d2d2d; | |
| color: #ffffff; | |
| padding: 8px 12px; | |
| border-radius: 6px; | |
| margin: 6px 0; | |
| text-align: left; | |
| } | |
| .system { | |
| color: #bbb; | |
| font-style: italic; | |
| margin: 6px 0; | |
| text-align: center; | |
| } | |
| /* Buttons */ | |
| button { | |
| background-color: #333; | |
| color: #fff; | |
| border: none; | |
| padding: 8px 14px; | |
| margin-right: 5px; | |
| cursor: pointer; | |
| border-radius: 4px; | |
| } | |
| button:hover { | |
| background-color: #555; | |
| } | |