video-keyframes / style.css
Ghongha007's picture
Back to plain search links (9f44eec)
e701140 verified
Raw History Blame Contribute Delete
6.06 kB
: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); }
/* video-keyframes */
main > section { margin-top: 18px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 14px 0; padding: 8px 12px 12px; }
legend { font-weight: 600; padding: 0 4px; }
fieldset label { display: block; margin: 6px 0; }
.range { padding-left: 26px; color: var(--muted); font-size: .92rem; }
#every { width: 70px; font: inherit; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row.between { justify-content: space-between; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; padding: 8px 18px; }
@media (prefers-color-scheme: dark) { .primary { color: #0d1117; } }
button:disabled { opacity: .5; cursor: not-allowed; }
progress { width: 100%; margin-top: 12px; accent-color: var(--accent); }
video { width: 100%; max-height: 360px; background: #000; border-radius: 8px; }
h2 { font-size: 1.2rem; margin: 0; }
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 12px; }
.frames figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.thumb { display: block; padding: 0; border: 0; background: none; width: 100%; cursor: zoom-in; }
.thumb img { display: block; width: 100%; border-radius: 6px; }
figcaption { margin: 6px 0 4px; font-size: .9rem; } .how { color: var(--muted); font-size: .8rem; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.row.small button { font-size: .8rem; padding: 3px 8px; }
.engines { margin-top: 6px; font-size: .8rem; color: var(--muted); }
dialog { max-width: 96vw; max-height: 94vh; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
dialog img { display: block; max-width: 92vw; max-height: 82vh; } dialog form { text-align: right; margin-top: 6px; }
dialog::backdrop { background: rgba(0,0,0,.7); }
.about h2 { font-size: 1.05rem; margin: 0 0 8px; } .about ul { padding-left: 18px; font-size: .92rem; } .about li { margin: 0 0 6px; }