qholo-spec / docs /style.css
IhorDietochevskyi's picture
Emit OMNISAVALON Wave 1 multiplatform release via Beacon
eee1461 verified
Raw History Blame Contribute Delete
5.4 kB
/* OMNISAVALON .qholo Constellation Standard — Kintsugi Obsidian & Alabaster */
:root {
color-scheme: light dark;
accent-color: #d4af37;
--bg: #111214;
--surface: #181a1f;
--fg: #f8f6f0;
--muted: #b7b2a6;
--accent: #d4af37;
--border: rgba(212, 175, 55, 0.32);
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f8f6f0;
--surface: #ffffff;
--fg: #111214;
--muted: #55524b;
--accent: #9a7412;
--border: rgba(17, 18, 20, 0.18);
}
}
* {
box-sizing: border-box;
scrollbar-color: var(--accent) var(--surface);
scrollbar-width: auto;
}
::selection {
background: rgba(212, 175, 55, 0.35);
color: var(--fg);
}
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 400 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
h1, h2, h3 {
text-wrap: balance;
margin-block: 0 0.75rem;
}
code, pre {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.hero {
border-block-end: 1px solid var(--border);
padding: 2rem 1.25rem;
background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 65%);
}
.hero-inner, .container {
max-inline-size: 72rem;
margin-inline: auto;
}
.container {
padding: 1.5rem 1.25rem 3rem;
}
.badge-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-block-end: 0.75rem;
}
.pill {
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.2rem 0.75rem;
font-size: 0.85rem;
color: var(--accent);
}
.tablist {
display: flex;
overflow-x: auto;
gap: 0.25rem;
border-block-end: 1px solid var(--border);
margin-block-end: 1rem;
}
[role="tab"] {
flex: none;
position: relative;
background: transparent;
color: var(--muted);
border: 0;
padding: 0.75rem 1rem;
font: 600 0.95rem/1.2 system-ui, sans-serif;
cursor: pointer;
}
[role="tab"][aria-selected="true"] {
color: var(--accent);
}
[role="tab"][aria-selected="true"]::after {
content: "";
position: absolute;
inset: auto 0 0;
border-block-end: 3px solid var(--accent);
}
.panel-inner {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.25rem;
}
.controls-row, .specimen-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
margin-block: 1rem;
}
input[type="file"]::file-selector-button,
.primary-btn,
.spec-btn,
.copy-button {
background: var(--surface);
color: var(--accent);
border: 1px solid var(--accent);
border-radius: 8px;
padding: 0.45rem 0.9rem;
min-inline-size: 24px;
min-block-size: 24px;
font-weight: 600;
cursor: pointer;
}
textarea {
inline-size: 100%;
resize: vertical;
background: var(--bg);
color: var(--fg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.6rem;
font: 400 0.9rem/1.4 ui-monospace, monospace;
}
.inspect-out {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1rem;
overflow-x: auto;
max-block-size: 22rem;
margin-block: 0.75rem;
}
.table-wrapper {
overflow: auto;
max-inline-size: 100%;
max-block-size: min(560px, 75vh);
container-type: inline-size;
}
table {
inline-size: 100%;
border-collapse: separate;
border-spacing: 0;
--label-2: "Format ID";
--label-3: "IANA MIME";
--label-4: "Offset-0 Magic";
--label-5: "macOS UTI";
--label-6: "Role";
}
caption {
text-align: start;
font-weight: 600;
margin-block-end: 0.5rem;
}
thead {
position: sticky;
inset-block-start: 0;
z-index: 2;
background: var(--surface);
}
th, td {
padding: 0.6rem 0.75rem;
border-block-end: 1px solid var(--border);
text-align: start;
vertical-align: top;
}
tbody th {
position: sticky;
inset-inline-start: 0;
z-index: 1;
background: var(--surface);
color: var(--accent);
}
@container (width < 640px) {
table, thead, tbody, tr, th, td {
display: block;
}
thead {
display: none;
}
tr {
margin-block-end: 1rem;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.5rem;
}
tbody th {
position: sticky;
inset-block-start: 0;
inset-inline-start: auto;
}
td:nth-child(2)::before { content: var(--label-2) ": "; font-weight: 600; }
td:nth-child(3)::before { content: var(--label-3) ": "; font-weight: 600; }
td:nth-child(4)::before { content: var(--label-4) ": "; font-weight: 600; }
td:nth-child(5)::before { content: var(--label-5) ": "; font-weight: 600; }
td:nth-child(6)::before { content: var(--label-6) ": "; font-weight: 600; }
}
.q-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: 0.75rem;
}
.q-card {
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.9rem;
}
.copy-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
margin-block: 0.65rem;
}
.copy {
position: relative;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.tip {
font-size: 0.85rem;
color: var(--accent);
opacity: 0;
transition: opacity 0.2s ease;
}
.copy-button[data-copied] + .tip,
.copy-button[data-failed] + .tip {
opacity: 1;
}