Repository navigation
Expand file tree
/
Copy pathsite-reader.css
More file actions
37 lines (36 loc) · 2.82 KB
/
Copy pathsite-reader.css
File metadata and controls
37 lines (36 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Apple-style polish overrides for index.html / reader-lab.html — additive only,
load after the page's own styles. Changes fonts, colors, controls; touches no IDs, markup or JS. */
:root{--ink:#1d1d1f;--muted:#6e6e73;--line:#d2d2d7;--ground:#f5f5f7;--teal:#2E5BFF;--red:#c32434}
body{font-family:Poppins,system-ui,sans-serif;background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}
main>header h1{font-family:Poppins,system-ui,sans-serif;font-weight:700;letter-spacing:-.025em}
main>header .muted{color:var(--muted)}
.tag{background:var(--ground);color:var(--muted);border-radius:980px;font-family:Poppins,system-ui,sans-serif}
h2{font-family:Poppins,system-ui,sans-serif;font-weight:700;letter-spacing:-.02em}
/* tabs as a segmented control */
nav[role=tablist]{display:inline-flex;gap:2px;background:var(--ground);border-radius:980px;padding:3px;border:none}
nav[role=tablist] button{border:none;background:transparent;border-radius:980px;padding:8px 20px;font-family:inherit;font-size:14px;font-weight:500;color:var(--ink);min-height:36px;cursor:pointer}
nav[role=tablist] button[aria-selected="true"]{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.12);font-weight:600}
/* form controls */
textarea,select,input[type=text],input[type=number]{font-family:inherit;border:1px solid var(--line);border-radius:12px;background:#fff;min-height:44px}
textarea:focus,select:focus,input:focus{outline:2px solid #2E5BFF;outline-offset:1px;border-color:transparent}
label{font-size:13px;font-weight:600;color:var(--ink)}
.muted{color:var(--muted)}
/* buttons: pill, one clear primary */
.actions button{border-radius:980px;border:none;padding:12px 24px;font-family:inherit;font-size:15px;font-weight:500;min-height:44px;cursor:pointer;background:var(--ground);color:var(--ink);transition:background .18s ease}
.actions button:hover:not(:disabled){background:#e8e8ed}
.actions button:disabled{opacity:.45;cursor:default}
.actions button.primary{background:#2E5BFF;color:#fff}
.actions button.primary:hover:not(:disabled){background:#2250ec}
/* panels */
.preview,.viewer{background:var(--ground);border-radius:24px;border:none}
.notice{background:var(--ground);border-radius:16px;border:none;color:var(--muted);font-size:13px;line-height:1.5}
.status{color:var(--muted);font-size:13px}
.metrics b,.metrics strong{font-variant-numeric:tabular-nums}
.result{border:1px solid var(--line);border-radius:16px;background:#fff;font-size:16px}
details{font-size:13px;color:var(--muted)}
summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
footer{color:#6e6e73;font-size:12px;border-top:1px solid var(--line)}
footer a{color:#2E5BFF;text-decoration:none}
.capacity{color:#1d7a3a;font-size:13px;font-weight:600}
/* Mobile: 16px inputs so iOS Safari does not zoom on focus */
@media(max-width:600px){textarea,select,input[type=text],input[type=number]{font-size:16px}}