Files
web/src/app.css

175 lines
3.3 KiB
CSS
Raw Normal View History

2026-11-02 04:23:13 +03:00
/* ── Токены Bionyx ── */
2026-11-02 03:47:53 +03:00
:root {
2026-11-02 04:23:13 +03:00
--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;
2026-11-02 03:47:53 +03:00
}
2026-11-02 04:23:13 +03:00
html {
-webkit-text-size-adjust: 100%;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
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;
2026-11-02 03:55:06 +03:00
color: var(--text);
font-family: var(--sans);
font-size: 15px;
2026-11-02 04:23:13 +03:00
line-height: 1.6;
2026-11-02 03:55:06 +03:00
-webkit-font-smoothing: antialiased;
2026-11-02 03:47:53 +03:00
}
2026-11-02 04:23:13 +03:00
/* техническая сетка поверх фона */
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%);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
#app {
position: relative;
z-index: 1;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::selection {
background: rgba(79, 240, 183, 0.28);
color: #fff;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar {
width: 10px;
height: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar-track {
background: transparent;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
::-webkit-scrollbar-thumb {
background: rgba(150, 255, 220, 0.14);
border-radius: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
/* ── Общие примитивы контента (используются внутри карточек) ── */
.bx-label {
margin: 0;
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
2026-11-02 04:23:13 +03:00
font-size: 11px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--dim);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-p {
margin: 0;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-note {
margin: 0;
color: var(--dim);
font-size: 13.5px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list {
2026-11-02 03:55:06 +03:00
list-style: none;
2026-11-02 04:23:13 +03:00
margin: 0;
padding: 0;
2026-11-02 03:55:06 +03:00
display: flex;
flex-direction: column;
2026-11-02 04:23:13 +03:00
gap: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list > li {
2026-11-02 03:55:06 +03:00
position: relative;
2026-11-02 04:23:13 +03:00
padding-left: 16px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-list > li::before {
content: '';
2026-11-02 03:55:06 +03:00
position: absolute;
2026-11-02 04:23:13 +03:00
left: 2px;
top: 0.62em;
width: 5px;
height: 5px;
background: var(--acc);
opacity: 0.65;
transform: rotate(45deg);
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-steps {
margin: 0;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 8px;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
.bx-steps > li::marker {
color: var(--acc);
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
font-size: 12px;
}
2026-11-02 04:23:13 +03:00
code {
2026-11-02 03:55:06 +03:00
font-family: var(--mono);
2026-11-02 04:23:13 +03:00
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);
2026-11-02 03:55:06 +03:00
font-weight: 600;
}
2026-11-02 04:23:13 +03:00
.up {
color: var(--acc);
2026-11-02 03:55:06 +03:00
font-weight: 600;
}
2026-11-02 04:23:13 +03:00
.justify {
text-align: justify;
text-justify: inter-word;
-webkit-hyphens: auto;
hyphens: auto;
2026-11-02 03:55:06 +03:00
}
2026-11-02 04:23:13 +03:00
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
2026-11-02 03:47:53 +03:00
}