Spaces:
Running on Zero
Running on Zero
Download static/style.css from mithulaartigala/Prompt-Resampler-Mini: direct link, hf CLI and curl.
- Browser
- Download file 5.66 kB
-
https://huggingface.co/spaces/mithulaartigala/Prompt-Resampler-Mini/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/mithulaartigala/Prompt-Resampler-Mini/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/mithulaartigala/Prompt-Resampler-Mini/resolve/main/static/style.css
5.66 kB
| .resampler { | |
| --background: #f3f4f3; | |
| --paper: #fcfdfc; | |
| --text: #232724; | |
| --muted: #555e58; | |
| --rule: #cfd5d0; | |
| --focus: #32664e; | |
| --button: #273d32; | |
| color: var(--text); | |
| background: var(--background); | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; | |
| font-size: 14px; | |
| text-align: left; | |
| } | |
| .resampler *, .resampler *::before, .resampler *::after { box-sizing: border-box; } | |
| .resampler [hidden] { display: none ; } | |
| .resampler :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; } | |
| .resampler button, .resampler textarea { font: inherit; } | |
| .resampler button { cursor: pointer; } | |
| .resampler button:disabled { cursor: default; } | |
| .resampler-header { border-bottom: 1px solid var(--rule); background: var(--paper); } | |
| .resampler-header-inner { | |
| width: min(100% - 64px, 1100px); | |
| min-height: 66px; | |
| margin: 0 auto; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .resampler h1 { margin: 0; font: inherit; font-size: 19px; line-height: 1.3; font-weight: 680; letter-spacing: -.025em; } | |
| .resampler .mini { color: var(--muted); font-weight: 490; } | |
| .resampler .model-reference { | |
| width: min(100% - 64px, 1100px); | |
| margin: 0 auto; | |
| padding: 22px 0 32px; | |
| } | |
| .resampler .model-reference a { | |
| color: var(--muted); | |
| font-size: 13px; | |
| font-weight: 530; | |
| white-space: nowrap; | |
| text-decoration: underline; | |
| text-decoration-color: #a8b2ac; | |
| text-underline-offset: 3px; | |
| } | |
| .resampler .model-reference a span { display: inline-block; margin-left: 2px; } | |
| .resampler .model-reference a:hover { color: var(--focus); text-decoration-color: currentColor; } | |
| .resampler-main { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); | |
| width: min(100% - 64px, 1100px); | |
| margin: 56px auto 0; | |
| } | |
| .resampler .pane { min-width: 0; margin: 0; } | |
| .resampler .editor { padding-right: 36px; } | |
| .resampler .result { padding-left: 36px; border-left: 1px solid var(--rule); } | |
| .resampler .pane-heading { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 12px; | |
| min-height: 30px; | |
| margin: 0 0 12px; | |
| } | |
| .resampler .pane-title { margin: 0; color: var(--text); font-size: 16px; font-weight: 660; letter-spacing: -.015em; } | |
| .resampler textarea { | |
| display: block; | |
| width: 100%; | |
| min-height: 184px; | |
| margin: 0; | |
| padding: 13px 14px; | |
| resize: vertical; | |
| background: var(--paper); | |
| color: var(--text); | |
| border: 1px solid #aeb9b1; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| line-height: 1.55; | |
| } | |
| .resampler textarea:focus { border-color: var(--focus); } | |
| .resampler textarea::placeholder { color: #626d65; } | |
| .resampler .hint { margin: 9px 0 0; color: var(--muted); line-height: 1.5; } | |
| .resampler .editor-controls { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 16px; | |
| margin-top: 22px; | |
| } | |
| .resampler .reasoning-toggle { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font-weight: 540; cursor: pointer; } | |
| .resampler .reasoning-toggle input { position: absolute; inset: 0 auto 0 0; opacity: 0; width: 34px; height: auto; margin: 0; } | |
| .resampler .switch-track { width: 34px; height: 20px; padding: 3px; border-radius: 10px; background: #707a73; pointer-events: none; } | |
| .resampler .switch-track::after { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; } | |
| .resampler input:checked + .switch-track { background: var(--focus); } | |
| .resampler input:checked + .switch-track::after { transform: translateX(14px); } | |
| .resampler input:focus-visible + .switch-track { outline: 2px solid var(--focus); outline-offset: 3px; } | |
| .resampler .text-button { | |
| min-height: 30px; | |
| padding: 2px 0; | |
| border: 0; | |
| border-radius: 0; | |
| background: none; | |
| color: var(--muted); | |
| font-size: 13px; | |
| font-weight: 550; | |
| white-space: nowrap; | |
| } | |
| .resampler .text-button:hover { color: var(--focus); text-decoration: underline; text-underline-offset: 3px; } | |
| .resampler .action { | |
| min-height: 40px; | |
| padding: 8px 17px; | |
| border: 1px solid transparent; | |
| border-radius: 5px; | |
| background: var(--button); | |
| color: #fff; | |
| font-weight: 610; | |
| } | |
| .resampler .action:hover:enabled { background: #355243; } | |
| .resampler .action:disabled { background: #e0e5e1; color: #56645a; } | |
| .resampler .secondary { border-color: #aeb9b1; background: var(--paper); color: var(--text); } | |
| .resampler .secondary:hover:enabled { background: #e5ebe6; } | |
| .resampler .status, .resampler .error { margin: 0 0 10px; color: var(--muted); line-height: 1.55; } | |
| .resampler .status:empty, .resampler .answer-output:empty { display: none; } | |
| .resampler .error { color: #952b32; } | |
| .resampler .answer-output, .resampler #reasoning-output { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.65; } | |
| .resampler .answer-output { font-size: 16px; } | |
| .resampler details { margin-top: 21px; padding: 9px 0 0; border-top: 1px solid var(--rule); } | |
| .resampler summary { width: fit-content; min-height: 32px; margin: 0; padding: 4px 0; color: var(--muted); font-weight: 570; cursor: pointer; } | |
| .resampler #reasoning-output { max-height: 300px; overflow: auto; padding: 8px 12px; border-left: 2px solid #aeb9b1; color: var(--muted); } | |
| @media (max-width: 750px) { | |
| .resampler-header-inner, .resampler-main, .resampler .model-reference { width: calc(100% - 36px); } | |
| .resampler-header-inner { min-height: 57px; } | |
| .resampler-main { grid-template-columns: minmax(0, 1fr); margin-top: 25px; } | |
| .resampler .editor { padding-right: 0; } | |
| .resampler .result { margin-top: 24px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--rule); } | |
| } | |
| @media (max-width: 360px) { | |
| .resampler h1 { font-size: 17px; } | |
| } | |