Good version

This commit is contained in:
2026-11-02 04:23:13 +03:00
parent 0db0c479e5
commit 11cd13938c
17 changed files with 970 additions and 549 deletions

View File

@ -1,352 +1,174 @@
/* ── Токены Bionyx ── */
:root {
--bg: #0a0a0d;
--surface: #111117;
--surface-2: #17171f;
--border: #24242e;
--border-accent: #00d4ff;
--text: #e8e8ef;
--text-dim: #8b8b99;
--text-mute: #5a5a66;
--accent: #00d4ff;
--mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
--sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
--bg: #06080a;
--surface: rgba(255, 255, 255, 0.022);
--surface-2: rgba(255, 255, 255, 0.05);
--line: rgba(150, 255, 220, 0.1);
--line-2: rgba(150, 255, 220, 0.24);
--text: #d7e0de;
--dim: #8a9997;
--hi: #f3f8f6;
--acc: #4ff0b7;
--acc-soft: rgba(79, 240, 183, 0.12);
--sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Consolas, monospace;
--r: 16px;
color-scheme: dark;
}
* {
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
background: var(--bg);
color: var(--text);
font-family: var(--sans);
font-size: 15px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
html {
-webkit-text-size-adjust: 100%;
}
body {
padding: 60px 24px 80px;
max-width: 1200px;
margin: 0 auto;
}
/* ===== HEADER ===== */
.header {
text-align: center;
margin-bottom: 72px;
padding-top: 24px;
}
.header h1 {
font-family: var(--mono);
font-size: clamp(48px, 10vw, 96px);
font-weight: 800;
letter-spacing: 0.15em;
color: var(--text);
line-height: 1;
margin-bottom: 16px;
}
.header .subtitle {
font-family: var(--mono);
font-size: clamp(14px, 2vw, 20px);
color: var(--text-dim);
letter-spacing: 0.2em;
text-transform: uppercase;
}
/* ===== FOUNDATION ===== */
.foundation {
background: var(--surface);
border: 1px solid var(--border);
border-left: 2px solid var(--border-accent);
padding: 40px 48px;
margin-bottom: 40px;
}
.foundation h2 {
font-family: var(--mono);
font-size: 14px;
font-weight: 600;
letter-spacing: 0.25em;
color: var(--accent);
text-transform: uppercase;
margin-bottom: 32px;
}
.foundation .block {
text-align: justify;
margin-bottom: 20px;
color: var(--text);
font-size: 16px;
line-height: 1.7;
}
.foundation .block:last-child {
margin-bottom: 0;
}
/* ===== CARDS GRID ===== */
.cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
@media (max-width: 900px) {
.cards {
grid-template-columns: 1fr;
}
.foundation {
padding: 32px 24px;
}
}
/* ===== CARD ===== */
.card {
background: var(--surface);
border: 1px solid var(--border);
padding: 32px;
display: flex;
flex-direction: column;
gap: 20px;
transition: border-color 0.2s ease;
}
.card:hover {
border-color: var(--border-accent);
}
.card-header {
border-bottom: 1px solid var(--border);
padding-bottom: 20px;
}
.card h3 {
font-family: var(--mono);
font-size: 22px;
font-weight: 700;
letter-spacing: 0.08em;
color: var(--text);
margin-bottom: 6px;
}
.card .tagline {
font-size: 13px;
font-style: italic;
color: var(--text-dim);
letter-spacing: 0.03em;
}
.card-body {
display: flex;
flex-direction: column;
gap: 16px;
font-size: 14px;
}
.card-body p {
margin: 0;
min-height: 100dvh;
background:
radial-gradient(90% 55% at 50% -10%, rgba(79, 240, 183, 0.1) 0%, transparent 62%),
radial-gradient(70% 50% at 100% 100%, rgba(79, 240, 183, 0.05) 0%, transparent 60%),
var(--bg);
background-attachment: fixed;
color: var(--text);
font-family: var(--sans);
font-size: 15px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* ===== LISTS ===== */
.card-body ul,
.card-body ol {
/* техническая сетка поверх фона */
body::before {
content: '';
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
background-size: 64px 64px;
-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
}
#app {
position: relative;
z-index: 1;
}
::selection {
background: rgba(79, 240, 183, 0.28);
color: #fff;
}
::-webkit-scrollbar {
width: 10px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(150, 255, 220, 0.14);
border-radius: 8px;
}
/* ── Общие примитивы контента (используются внутри карточек) ── */
.bx-label {
margin: 0;
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--dim);
}
.bx-p {
margin: 0;
}
.bx-note {
margin: 0;
color: var(--dim);
font-size: 13.5px;
}
.bx-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 6px;
padding-left: 0;
gap: 8px;
}
.card-body ul li,
.card-body ol li {
color: var(--text);
padding-left: 16px;
.bx-list > li {
position: relative;
line-height: 1.55;
padding-left: 16px;
}
.card-body ul li::before {
content: '—';
.bx-list > li::before {
content: '';
position: absolute;
left: 0;
color: var(--text-mute);
left: 2px;
top: 0.62em;
width: 5px;
height: 5px;
background: var(--acc);
opacity: 0.65;
transform: rotate(45deg);
}
.card-body ol {
counter-reset: item;
.bx-steps {
margin: 0;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 8px;
}
.card-body ol li {
counter-increment: item;
padding-left: 24px;
}
.card-body ol li::before {
content: counter(item) '.';
position: absolute;
left: 0;
color: var(--accent);
.bx-steps > li::marker {
color: var(--acc);
font-family: var(--mono);
font-size: 12px;
}
.card-body ul ul {
margin-top: 6px;
padding-left: 4px;
code {
font-family: var(--mono);
font-size: 0.88em;
color: var(--acc);
background: var(--acc-soft);
border: 1px solid rgba(79, 240, 183, 0.16);
border-radius: 6px;
padding: 1px 6px;
overflow-wrap: anywhere;
}
.card-body ul ul li::before {
content: '•';
color: var(--text-mute);
}
.card-body strong {
color: var(--text);
b,
strong {
color: var(--hi);
font-weight: 600;
}
/* ===== SECTION TITLES INSIDE CARD ===== */
.section-title {
font-family: var(--mono);
font-size: 11px;
.up {
color: var(--acc);
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
margin-top: 8px;
margin-bottom: 8px;
padding-top: 12px;
border-top: 1px dashed var(--border);
}
.section-title:first-child {
border-top: none;
padding-top: 0;
margin-top: 0;
.justify {
text-align: justify;
text-justify: inter-word;
-webkit-hyphens: auto;
hyphens: auto;
}
/* ===== CODE / COMMANDS ===== */
.card-body code {
font-family: var(--mono);
font-size: 12.5px;
background: var(--surface-2);
color: var(--accent);
padding: 2px 6px;
border-radius: 2px;
border: 1px solid var(--border);
}
.command-block {
background: var(--surface-2);
border: 1px solid var(--border);
padding: 14px 16px;
font-family: var(--mono);
font-size: 12.5px;
color: var(--text-dim);
line-height: 1.7;
overflow-x: auto;
margin-top: 8px;
}
.command-block .prompt {
color: var(--accent);
}
/* ===== ACCORDION (details/summary) ===== */
details {
background: var(--surface-2);
border: 1px solid var(--border);
padding: 12px 16px;
margin-top: 8px;
}
details[open] {
border-color: var(--border-accent);
}
details summary {
cursor: pointer;
font-family: var(--mono);
font-size: 13px;
font-weight: 600;
color: var(--text);
list-style: none;
display: flex;
align-items: center;
gap: 10px;
user-select: none;
}
details summary::-webkit-details-marker {
display: none;
}
details summary::before {
content: '▸';
color: var(--accent);
font-size: 14px;
transition: transform 0.2s ease;
}
details[open] summary::before {
transform: rotate(90deg);
}
details summary strong {
color: var(--text);
}
details .details-content {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 10px;
}
/* ===== ART BLOCK ===== */
.art-block {
margin-top: 12px;
padding: 16px;
background: var(--surface-2);
border: 1px dashed var(--border);
font-size: 13px;
font-style: italic;
color: var(--text-dim);
line-height: 1.6;
}
.art-block::before {
content: '[ visual ]';
display: block;
font-family: var(--mono);
font-style: normal;
font-size: 10px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 8px;
}
/* ===== INSTALL BLOCK ===== */
.install-block {
margin-top: 8px;
padding-top: 16px;
border-top: 1px solid var(--border);
}
.install-block .label {
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
margin-bottom: 10px;
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}