Files
web/src/app.css
2026-11-02 04:23:13 +03:00

175 lines
3.3 KiB
CSS

/* ── Токены Bionyx ── */
:root {
--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;
}
html {
-webkit-text-size-adjust: 100%;
}
body {
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;
}
/* техническая сетка поверх фона */
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: 8px;
}
.bx-list > li {
position: relative;
padding-left: 16px;
}
.bx-list > li::before {
content: '';
position: absolute;
left: 2px;
top: 0.62em;
width: 5px;
height: 5px;
background: var(--acc);
opacity: 0.65;
transform: rotate(45deg);
}
.bx-steps {
margin: 0;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 8px;
}
.bx-steps > li::marker {
color: var(--acc);
font-family: var(--mono);
font-size: 12px;
}
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;
}
b,
strong {
color: var(--hi);
font-weight: 600;
}
.up {
color: var(--acc);
font-weight: 600;
}
.justify {
text-align: justify;
text-justify: inter-word;
-webkit-hyphens: auto;
hyphens: auto;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}