Spaces:
Running
Running
File size: 6,102 Bytes
503c4d7 97a3e35 503c4d7 97a3e35 503c4d7 | 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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | :root {
--bg: #f6f7f9; --panel: #ffffff; --ink: #1c2024; --muted: #5b6470; --line: #dde1e6; --accent: #0f766e;
--red: #b4232c; --amber: #a35f00; --green: #1f7a4d; --blue: #2f6f8f; --grey: #5b6470;
}
@media (prefers-color-scheme: dark) {
:root { --bg: #0d1117; --panel: #151b23; --ink: #e6edf3; --muted: #9aa5b1; --line: #2a323c; --accent: #2dd4bf;
--red: #f87171; --amber: #fbbf24; --green: #4ade80; --blue: #7cc4e8; --grey: #9aa5b1; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 1100px; margin: 0 auto; padding: 28px 16px 40px; }
h1 { font-size: 2.2rem; margin: 2px 0 10px; letter-spacing: -.01em; }
h3 { margin: 18px 0 8px; font-size: 1.05rem; }
a { color: var(--accent); }
.eyebrow { margin: 0; font: 600 .78rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.05rem; }
.private { border-left: 4px solid var(--accent); padding: 8px 14px; background: var(--panel); border-radius: 6px; }
.grid { display: grid; grid-template-columns: 2fr 3fr; gap: 18px; margin-top: 18px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 150px; padding: 16px;
border: 2px dashed var(--line); border-radius: 10px; text-align: center; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop-title { font-weight: 600; color: var(--accent); }
.drop-sub, .note, .meta, .where, .caveat, .always, .placeholder, footer { color: var(--muted); font-size: .92rem; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; }
button { font: inherit; font-size: .9rem; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
button:hover { border-color: var(--accent); }
.status { font-size: .9rem; margin: 14px 0 0; color: var(--muted); }
.status.ok { color: var(--green); } .status.err { color: var(--red); }
.verdict { border-left: 6px solid var(--grey); padding: 10px 16px; border-radius: 6px; background: var(--bg); }
.verdict p { margin: 6px 0; }
.v-title { font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; color: var(--grey); }
.tone-red { border-color: var(--red); } .tone-red .v-title { color: var(--red); }
.tone-amber { border-color: var(--amber); } .tone-amber .v-title { color: var(--amber); }
.tone-green { border-color: var(--green); } .tone-green .v-title { color: var(--green); }
.tone-blue { border-color: var(--blue); } .tone-blue .v-title { color: var(--blue); }
.findings { list-style: none; padding: 0; margin: 0; } .findings li { margin: 0 0 12px; overflow-wrap: anywhere; }
.badge { display: inline-block; color: #fff; border-radius: 4px; padding: 0 7px; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.s-strong { background: #b4232c; } .s-moderate { background: #a35f00; } .s-weak { background: #2f6f8f; } .s-info { background: #5b6470; }
.always { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; }
details { margin-top: 14px; } summary { cursor: pointer; color: var(--muted); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .82rem; background: var(--bg); padding: 10px; border-radius: 6px; max-height: 360px; overflow: auto; }
footer { margin-top: 26px; }
.tone-grey { border-color: var(--muted); } .tone-grey .v-title { color: var(--muted); }
/* id-decoder */
main > section { margin-top: 18px; }
label.field { display: block; font-weight: 600; margin: 0 0 6px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
#q { flex: 1 1 260px; min-width: 0; font: 500 1.05rem ui-monospace, "SFMono-Regular", Menlo, monospace; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
#q:focus, select:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; padding: 9px 18px; }
@media (prefers-color-scheme: dark) { .primary { color: #0d1117; } }
.ex { font: .85rem ui-monospace, "SFMono-Regular", Menlo, monospace; padding: 3px 8px; margin: 2px 2px; }
.card { background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--grey); border-radius: 10px; padding: 14px 18px; margin: 0 0 14px; overflow-wrap: anywhere; }
.card .v-title { font-size: 1.12rem; margin-bottom: 8px; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.card.tone-green { border-left-color: var(--green); } .card.tone-amber { border-left-color: var(--amber); }
.card.tone-blue { border-left-color: var(--blue); } .card.tone-grey { border-left-color: var(--muted); }
.card.tone-green .v-title { color: var(--green); } .card.tone-amber .v-title { color: var(--amber); } .card.tone-blue .v-title { color: var(--blue); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
@media (max-width: 560px) { dl { grid-template-columns: 1fr; } dd { margin-bottom: 6px; } }
dt { color: var(--muted); font-size: .9rem; padding-top: 2px; } dd { margin: 0; }
.src { display: block; color: var(--muted); font-size: .82rem; }
.cautions { margin: 12px 0 0; padding: 10px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.cautions li { margin: 0 0 6px; }
.about h2 { font-size: 1.05rem; margin: 0 0 8px; } .about ul { padding-left: 18px; font-size: .92rem; } .about li { margin: 0 0 4px; }
|