Download style.css from GarGerry/Testinghh: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/spaces/GarGerry/Testinghh/resolve/main/style.css
- Command line
-
hf download hf://spaces/GarGerry/Testinghh/style.css
-
curl -L -o style.css https://huggingface.co/spaces/GarGerry/Testinghh/resolve/main/style.css
2.77 kB
| /* General */ | |
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| background-color: #001d57; /* Latar belakang biru gelap */ | |
| overflow: auto; /* Agar bisa scroll kanan, kiri, atas, dan bawah */ | |
| } | |
| .container { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 12px; | |
| box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| /* Header */ | |
| header h1 { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| color: #001d57; | |
| font-size: 24px; | |
| font-weight: bold; | |
| text-transform: uppercase; | |
| } | |
| header h2 { | |
| text-align: center; | |
| font-size: 14px; | |
| color: #555; | |
| margin-bottom: 20px; | |
| } | |
| /* Form Groups */ | |
| .form-group { | |
| margin-bottom: 15px; | |
| } | |
| label { | |
| display: block; | |
| margin-bottom: 8px; | |
| color: #333; | |
| font-weight: bold; | |
| } | |
| input, select { | |
| width: 100%; | |
| padding: 12px; | |
| font-size: 16px; | |
| border: 1px solid #ddd; | |
| border-radius: 8px; | |
| transition: border-color 0.3s ease; | |
| } | |
| input:focus, select:focus { | |
| border-color: #87cefa; | |
| outline: none; | |
| } | |
| /* Swap Button */ | |
| .swap-group { | |
| text-align: center; | |
| margin: 20px 0; /* Menambahkan ruang lebih */ | |
| } | |
| #swapButton { | |
| background-color: #87CEFA; /* Biru Langit */ | |
| border: none; | |
| border-radius: 8px; /* Tombol persegi panjang bulat */ | |
| padding: 8px 16px; | |
| font-size: 16px; | |
| color: white; | |
| font-weight: bold; | |
| cursor: pointer; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
| transition: background-color 0.3s ease, transform 0.2s ease; | |
| } | |
| #swapButton:hover { | |
| background-color: #5faad7; /* Biru Langit Gelap */ | |
| transform: scale(1.05); | |
| } | |
| /* Convert Button */ | |
| .convert-button { | |
| background-color: #007bff; | |
| border: none; | |
| border-radius: 8px; | |
| padding: 14px 20px; | |
| font-size: 18px; | |
| color: white; | |
| font-weight: bold; | |
| cursor: pointer; | |
| width: 100%; | |
| box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); | |
| transition: background-color 0.3s ease, transform 0.2s ease; | |
| margin-top: 15px; /* Jarak dengan hasil konversi */ | |
| } | |
| .convert-button:hover { | |
| background-color: #0056b3; | |
| transform: scale(1.05); | |
| } | |
| /* Result Box */ | |
| .result-box { | |
| margin-top: 15px; | |
| padding: 15px; | |
| font-size: 16px; | |
| color: #333; | |
| text-align: center; | |
| background-color: #f0f4ff; | |
| border: 1px solid #87cefa; | |
| border-radius: 8px; | |
| } | |
| /* Footer */ | |
| footer { | |
| text-align: center; | |
| margin-top: 20px; | |
| font-size: 14px; | |
| color: #000; /* Warna hitam untuk teks */ | |
| background-color: transparent; /* Transparan untuk melihat latar belakang */ | |
| padding: 15px 10px; | |
| } | |
| footer p { | |
| margin: 5px 0; | |
| color: #000; /* Warna teks tetap hitam */ | |
| } | |
| footer a { | |
| color: #000; /* Warna hitam untuk link */ | |
| text-decoration: none; | |
| font-weight: bold; | |
| } | |
| footer a:hover { | |
| text-decoration: underline; | |
| } | |