Spaces:
Running on Zero
Running on Zero
Download static/style.css from sarweshwar445/Next-Word-AI: direct link, hf CLI and curl.
- Browser
- Download file 6.6 kB
-
https://huggingface.co/spaces/sarweshwar445/Next-Word-AI/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/sarweshwar445/Next-Word-AI/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/sarweshwar445/Next-Word-AI/resolve/main/static/style.css
6.6 kB
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: "Segoe UI", Arial, sans-serif; | |
| background: #0b1020; | |
| color: #f5f7ff; | |
| min-height: 100vh; | |
| } | |
| .page { | |
| width: 100%; | |
| max-width: 1100px; | |
| margin: auto; | |
| padding: 30px 25px 20px; | |
| } | |
| /* HEADER */ | |
| .header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 70px; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .logo-icon { | |
| width: 45px; | |
| height: 45px; | |
| border-radius: 13px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 22px; | |
| font-weight: 800; | |
| background: linear-gradient( | |
| 135deg, | |
| #7c5cff, | |
| #20c8ff | |
| ); | |
| } | |
| .logo h1 { | |
| font-size: 20px; | |
| } | |
| .logo p { | |
| color: #8e98b7; | |
| font-size: 12px; | |
| margin-top: 3px; | |
| } | |
| .model-badge { | |
| background: #151c33; | |
| border: 1px solid #27304e; | |
| padding: 9px 15px; | |
| border-radius: 30px; | |
| font-size: 12px; | |
| color: #9ba8ca; | |
| } | |
| /* HERO */ | |
| .hero { | |
| text-align: center; | |
| max-width: 760px; | |
| margin: auto; | |
| } | |
| .hero-badge { | |
| display: inline-block; | |
| padding: 7px 14px; | |
| border-radius: 30px; | |
| background: #151c33; | |
| border: 1px solid #293252; | |
| color: #9ea9cf; | |
| font-size: 12px; | |
| margin-bottom: 20px; | |
| } | |
| .hero h2 { | |
| font-size: clamp(38px, 6vw, 65px); | |
| line-height: 1.05; | |
| letter-spacing: -2px; | |
| } | |
| .hero h2 span { | |
| background: linear-gradient( | |
| 90deg, | |
| #8b6cff, | |
| #35d6ff | |
| ); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .hero p { | |
| color: #929bb6; | |
| font-size: 16px; | |
| line-height: 1.7; | |
| max-width: 600px; | |
| margin: 22px auto 45px; | |
| } | |
| /* MAIN CARD */ | |
| .generator-card { | |
| background: #11172a; | |
| border: 1px solid #242d49; | |
| border-radius: 24px; | |
| padding: 30px; | |
| box-shadow: | |
| 0 25px 70px rgba(0, 0, 0, 0.3); | |
| } | |
| /* SECTION HEADER */ | |
| .section-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 15px; | |
| } | |
| .section-header h3 { | |
| font-size: 17px; | |
| } | |
| .section-header p { | |
| color: #78839f; | |
| font-size: 13px; | |
| margin-top: 5px; | |
| } | |
| #charCount { | |
| color: #65718e; | |
| font-size: 12px; | |
| } | |
| /* TEXTAREA */ | |
| textarea { | |
| width: 100%; | |
| min-height: 150px; | |
| resize: vertical; | |
| background: #0b1020; | |
| border: 1px solid #293351; | |
| border-radius: 15px; | |
| padding: 18px; | |
| color: white; | |
| font-size: 16px; | |
| line-height: 1.6; | |
| outline: none; | |
| transition: 0.2s; | |
| } | |
| textarea:focus { | |
| border-color: #6d5dfc; | |
| box-shadow: | |
| 0 0 0 3px rgba( | |
| 109, | |
| 93, | |
| 252, | |
| 0.12 | |
| ); | |
| } | |
| textarea::placeholder { | |
| color: #56617d; | |
| } | |
| /* EXAMPLES */ | |
| .examples { | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin: 16px 0 28px; | |
| } | |
| .examples span { | |
| color: #65718e; | |
| font-size: 12px; | |
| } | |
| .examples button { | |
| background: #181f35; | |
| border: 1px solid #293351; | |
| color: #9da8c4; | |
| padding: 7px 12px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| font-size: 12px; | |
| transition: 0.2s; | |
| } | |
| .examples button:hover { | |
| border-color: #6d5dfc; | |
| color: white; | |
| } | |
| /* CONTROLS */ | |
| .controls { | |
| display: grid; | |
| grid-template-columns: | |
| 1fr 1fr; | |
| gap: 20px; | |
| margin-bottom: 25px; | |
| } | |
| .control { | |
| background: #0d1325; | |
| border: 1px solid #242d49; | |
| border-radius: 14px; | |
| padding: 15px; | |
| } | |
| .control label { | |
| display: block; | |
| color: #8994b2; | |
| font-size: 12px; | |
| margin-bottom: 10px; | |
| } | |
| .control input[type="number"] { | |
| width: 100%; | |
| background: transparent; | |
| border: none; | |
| outline: none; | |
| color: white; | |
| font-size: 15px; | |
| } | |
| .temperature-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .temperature-row input { | |
| flex: 1; | |
| } | |
| #temperatureValue { | |
| color: #a596ff; | |
| font-size: 13px; | |
| min-width: 30px; | |
| } | |
| /* RANGE */ | |
| input[type="range"] { | |
| accent-color: #7766ff; | |
| } | |
| /* GENERATE BUTTON */ | |
| .generate-button { | |
| width: 100%; | |
| border: none; | |
| padding: 16px; | |
| border-radius: 13px; | |
| background: linear-gradient( | |
| 90deg, | |
| #705cff, | |
| #24c9ef | |
| ); | |
| color: white; | |
| font-size: 15px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 10px; | |
| transition: 0.2s; | |
| } | |
| .generate-button:hover { | |
| transform: translateY(-2px); | |
| box-shadow: | |
| 0 12px 30px rgba( | |
| 84, | |
| 102, | |
| 255, | |
| 0.25 | |
| ); | |
| } | |
| .arrow { | |
| font-size: 20px; | |
| } | |
| /* RESULT */ | |
| .result { | |
| margin-top: 30px; | |
| background: #0b1020; | |
| border: 1px solid #293351; | |
| border-radius: 17px; | |
| padding: 22px; | |
| } | |
| .result-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 18px; | |
| } | |
| .result-label { | |
| font-size: 10px; | |
| letter-spacing: 1.5px; | |
| color: #786cff; | |
| font-weight: 700; | |
| } | |
| .result h3 { | |
| margin-top: 4px; | |
| font-size: 16px; | |
| } | |
| .copy-button { | |
| background: #171e34; | |
| border: 1px solid #293351; | |
| color: #a8b1ca; | |
| padding: 7px 13px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| } | |
| .copy-button:hover { | |
| color: white; | |
| border-color: #6d5dfc; | |
| } | |
| .generated-text { | |
| color: #dce2f2; | |
| font-size: 16px; | |
| line-height: 1.8; | |
| padding: 15px; | |
| background: #11172a; | |
| border-radius: 12px; | |
| } | |
| /* INFO */ | |
| .info-section { | |
| display: grid; | |
| grid-template-columns: | |
| repeat(3, 1fr); | |
| gap: 15px; | |
| margin-top: 25px; | |
| } | |
| .info-card { | |
| background: #11172a; | |
| border: 1px solid #242d49; | |
| border-radius: 17px; | |
| padding: 22px; | |
| } | |
| .info-icon { | |
| font-size: 22px; | |
| margin-bottom: 12px; | |
| } | |
| .info-card h3 { | |
| font-size: 15px; | |
| margin-bottom: 8px; | |
| } | |
| .info-card p { | |
| color: #77829e; | |
| font-size: 12px; | |
| line-height: 1.6; | |
| } | |
| /* FOOTER */ | |
| footer { | |
| text-align: center; | |
| padding: 35px 0 10px; | |
| color: #56617d; | |
| font-size: 12px; | |
| } | |
| /* MOBILE */ | |
| @media (max-width: 700px) { | |
| .page { | |
| padding: 20px 15px; | |
| } | |
| .header { | |
| margin-bottom: 50px; | |
| } | |
| .model-badge { | |
| display: none; | |
| } | |
| .hero h2 { | |
| font-size: 42px; | |
| } | |
| .generator-card { | |
| padding: 20px; | |
| } | |
| .controls { | |
| grid-template-columns: 1fr; | |
| } | |
| .info-section { | |
| grid-template-columns: 1fr; | |
| } | |
| } |