Spaces:
Sleeping
Sleeping
Download static/style.css from ntbaongoc/translator: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/ntbaongoc/translator/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/ntbaongoc/translator/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ntbaongoc/translator/resolve/main/static/style.css
1.61 kB
| body { | |
| font-family: 'Helvetica', Arial, sans-serif; | |
| background: #f9f9f9; | |
| color: #333; | |
| text-align: center; | |
| } | |
| h1, h2 { | |
| color: #444; | |
| font-weight: 600; | |
| } | |
| form { | |
| background: white; | |
| padding: 2em; | |
| margin: 2em auto; | |
| width: 60%; | |
| max-width: 600px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| text-align: left; | |
| } | |
| label { | |
| display: block; | |
| margin-bottom: 0.5em; | |
| font-weight: 500; | |
| } | |
| textarea { | |
| width: 100%; | |
| height: 120px; | |
| padding: 0.5em; | |
| line-height: 1.6; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| resize: none; | |
| } | |
| input[type="submit"] { | |
| background: #555; | |
| color: white; | |
| border: none; | |
| padding: 0.7em 1.5em; | |
| font-size: 16px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| margin-top: 1em; | |
| } | |
| input[type="submit"]:hover { | |
| background: #333; | |
| } | |
| p { | |
| line-height: 1.6; | |
| } | |
| #loader { | |
| margin: 2em auto; | |
| border: 5px solid #f3f3f3; | |
| border-radius: 50%; | |
| border-top: 5px solid #555; | |
| width: 20px; | |
| height: 20px; | |
| -webkit-animation: spin 2s linear infinite; /* Safari */ | |
| animation: spin 2s linear infinite; | |
| display: none; | |
| } | |
| /* Safari */ | |
| @-webkit-keyframes spin { | |
| 0% { | |
| -webkit-transform: rotate(0deg); | |
| } | |
| 100% { | |
| -webkit-transform: rotate(360deg); | |
| } | |
| } | |
| @keyframes spin { | |
| 0% { | |
| transform: rotate(0deg); | |
| } | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| #result { | |
| margin: 2em auto; | |
| width: 60%; | |
| max-width: 600px; | |
| text-align: left; | |
| color: #333; | |
| } | |