Download style.css from Sangwon78/ui: direct link, hf CLI and curl.
- Browser
- Download file 3.41 kB
-
https://huggingface.co/spaces/Sangwon78/ui/resolve/main/style.css
- Command line
-
hf download hf://spaces/Sangwon78/ui/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Sangwon78/ui/resolve/main/style.css
3.41 kB
| /* ===== ๊ธฐ๋ณธ ๋ฆฌ์ ===== */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| /* ===== ์ ์ฒด ๋ฐฐ๊ฒฝ: ์์ํ ๊ทธ๋ผ๋์ธํธ ===== */ | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| background: linear-gradient(135deg, #f9f9ff, #dceefd); | |
| color: #333; | |
| line-height: 1.5; | |
| } | |
| /* ===== ํค๋ ๋์์ธ ===== */ | |
| header { | |
| text-align: center; | |
| background: linear-gradient(135deg, #575fcf, #2f268f); | |
| color: #fff; | |
| padding: 2.5rem 1rem; | |
| margin-bottom: 2rem; | |
| box-shadow: 0 5px 15px rgba(0,0,0,0.1); | |
| } | |
| /* ํค๋ ๊ธ๊ผด ์ปค์คํฐ๋ง์ด์ฆ */ | |
| header h1 { | |
| font-family: 'Pacifico', cursive; /* ํฌ์ธํธ ํฐํธ */ | |
| font-size: 2.5rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| header p { | |
| font-size: 1rem; | |
| opacity: 0.95; | |
| } | |
| /* ===== ๋ฉ์ธ ์ปจํ ์ด๋ ===== */ | |
| .container { | |
| max-width: 750px; | |
| margin: 0 auto; | |
| padding: 1rem; | |
| } | |
| /* ===== ํ๋ฉด ์ ํ (๊ธฐ๋ณธ ์จ๊น) ===== */ | |
| .screen { | |
| display: none; | |
| } | |
| .screen.active { | |
| display: block; | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| /* ํ์ด๋ ์ธ ์ ๋๋ฉ์ด์ */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* ===== ์ธํธ๋ก ๋ฐ์ค ===== */ | |
| .intro-box { | |
| text-align: center; | |
| background: #ffffffc9; | |
| border: 1px solid #eee; | |
| border-radius: 8px; | |
| padding: 2rem; | |
| box-shadow: 0 5px 10px rgba(0,0,0,0.05); | |
| } | |
| .intro-box h2 { | |
| font-size: 2rem; | |
| margin-bottom: 1rem; | |
| color: #575fcf; | |
| font-weight: 700; | |
| } | |
| .intro-box p { | |
| margin-bottom: 2rem; | |
| line-height: 1.4; | |
| color: #444; | |
| } | |
| /* ===== ์ง๋ฌธ ํ๋ฉด ===== */ | |
| .questions-area { | |
| margin: 1rem 0; | |
| } | |
| .question-item { | |
| background: #fff; | |
| border: 1px solid #eee; | |
| padding: 1rem; | |
| margin-bottom: 1rem; | |
| border-radius: 6px; | |
| box-shadow: 0 2px 5px rgba(0,0,0,0.03); | |
| transition: transform 0.2s; | |
| } | |
| .question-item:hover { | |
| transform: scale(1.01); | |
| } | |
| .question-item label { | |
| font-weight: bold; | |
| display: block; | |
| margin-bottom: 0.7rem; | |
| color: #575fcf; | |
| } | |
| /* ===== ๋ผ๋์ค ๊ทธ๋ฃน ===== */ | |
| .radio-group { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.5rem; | |
| } | |
| .radio-label { | |
| cursor: pointer; | |
| margin-right: 1rem; | |
| font-size: 0.95rem; | |
| color: #333; | |
| } | |
| .radio-label input[type="radio"] { | |
| margin-right: 0.3rem; | |
| transform: scale(1.2); | |
| accent-color: #575fcf; /* ํฌ๋กฌ๊ณ์ด ๋ธ๋ผ์ฐ์ ์์ ๋ผ๋์ค์ */ | |
| } | |
| /* ===== ๋ฒํผ ์คํ์ผ ===== */ | |
| .next-btn, .submit-btn, .restart-btn { | |
| background: #575fcf; | |
| color: #fff; | |
| padding: 0.9rem 1.5rem; | |
| border: none; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| margin-top: 1rem; | |
| transition: background 0.3s, transform 0.2s; | |
| } | |
| .next-btn:hover, | |
| .submit-btn:hover, | |
| .restart-btn:hover { | |
| background: #6f77e2; | |
| } | |
| .next-btn:active, | |
| .submit-btn:active, | |
| .restart-btn:active { | |
| transform: scale(0.97); | |
| } | |
| /* ===== ๊ฒฐ๊ณผ ํ๋ฉด ===== */ | |
| .result-area { | |
| background: #ffffffc9; | |
| border: 1px solid #eee; | |
| border-radius: 8px; | |
| padding: 2rem; | |
| box-shadow: 0 5px 10px rgba(0,0,0,0.05); | |
| } | |
| #result-screen h2 { | |
| color: #575fcf; | |
| text-align: center; | |
| margin-bottom: 1rem; | |
| } | |
| .result-text { | |
| white-space: pre-wrap; | |
| margin-bottom: 1rem; | |
| font-weight: 500; | |
| color: #333; | |
| line-height: 1.5; | |
| } | |
| .image-container { | |
| text-align: center; | |
| margin-top: 1rem; | |
| } | |
| .image-container img { | |
| max-width: 220px; | |
| border-radius: 8px; | |
| margin-top: 0.5rem; | |
| border: 2px solid #575fcf33; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
| } | |