Spaces:
Runtime error
Runtime error
Download style.css from Scherzando/User_Study: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/spaces/Scherzando/User_Study/resolve/main/style.css
- Command line
-
hf download hf://spaces/Scherzando/User_Study/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Scherzando/User_Study/resolve/main/style.css
14.5 kB
| :root { font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202e29; background: #f5f6f2; --green: #214d3d; --lime: #d4edb3; --muted: #6d7870; --line: #dce1d8; } | |
| * { box-sizing: border-box; } body { margin: 0; } [hidden] { display: none ; } button,input { font: inherit; } button,a,input { -webkit-tap-highlight-color: transparent; } | |
| header { height: 78px; padding: 0 5vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: #fafbf7; } | |
| .brand { color: #283e32; text-decoration: none; font-weight: 650; font-size: 21px; display: flex; align-items: center; gap: 9px; }.brand span:last-child { font-size: 10px; letter-spacing: 1.7px; margin-left: 9px; font-weight: 600; }.brand-icon { font-size: 32px; color: var(--green); }.header-note { font-size: 12px; color: var(--muted); } | |
| main { max-width: 1400px; margin: auto; padding: 38px 5vw 60px; min-height: calc(100vh - 140px); }.eyebrow { color: var(--green); font-size: 10px; letter-spacing: 2px; font-weight: 700; margin-bottom: 15px; }h1 { font-size: clamp(32px,4vw,52px); line-height: 1.12; letter-spacing: -1.9px; font-weight: 500; margin: 0 0 20px; }h2 { font-size: 17px; letter-spacing: -.3px; margin: 10px 0; }.lead { font-size: 16px; line-height: 1.7; color: #667168; margin: 0; }.muted { color: var(--muted); font-size: 12px; }.welcome { max-width: 800px; margin: 30px auto; }.welcome > .lead { max-width: 680px; } | |
| .study-facts { display: flex; gap: 65px; padding: 30px 0; margin: 20px 0 10px; border-bottom: 1px solid var(--line); }.study-facts div { display: flex; flex-direction: column; }.study-facts strong { font-weight: 450; font-size: 30px; letter-spacing: -1px; }.study-facts span { color: var(--muted); font-size: 12px; }.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin: 30px 0; }.step-number { font: 11px ui-monospace, monospace; color: #839277; }.intro-grid p { font-size: 13px; color: var(--muted); margin: 0; }.before-start { background: #eaf0e4; border: 1px solid #dce6d3; border-radius: 12px; padding: 8px 20px; font-size: 13px; }.privacy { font-size: 11px; color: #65705f; }.ready-check { display: flex; gap: 10px; align-items: center; margin: 26px 0 20px; font-size: 13px; } | |
| button { border: 1px solid #d6ddd2; border-radius: 7px; background: white; color: #2d4134; padding: 10px 16px; cursor: pointer; transition: background .15s; }button:hover { background: #eff4e9; }button:disabled { opacity: .42; cursor: default; }.primary { background: var(--green); color: #fff; border: 1px solid var(--green); padding: 13px 22px; font-size: 13px; font-weight: 550; }.primary:hover { background: #32654d; }.primary:disabled:hover { background: var(--green); }.text-button { background: none; padding: 8px 0; border: 0; color: var(--green); font-size: 12px; }input { accent-color: var(--green); }button:focus-visible,input:focus-visible,canvas:focus-visible,a:focus-visible { outline: 2px solid #618242; outline-offset: 3px; } | |
| .progress-row { display: flex; align-items: center; gap: 20px; font-size: 10px; letter-spacing: 1px; color: #667b60; margin-bottom: 28px; }.progress { display: flex; gap: 5px; flex: 1; max-width: 320px; }.progress span { height: 4px; flex: 1; border-radius: 3px; background: #dce4d5; }.progress span.done { background: #648d49; }.progress span.current { background: #284b39; }#section-name { margin-left: auto; }.trial-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }.trial-heading h1 { font-size: clamp(28px,3vw,37px); margin-bottom: 10px; letter-spacing: -1.2px; }.trial-heading .eyebrow { margin-bottom: 8px; }.trial-heading .lead { font-size: 13px; max-width: 780px; }.trial-meta { background: #e8eedf; border-radius: 6px; padding: 9px 12px; font-size: 11px; white-space: nowrap; color: #526246; } | |
| .study-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }.viewer { min-width: 0; }.viewport { position: relative; aspect-ratio: 16/9; border-radius: 12px 12px 0 0; overflow: hidden; background: #101811; color: #fff; }#perspective { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }#perspective:active { cursor: grabbing; }.view-top,.view-bottom { position: absolute; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }.view-top { top: 14px; }.view-top span { padding: 5px 9px; border: 1px solid #ffffff2b; border-radius: 4px; background: #102417a1; font-size: 9px; letter-spacing: 1px; backdrop-filter: blur(6px); }.view-bottom { bottom: 14px; font-size: 10px; gap: 6px; }.view-bottom > span { background: #101a1299; padding: 5px 9px; border-radius: 4px; }.view-bottom button { pointer-events: auto; font-size: 10px; color: #fff; padding: 5px 8px; background: #101a12b8; border-color: #ffffff2b; }.loading { position: absolute; inset: 0; display: grid; place-items: center; background: #102017e8; text-align: center; padding: 30px; color: #d4edb3; font-size: 13px; } | |
| .transport { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-top: 0; background: #fff; }.play-button { color: #fff; background: var(--green); border-color: var(--green); padding: 7px 12px; min-width: 80px; font-size: 12px; }.play-button:hover { background: #32654d; }input[type=range] { margin: 0; min-width: 0; cursor: pointer; }#timeline { flex: 1; }output { font: 10px ui-monospace,monospace; white-space: nowrap; }.loop-label { font-size: 11px; display: flex; gap: 3px; align-items: center; }.viewer-subline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--muted); padding: 10px 15px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; }#volume-control { display: flex; align-items: center; gap: 9px; }#volume { width: 75px; }.map-row { display: flex; gap: 18px; margin-top: 20px; align-items: center; }.map-row canvas { width: 37%; height: auto; aspect-ratio: 2/1; border-radius: 6px; cursor: crosshair; background: #1d2b21; }.map-row strong { font-size: 12px; font-weight: 550; }.map-row p { font-size: 11px; color: var(--muted); margin: 5px 0 9px; }.map-row span { font-size: 10px; color: #829174; } | |
| .choices-panel { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }.section-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.section-top h2 { margin: 0; font-size: 15px; }.section-top span { font-size: 10px; color: var(--muted); }fieldset { margin: 18px 0 0; padding: 0; border: 0; display: grid; gap: 9px; }.option { display: flex; align-items: center; border: 1px solid #dfe5da; border-radius: 8px; background: #fafbf8; padding: 10px; gap: 10px; }.option.active { border-color: #8ea67c; background: #f2f6ec; }.option.selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }.option-preview { border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 10px; text-align: left; flex: 1; }.letter { display: grid; place-items: center; width: 33px; height: 33px; background: #e4ebdc; color: #385132; border-radius: 6px; font-size: 15px; }.option-text { display: flex; flex-direction: column; }.option-text strong { font-size: 12px; font-weight: 550; }.option-text small { font-size: 10px; color: #819071; }.option input { width: 18px; height: 18px; margin: 0; }.choice-footer { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 13px; }.choice-footer p { font-size: 11px; color: var(--muted); min-height: 34px; margin: 0 0 13px; }.choice-footer .primary { width: 100%; font-size: 12px; padding: 12px 8px; }.study-footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); gap: 12px; } | |
| .complete { text-align: center; max-width: 650px; margin: 55px auto; }.complete-icon { width: 64px; height: 64px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; background: #e0edce; font-size: 28px; color: #3f6531; }.receipt { margin: 30px auto; padding: 20px; max-width: 440px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 12px; line-height: 2; }.download-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }.download-buttons button { font-size: 12px; }.error { color: #8a2e25; background: #ffebe5; padding: 15px 20px; border: 1px solid #e8c2b7; border-radius: 7px; margin-top: 20px; font-size: 13px; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }footer { display: flex; justify-content: space-between; gap: 10px; padding: 20px 5vw; border-top: 1px solid var(--line); color: #88917e; font-size: 10px; } | |
| @media(max-width:1000px) { .study-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 18px; }.choices-panel { padding: 16px; }.transport { gap: 8px; padding: 12px; }.map-row { align-items: flex-start; }.trial-meta { display: none; } } | |
| @media(max-width:760px) { header { height: 64px; padding: 0 20px; }.header-note { display: none; }main { padding: 28px 18px 40px; }.welcome { margin: 10px auto; }.welcome h1 { font-size: 39px; }.study-facts { gap: 40px; padding: 23px 0; }.intro-grid { gap: 20px; }.study-layout { grid-template-columns: 1fr; }.progress-row { gap: 10px; font-size: 8px; }.progress { max-width: 170px; }.trial-heading h1 { font-size: 30px; }.choices-panel { padding: 18px; }fieldset { grid-template-columns: 1fr 1fr; }.option { padding: 9px; }.option-preview { gap: 7px; }.option-text strong { font-size: 11px; }.letter { width: 27px; height: 30px; }.choice-footer p { min-height: 0; }.study-footer { flex-direction: column; }.complete { margin: 25px auto; } } | |
| @media(max-width:420px) { .brand span:last-child { font-size: 9px; }.loop-label { display: none; }.study-facts { gap: 30px; }.intro-grid { grid-template-columns: 1fr; }.view-bottom { font-size: 8px; }.view-bottom button { font-size: 8px; }footer { flex-direction: column; } } | |
| .prompt-panel { margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } | |
| .prompt-panel .section-top { margin-bottom: 10px; }.prompt-panel p { margin: 0; font-size: 13px; line-height: 1.85; color: #405347; } | |
| .prompt-key { font-size: 10px; color: var(--muted); }mark { background: #d4edb3; color: #203e26; border-radius: 3px; padding: 1px 3px; } | |
| /* Keep sample selection and all three rating scales beside the player. */ | |
| body:has(#trial-screen:not([hidden])) header { height: 48px; } | |
| body:has(#trial-screen:not([hidden])) main { padding: 18px 3vw 30px; } | |
| .progress-row { margin-bottom: 12px; }.trial-heading { margin-bottom: 16px; }.trial-heading h1 { font-size: 27px; margin-bottom: 5px; }.trial-heading .eyebrow { margin-bottom: 4px; } | |
| .study-layout { grid-template-columns: minmax(0,1fr) minmax(380px,440px); gap: 20px; } | |
| .ratings-panel { padding: 14px; }.option-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 12px 0; } | |
| .option { padding: 6px 2px; justify-content: center; }.option-preview { flex-direction: column; gap: 3px; text-align: center; }.option-text strong { display: none; }.option-text small { font-size: 9px; white-space: nowrap; }.letter { width: 28px; height: 25px; }.option.active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); } | |
| .sample-ratings > .section-top { margin-bottom: 8px; }.sample-ratings h2 { font-size: 12px; }.sample-criteria { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; } | |
| .criterion { display: block; min-width: 0; margin: 0; padding: 0; border: 0; } | |
| .criterion legend { display: flex; flex-direction: column; width: 100%; padding: 0; margin-bottom: 8px; height: 72px; font-size: 11px; line-height: 1.35; } | |
| .criterion legend strong { display: block; font-size: 18px; color: var(--green); margin-bottom: 3px; }.criterion legend span { display: block; } | |
| .criterion-options { display: grid; gap: 5px; }.criterion-option { display: flex; gap: 6px; align-items: center; min-height: 34px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 11px; white-space: nowrap; } | |
| .criterion-option:has(input:checked) { background: #e6efda; border-color: var(--green); }.criterion-option:has(input:focus-visible) { outline: 2px solid #618242; outline-offset: 2px; }.criterion-option input { margin: 0; } | |
| .ratings-panel .choice-footer { margin-top: 12px; padding-top: 10px; }.ratings-panel .choice-footer p { min-height: 0; margin: 0 0 8px; font-size: 10px; }.ratings-panel .primary { width: 100%; padding: 9px; } | |
| .prompt-panel { margin-top: 20px; }.overview-panel { max-width: 650px; }.overview-panel .map-row { margin-top: 0; } | |
| @media(max-width:760px) { | |
| body:has(#trial-screen:not([hidden])) header { height: 38px; padding: 0 12px; } | |
| body:has(#trial-screen:not([hidden])) main { padding: 10px 12px 24px; } | |
| .study-layout { grid-template-columns: 1fr; gap: 10px; }.trial-heading { margin-bottom: 8px; }.trial-heading h1 { font-size: 22px; margin: 0; }.trial-heading .lead { display: none; }.trial-heading .eyebrow { font-size: 9px; }.progress-row { margin-bottom: 6px; }.trial-meta { display: none; } | |
| .viewport { height: clamp(120px,23vh,210px); aspect-ratio: auto; }.transport { padding: 5px 8px; gap: 8px; }.play-button { padding: 4px 8px; min-width: 65px; }.viewer-subline { padding: 4px 8px; } | |
| .ratings-panel { padding: 9px; }.ratings-panel .section-top h2 { font-size: 12px; }.option-list { margin: 6px 0; }.option-preview { flex-direction: row; gap: 3px; }.option { padding: 3px 1px; }.letter { width: 20px; height: 21px; font-size: 12px; }.option-text small { font-size: 8px; } | |
| .sample-ratings > .section-top { margin-bottom: 3px; }.sample-criteria { gap: 6px; }.criterion legend { font-size: 10px; height: 53px; margin-bottom: 5px; }.criterion legend strong { font-size: 15px; margin-bottom: 1px; }.criterion-options { gap: 3px; }.criterion-option { min-height: 26px; padding: 3px 5px; font-size: 10px; } | |
| .ratings-panel .choice-footer { padding-top: 6px; margin-top: 7px; }.ratings-panel .choice-footer p { margin-bottom: 5px; }.ratings-panel .primary { padding: 6px; } | |
| .prompt-panel { padding: 15px; }.prompt-panel .section-top { flex-wrap: wrap; } | |
| } | |