Spaces:
Running
Running
Download src/static/css/label-fix.css from Penguindrum920/prism-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/spaces/Penguindrum920/prism-backend/resolve/main/src/static/css/label-fix.css
- Command line
-
hf download hf://spaces/Penguindrum920/prism-backend/src/static/css/label-fix.css
-
curl -L -o label-fix.css https://huggingface.co/spaces/Penguindrum920/prism-backend/resolve/main/src/static/css/label-fix.css
1.29 kB
| /* Fix for label visibility - MAXIMUM CONTRAST */ | |
| .form-label { | |
| color: #000000 ; | |
| background-color: #ffffff ; | |
| font-weight: 700 ; | |
| display: inline-block ; | |
| margin-bottom: 0.5rem ; | |
| padding: 2px 5px ; | |
| border-radius: 3px ; | |
| box-shadow: 0 0 3px rgba(0,0,0,0.3) ; | |
| font-size: 1.1em ; | |
| border: 1px solid #000 ; | |
| } | |
| /* Fix for dark mode label visibility */ | |
| [data-theme="dark"] .form-label { | |
| color: #ffffff ; | |
| background-color: #333333 ; | |
| border: 1px solid #fff ; | |
| box-shadow: 0 0 3px rgba(255,255,255,0.5) ; | |
| } | |
| /* Make sure select options are visible */ | |
| select.form-control option { | |
| background-color: #ffffff ; | |
| color: #000000 ; | |
| font-weight: 500 ; | |
| } | |
| /* Improve form control visibility */ | |
| .form-control { | |
| border: 2px solid #555 ; | |
| background-color: #ffffff ; | |
| color: #000000 ; | |
| font-weight: 500 ; | |
| } | |
| /* Dark mode form controls */ | |
| [data-theme="dark"] .form-control { | |
| background-color: #444 ; | |
| color: #fff ; | |
| border: 2px solid #777 ; | |
| } |