🎨 Ремонт-сайт: редизайн «Архитектурный чертёж»
All checks were successful
Deploy Remont Site / deploy (push) Successful in 59s
All checks were successful
Deploy Remont Site / deploy (push) Successful in 59s
Стиль концепт-борда переведён в эстетику рабочего чертежа: миллиметровка-фон, blueprint-синий акцент поверх тёплой палитры, JetBrains Mono (кириллица) для площадей/цен/аннотаций, реперы на планах, штамп с параметрами, номера листов. Карточкам мебели починен контраст + stagger, таблица техники — как спецификация. Изменены только .site/assets/style.css и .site/generate.js. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuV7iC61963xpBTBvxkyEq
This commit is contained in:
@@ -1,57 +1,70 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
Ремонт квартиры — концепт-борд
|
Ремонт квартиры — концепт как рабочий чертёж архитектора.
|
||||||
Палитра взята из материалов самой квартиры:
|
Тёплая палитра материалов самой квартиры (шалфей, дуб,
|
||||||
шалфейный фасад кухни, тёплый дуб, штукатурка, пыльно-голубая спальня.
|
штукатурка) + чертёжный слой: миллиметровка, реперы,
|
||||||
|
размерные линии, моноширинные аннотации, blueprint-синий.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* поверхности */
|
/* поверхности — тёплая бумага чертежа */
|
||||||
--plaster: #EDE8DE; /* фон — тёплая штукатурка */
|
--plaster: #E7E2D5; /* фон */
|
||||||
--paper: #F7F3EA; /* карточки */
|
--paper: #F3EEE4; /* карточки */
|
||||||
--paper-2: #FBF9F3; /* приподнятые карточки */
|
--paper-2: #FBF8F1; /* приподнятые поверхности */
|
||||||
--ink: #2B2A25; /* текст */
|
--ink: #21221A; /* текст */
|
||||||
--ink-soft:#6A675C; /* вторичный текст */
|
--ink-soft:#6B6959; /* вторичный текст */
|
||||||
|
|
||||||
/* материалы квартиры */
|
/* материалы квартиры */
|
||||||
--sage: #7C8A66; /* фасад кухни */
|
--sage: #6E7D55; /* фасад кухни */
|
||||||
--sage-deep: #55613C; /* тёмный шалфей для текста */
|
--sage-deep: #46522E; /* тёмный шалфей для текста */
|
||||||
--oak: #C7A579; /* дуб */
|
--oak: #B8945F; /* дуб */
|
||||||
--blue: #97B0C3; /* спальня */
|
|
||||||
--graphite: #4B4E52; /* пол / диван */
|
--graphite: #4B4E52; /* пол / диван */
|
||||||
|
|
||||||
--line: rgba(43, 42, 37, .14);
|
/* чертёжный слой */
|
||||||
--line-strong: rgba(43, 42, 37, .28);
|
--blueprint: #315468; /* чертёжная синь — акцент структуры */
|
||||||
--shadow: 0 1px 2px rgba(43,42,37,.05), 0 12px 32px -18px rgba(43,42,37,.28);
|
--blueprint-soft: #6E93A6;
|
||||||
--shadow-lift: 0 2px 4px rgba(43,42,37,.06), 0 24px 48px -22px rgba(43,42,37,.38);
|
--blueprint-line: rgba(49, 84, 104, .55);
|
||||||
|
|
||||||
--maxw: 1160px;
|
--line: rgba(33, 34, 26, .16);
|
||||||
--r: 14px;
|
--line-strong: rgba(33, 34, 26, .30);
|
||||||
--r-lg: 22px;
|
--grid-line: rgba(49, 84, 104, .055); /* миллиметровка */
|
||||||
|
--grid-bold: rgba(49, 84, 104, .085);
|
||||||
|
|
||||||
|
--shadow: 0 1px 2px rgba(33,34,26,.05), 0 14px 34px -20px rgba(33,34,26,.30);
|
||||||
|
--shadow-lift: 0 2px 4px rgba(33,34,26,.07), 0 26px 54px -22px rgba(33,34,26,.42);
|
||||||
|
|
||||||
|
--maxw: 1180px;
|
||||||
|
--r: 6px; /* чертёж — минимум скруглений */
|
||||||
|
--r-lg: 10px;
|
||||||
|
|
||||||
--ff-display: "Spectral", Georgia, serif;
|
--ff-display: "Spectral", Georgia, serif;
|
||||||
--ff-body: "Onest", system-ui, -apple-system, sans-serif;
|
--ff-body: "Onest", system-ui, -apple-system, sans-serif;
|
||||||
|
--ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-theme="dark"] {
|
:root[data-theme="dark"] {
|
||||||
--plaster: #201F1B;
|
--plaster: #191C1E;
|
||||||
--paper: #262521;
|
--paper: #212527;
|
||||||
--paper-2: #2D2C27;
|
--paper-2: #282D2F;
|
||||||
--ink: #EFEADF;
|
--ink: #ECE7DB;
|
||||||
--ink-soft:#A7A296;
|
--ink-soft:#9BA0A0;
|
||||||
--sage: #9DAE84;
|
--sage: #9DB07F;
|
||||||
--sage-deep: #B7C79E;
|
--sage-deep: #B7C99C;
|
||||||
--oak: #D6B98E;
|
--oak: #D4B788;
|
||||||
--blue: #A6BED0;
|
|
||||||
--graphite: #8A8D91;
|
--graphite: #8A8D91;
|
||||||
--line: rgba(239, 234, 223, .13);
|
--blueprint: #8FB6CB;
|
||||||
--line-strong: rgba(239, 234, 223, .26);
|
--blueprint-soft: #6E93A6;
|
||||||
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -18px rgba(0,0,0,.6);
|
--blueprint-line: rgba(143, 182, 203, .5);
|
||||||
--shadow-lift: 0 2px 4px rgba(0,0,0,.35), 0 26px 52px -22px rgba(0,0,0,.7);
|
--line: rgba(236, 231, 219, .14);
|
||||||
|
--line-strong: rgba(236, 231, 219, .28);
|
||||||
|
--grid-line: rgba(143, 182, 203, .05);
|
||||||
|
--grid-bold: rgba(143, 182, 203, .08);
|
||||||
|
--shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -20px rgba(0,0,0,.62);
|
||||||
|
--shadow-lift: 0 2px 4px rgba(0,0,0,.36), 0 28px 56px -22px rgba(0,0,0,.72);
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
|
|
||||||
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
|
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
|
||||||
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -66,76 +79,83 @@ body {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* тонкая тканевая текстура фона */
|
/* чертёжная миллиметровка на фоне */
|
||||||
body::before {
|
body::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-image: radial-gradient(circle at 1px 1px, rgba(43,42,37,.045) 1px, transparent 0);
|
background-image:
|
||||||
background-size: 22px 22px;
|
linear-gradient(var(--grid-line) 1px, transparent 1px),
|
||||||
}
|
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
|
||||||
:root[data-theme="dark"] body::before {
|
linear-gradient(var(--grid-bold) 1px, transparent 1px),
|
||||||
background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.03) 1px, transparent 0);
|
linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px);
|
||||||
|
background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img { max-width: 100%; display: block; }
|
img { max-width: 100%; display: block; }
|
||||||
a { color: inherit; }
|
a { color: inherit; }
|
||||||
|
|
||||||
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
|
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
|
||||||
|
|
||||||
/* ---------- типографика ---------- */
|
/* ---------- моноширинные аннотации (размеры, коды, площади) ---------- */
|
||||||
.eyebrow {
|
.eyebrow {
|
||||||
font-size: 12.5px;
|
font-family: var(--ff-mono);
|
||||||
letter-spacing: .22em;
|
font-size: 12px;
|
||||||
|
letter-spacing: .16em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
color: var(--sage-deep);
|
color: var(--blueprint);
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: .6em;
|
gap: .7em;
|
||||||
}
|
}
|
||||||
.eyebrow::before {
|
.eyebrow::before {
|
||||||
content: "";
|
content: "";
|
||||||
width: 26px; height: 1px;
|
width: 22px; height: 0;
|
||||||
background: currentColor;
|
border-top: 1px solid currentColor;
|
||||||
opacity: .6;
|
/* размерная засечка на конце */
|
||||||
|
box-shadow: 0 -3px 0 -2px currentColor, 0 3px 0 -2px currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
|
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
|
||||||
|
|
||||||
/* ---------- шапка ---------- */
|
/* ---------- шапка — как штамп чертежа ---------- */
|
||||||
.topbar {
|
.topbar {
|
||||||
position: sticky; top: 0; z-index: 50;
|
position: sticky; top: 0; z-index: 50;
|
||||||
backdrop-filter: saturate(1.4) blur(10px);
|
backdrop-filter: saturate(1.3) blur(10px);
|
||||||
background: color-mix(in srgb, var(--plaster) 82%, transparent);
|
background: color-mix(in srgb, var(--plaster) 84%, transparent);
|
||||||
border-bottom: 1px solid transparent;
|
border-bottom: 1px solid transparent;
|
||||||
transition: border-color .3s, background .3s;
|
transition: border-color .3s, background .3s;
|
||||||
}
|
}
|
||||||
.topbar.scrolled { border-bottom-color: var(--line); }
|
.topbar.scrolled { border-bottom-color: var(--line); }
|
||||||
.topbar__inner {
|
.topbar__inner {
|
||||||
max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
|
max-width: var(--maxw); margin: 0 auto; padding: 13px 28px;
|
||||||
display: flex; align-items: center; justify-content: space-between; gap: 18px;
|
display: flex; align-items: center; justify-content: space-between; gap: 18px;
|
||||||
}
|
}
|
||||||
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 600; letter-spacing: .01em; }
|
.brand { display: flex; align-items: baseline; gap: 11px; font-weight: 600; }
|
||||||
.brand b { font-family: var(--ff-display); font-weight: 600; font-size: 19px; letter-spacing: .01em; }
|
.brand b { font-family: var(--ff-display); font-weight: 600; font-size: 20px; letter-spacing: .01em; }
|
||||||
.brand span { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }
|
.brand span {
|
||||||
.nav { display: flex; align-items: center; gap: 4px; }
|
font-family: var(--ff-mono); font-size: 11px; color: var(--blueprint);
|
||||||
|
letter-spacing: .08em; padding: 3px 8px; border: 1px solid var(--line);
|
||||||
|
border-radius: 999px;
|
||||||
|
}
|
||||||
|
.nav { display: flex; align-items: center; gap: 2px; }
|
||||||
.nav a {
|
.nav a {
|
||||||
text-decoration: none; font-size: 14.5px; color: var(--ink-soft);
|
text-decoration: none; font-size: 14.5px; color: var(--ink-soft);
|
||||||
padding: 7px 13px; border-radius: 999px; transition: color .2s, background .2s;
|
padding: 7px 13px; border-radius: 6px; transition: color .2s, background .2s;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--sage) 14%, transparent); }
|
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--blueprint) 12%, transparent); }
|
||||||
.nav a.active { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 18%, transparent); }
|
.nav a.active { color: var(--blueprint); background: color-mix(in srgb, var(--blueprint) 15%, transparent); }
|
||||||
|
|
||||||
.theme-toggle {
|
.theme-toggle {
|
||||||
border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
|
border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
|
||||||
width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
|
width: 38px; height: 38px; border-radius: 6px; cursor: pointer;
|
||||||
display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s;
|
display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s;
|
||||||
}
|
}
|
||||||
.theme-toggle:hover { background: color-mix(in srgb, var(--sage) 14%, transparent); border-color: var(--sage); }
|
.theme-toggle:hover { background: color-mix(in srgb, var(--blueprint) 12%, transparent); border-color: var(--blueprint); }
|
||||||
.theme-toggle svg { width: 18px; height: 18px; }
|
.theme-toggle svg { width: 18px; height: 18px; }
|
||||||
.theme-toggle .sun { display: none; }
|
.theme-toggle .sun { display: none; }
|
||||||
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
|
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
|
||||||
@@ -144,47 +164,70 @@ h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
|
|||||||
.nav a .sm { display: none; }
|
.nav a .sm { display: none; }
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
.nav a { padding: 6px 9px; font-size: 13px; }
|
.nav a { padding: 6px 9px; font-size: 13px; }
|
||||||
.brand span { display: none; }
|
|
||||||
}
|
}
|
||||||
@media (max-width: 560px) {
|
@media (max-width: 560px) {
|
||||||
.brand { display: none; }
|
.brand span { display: none; }
|
||||||
.nav a .lg { display: none; }
|
.nav a .lg { display: none; }
|
||||||
.nav a .sm { display: inline; }
|
.nav a .sm { display: inline; }
|
||||||
.nav a { padding: 6px 11px; }
|
.nav a { padding: 6px 11px; }
|
||||||
.topbar__inner { justify-content: space-between; }
|
}
|
||||||
|
|
||||||
|
/* ---------- реперные метки (crop marks) на чертёжных врезках ---------- */
|
||||||
|
.sheet { position: relative; }
|
||||||
|
.sheet::after {
|
||||||
|
content: ""; position: absolute; inset: 9px; pointer-events: none;
|
||||||
|
background:
|
||||||
|
/* TL */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) left top/14px 1px no-repeat,
|
||||||
|
linear-gradient(var(--blueprint-line),var(--blueprint-line)) left top/1px 14px no-repeat,
|
||||||
|
/* TR */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) right top/14px 1px no-repeat,
|
||||||
|
linear-gradient(var(--blueprint-line),var(--blueprint-line)) right top/1px 14px no-repeat,
|
||||||
|
/* BL */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) left bottom/14px 1px no-repeat,
|
||||||
|
linear-gradient(var(--blueprint-line),var(--blueprint-line)) left bottom/1px 14px no-repeat,
|
||||||
|
/* BR */ linear-gradient(var(--blueprint-line),var(--blueprint-line)) right bottom/14px 1px no-repeat,
|
||||||
|
linear-gradient(var(--blueprint-line),var(--blueprint-line)) right bottom/1px 14px no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- hero ---------- */
|
/* ---------- hero ---------- */
|
||||||
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 60px); }
|
.hero { padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); }
|
||||||
.hero__grid {
|
.hero__grid {
|
||||||
display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
|
display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.hero__title {
|
.hero__title {
|
||||||
font-size: clamp(52px, 9vw, 108px);
|
font-size: clamp(52px, 9vw, 112px);
|
||||||
line-height: .92; letter-spacing: -.02em; margin: 18px 0 0;
|
line-height: .9; letter-spacing: -.022em; margin: 20px 0 0;
|
||||||
}
|
}
|
||||||
.hero__title em { font-style: italic; color: var(--sage-deep); }
|
.hero__title em { font-style: italic; color: var(--blueprint); }
|
||||||
.hero__lead {
|
.hero__lead {
|
||||||
margin: 24px 0 0; max-width: 30ch; color: var(--ink-soft); font-size: 18px;
|
margin: 26px 0 0; max-width: 32ch; color: var(--ink-soft); font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* штамп-таблица с параметрами (title block) */
|
||||||
.hero__meta {
|
.hero__meta {
|
||||||
margin-top: 30px; display: flex; flex-wrap: wrap; gap: 26px;
|
margin-top: 32px; display: flex; flex-wrap: wrap;
|
||||||
border-top: 1px solid var(--line); padding-top: 22px;
|
border: 1px solid var(--line); border-radius: var(--r);
|
||||||
|
overflow: hidden; background: color-mix(in srgb, var(--paper-2) 55%, transparent);
|
||||||
}
|
}
|
||||||
.hero__meta div { display: flex; flex-direction: column; }
|
.hero__meta div {
|
||||||
|
display: flex; flex-direction: column; padding: 14px 22px 13px;
|
||||||
|
border-right: 1px solid var(--line); flex: 1; min-width: 96px;
|
||||||
|
}
|
||||||
|
.hero__meta div:last-child { border-right: none; }
|
||||||
.hero__meta .num { font-family: var(--ff-display); font-size: 30px; line-height: 1; color: var(--ink); }
|
.hero__meta .num { font-family: var(--ff-display); font-size: 30px; line-height: 1; color: var(--ink); }
|
||||||
.hero__meta .lbl { font-size: 12.5px; letter-spacing: .04em; color: var(--ink-soft); margin-top: 6px; }
|
.hero__meta .lbl {
|
||||||
|
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
|
||||||
|
color: var(--blueprint); margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.hero__plan {
|
.hero__plan {
|
||||||
background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
|
background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
|
||||||
padding: 22px; box-shadow: var(--shadow); position: relative;
|
padding: 26px; box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
.hero__plan img { border-radius: 8px; margin: 0 auto; max-height: 460px; width: auto; cursor: zoom-in; }
|
.hero__plan img { border-radius: 3px; margin: 0 auto; max-height: 470px; width: auto; cursor: zoom-in; }
|
||||||
.hero__plan .cap {
|
.hero__plan .cap {
|
||||||
position: absolute; top: 22px; left: 22px;
|
position: absolute; top: 20px; left: 20px; z-index: 1;
|
||||||
font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
|
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
|
||||||
color: var(--ink-soft); background: var(--paper); padding: 4px 10px; border-radius: 999px;
|
color: var(--blueprint); background: var(--paper); padding: 5px 11px; border-radius: 4px;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,51 +238,72 @@ h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; margin: 0; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- палитра материалов ---------- */
|
/* ---------- палитра материалов ---------- */
|
||||||
.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
|
.swatches { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
|
||||||
.swatch { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-soft); }
|
.swatch {
|
||||||
|
display: flex; align-items: center; gap: 9px;
|
||||||
|
font-family: var(--ff-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-soft);
|
||||||
|
}
|
||||||
.swatch i {
|
.swatch i {
|
||||||
width: 22px; height: 22px; border-radius: 50%; display: block;
|
width: 20px; height: 20px; border-radius: 4px; display: block;
|
||||||
box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
|
box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- секции ---------- */
|
/* ---------- секции ---------- */
|
||||||
.section { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
|
.section { padding: clamp(52px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
|
||||||
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
|
.section__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
|
||||||
.section__head h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.015em; line-height: 1; margin-top: 14px; }
|
.section__head h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.018em; line-height: 1; margin-top: 16px; }
|
||||||
|
|
||||||
|
/* номер листа (как на рабочем чертеже) */
|
||||||
.section__index {
|
.section__index {
|
||||||
font-family: var(--ff-display); font-size: clamp(46px, 7vw, 84px); line-height: 1;
|
font-family: var(--ff-display); font-size: clamp(44px, 6.5vw, 78px); line-height: .9;
|
||||||
color: var(--line-strong); font-weight: 500;
|
color: var(--line-strong); font-weight: 500; text-align: right; position: relative;
|
||||||
}
|
}
|
||||||
.section__lead { max-width: 46ch; color: var(--ink-soft); margin: 20px 0 0; }
|
.section__index::before {
|
||||||
|
content: "ЛИСТ"; display: block;
|
||||||
|
font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .22em; font-weight: 500;
|
||||||
|
color: var(--blueprint); margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
.section__lead { max-width: 48ch; color: var(--ink-soft); margin: 20px 0 0; }
|
||||||
|
|
||||||
/* планировка */
|
/* планировка */
|
||||||
.plan-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,52px); margin-top: 44px; align-items: start; }
|
.plan-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,52px); margin-top: 46px; align-items: start; }
|
||||||
.plan-figure {
|
.plan-figure {
|
||||||
background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
|
background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
|
||||||
padding: 26px; box-shadow: var(--shadow); display: grid; place-items: center;
|
padding: 30px; box-shadow: var(--shadow); display: grid; place-items: center;
|
||||||
}
|
}
|
||||||
.plan-figure img { max-height: 540px; width: auto; cursor: zoom-in; }
|
.plan-figure img { max-height: 540px; width: auto; cursor: zoom-in; border-radius: 3px; }
|
||||||
|
|
||||||
.rooms { list-style: none; margin: 0; padding: 0; }
|
.rooms { list-style: none; margin: 0; padding: 0; }
|
||||||
.rooms li {
|
.rooms li {
|
||||||
display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
|
display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
|
||||||
padding: 15px 4px; border-bottom: 1px solid var(--line);
|
padding: 15px 6px; border-bottom: 1px solid var(--line); transition: background .2s;
|
||||||
}
|
}
|
||||||
.rooms li:first-child { border-top: 1px solid var(--line); }
|
.rooms li:first-child { border-top: 1px solid var(--line); }
|
||||||
|
.rooms li:hover { background: color-mix(in srgb, var(--blueprint) 6%, transparent); }
|
||||||
.room-no {
|
.room-no {
|
||||||
width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
|
width: 30px; height: 30px; border-radius: 5px; display: grid; place-items: center;
|
||||||
font-family: var(--ff-display); font-size: 17px; color: var(--sage-deep);
|
font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--blueprint);
|
||||||
border: 1px solid var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent);
|
border: 1px solid var(--blueprint-line); background: color-mix(in srgb, var(--blueprint) 8%, transparent);
|
||||||
}
|
}
|
||||||
.room-name { font-weight: 500; }
|
.room-name { font-weight: 500; }
|
||||||
.room-name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
|
.room-name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
|
||||||
.room-area { font-family: var(--ff-display); font-size: 20px; color: var(--ink); white-space: nowrap; }
|
.room-area {
|
||||||
|
font-family: var(--ff-mono); font-size: 14px; color: var(--ink); white-space: nowrap;
|
||||||
|
padding-left: 16px; position: relative;
|
||||||
|
}
|
||||||
|
/* размерная засечка перед площадью */
|
||||||
|
.room-area::before {
|
||||||
|
content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px;
|
||||||
|
background: var(--blueprint-line); transform: translateY(-50%);
|
||||||
|
}
|
||||||
a.rooms-link { text-decoration: none; }
|
a.rooms-link { text-decoration: none; }
|
||||||
a.rooms-link .room-name { transition: color .2s; }
|
a.rooms-link .room-name { transition: color .2s; }
|
||||||
a.rooms-link:hover .room-name { color: var(--sage-deep); }
|
a.rooms-link:hover .room-name { color: var(--blueprint); }
|
||||||
.tag {
|
.tag {
|
||||||
font-size: 11px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
|
font-family: var(--ff-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
|
||||||
|
padding: 4px 9px; border-radius: 4px; white-space: nowrap;
|
||||||
}
|
}
|
||||||
.tag--done { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 16%, transparent); }
|
.tag--done { color: var(--sage-deep); background: color-mix(in srgb, var(--sage) 18%, transparent); }
|
||||||
.tag--wip { color: var(--ink-soft); background: color-mix(in srgb, var(--ink-soft) 12%, transparent); }
|
.tag--wip { color: var(--ink-soft); background: color-mix(in srgb, var(--ink-soft) 12%, transparent); }
|
||||||
|
|
||||||
@media (max-width: 860px) { .plan-layout { grid-template-columns: 1fr; } }
|
@media (max-width: 860px) { .plan-layout { grid-template-columns: 1fr; } }
|
||||||
@@ -249,61 +313,84 @@ a.rooms-link:hover .room-name { color: var(--sage-deep); }
|
|||||||
.renders--hero { grid-template-columns: 1fr; }
|
.renders--hero { grid-template-columns: 1fr; }
|
||||||
.renders--trio { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
|
.renders--trio { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
|
||||||
.render {
|
.render {
|
||||||
position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
|
position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong);
|
||||||
box-shadow: var(--shadow); cursor: zoom-in; background: var(--paper);
|
box-shadow: var(--shadow); cursor: zoom-in; background: var(--paper);
|
||||||
}
|
}
|
||||||
.render img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
|
.render img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
|
||||||
.render:hover img { transform: scale(1.035); }
|
.render:hover img { transform: scale(1.035); }
|
||||||
.render .rcap {
|
.render .rcap {
|
||||||
position: absolute; left: 12px; bottom: 12px;
|
position: absolute; left: 12px; bottom: 12px;
|
||||||
font-size: 12px; letter-spacing: .04em; color: #fff;
|
font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; color: #fff;
|
||||||
background: rgba(20,20,18,.55); backdrop-filter: blur(4px);
|
background: rgba(20,24,26,.6); backdrop-filter: blur(4px);
|
||||||
padding: 5px 11px; border-radius: 999px;
|
padding: 5px 11px; border-radius: 4px;
|
||||||
}
|
}
|
||||||
@media (max-width: 720px) { .renders--trio { grid-template-columns: 1fr; } }
|
@media (max-width: 720px) { .renders--trio { grid-template-columns: 1fr; } }
|
||||||
|
|
||||||
/* блок вариантов (мебель) */
|
/* подзаголовок блока — как строка спецификации */
|
||||||
.subhead { display: flex; align-items: baseline; gap: 14px; margin: 56px 0 22px; }
|
.subhead { display: flex; align-items: baseline; gap: 14px; margin: 58px 0 24px; }
|
||||||
.subhead h3 { font-size: 26px; letter-spacing: -.01em; }
|
.subhead h3 { font-size: 27px; letter-spacing: -.01em; }
|
||||||
.subhead .count { font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
|
.subhead .count { font-family: var(--ff-mono); font-size: 11.5px; color: var(--blueprint); letter-spacing: .04em; }
|
||||||
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
|
.subhead::after {
|
||||||
|
content: ""; flex: 1; height: 0; border-top: 1px solid var(--line); align-self: center;
|
||||||
|
/* засечка на правом конце */
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
|
/* карточки вариантов (мебель) */
|
||||||
|
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
|
||||||
.opt {
|
.opt {
|
||||||
display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
|
display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line-strong);
|
||||||
border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
|
border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
|
||||||
transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
|
transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
|
||||||
}
|
}
|
||||||
.opt:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--sage); }
|
.opt:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blueprint); }
|
||||||
.opt__media { aspect-ratio: 16 / 10; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
|
.opt__media {
|
||||||
.opt__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
|
aspect-ratio: 4 / 3; background: var(--paper); cursor: zoom-in; overflow: hidden;
|
||||||
.opt__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
|
border-bottom: 1px solid var(--line);
|
||||||
.opt__no { font-size: 12px; letter-spacing: .12em; color: var(--sage-deep); font-weight: 600; }
|
background-image:
|
||||||
|
linear-gradient(var(--grid-line) 1px, transparent 1px),
|
||||||
|
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
|
||||||
|
background-size: 20px 20px;
|
||||||
|
}
|
||||||
|
.opt__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
|
||||||
|
.opt__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
|
||||||
|
.opt__no {
|
||||||
|
font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
|
||||||
|
color: var(--blueprint); font-weight: 500;
|
||||||
|
}
|
||||||
.opt__name { font-family: var(--ff-display); font-size: 20px; line-height: 1.15; }
|
.opt__name { font-family: var(--ff-display); font-size: 20px; line-height: 1.15; }
|
||||||
.opt__desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
|
.opt__desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
|
||||||
.opt__price { font-family: var(--ff-display); font-size: 28px; margin-top: 8px; }
|
.opt__price { font-family: var(--ff-mono); font-weight: 600; font-size: 22px; margin-top: 10px; letter-spacing: -.01em; }
|
||||||
.opt__price span { font-size: 15px; color: var(--ink-soft); }
|
.opt__price span { font-size: 14px; color: var(--ink-soft); font-weight: 400; }
|
||||||
.opt__link {
|
.opt__link {
|
||||||
margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px;
|
margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px;
|
||||||
text-decoration: none; font-size: 14px; font-weight: 600; color: var(--sage-deep);
|
text-decoration: none; font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; color: var(--blueprint);
|
||||||
}
|
}
|
||||||
.opt__link svg { width: 15px; height: 15px; transition: transform .2s; }
|
.opt__link svg { width: 14px; height: 14px; transition: transform .2s; }
|
||||||
.opt__link:hover svg { transform: translate(2px,-2px); }
|
.opt__link:hover svg { transform: translate(2px,-2px); }
|
||||||
|
|
||||||
|
/* стаггер появления карточек в ряду */
|
||||||
|
.options .opt:nth-child(2) { transition-delay: .05s; }
|
||||||
|
.options .opt:nth-child(3) { transition-delay: .10s; }
|
||||||
|
.options .opt:nth-child(4) { transition-delay: .15s; }
|
||||||
|
.options .opt:nth-child(5) { transition-delay: .10s; }
|
||||||
|
.options .opt:nth-child(6) { transition-delay: .15s; }
|
||||||
|
|
||||||
/* группа карточек по типу (техника) */
|
/* группа карточек по типу (техника) */
|
||||||
.opt-group { margin-top: 34px; }
|
.opt-group { margin-top: 36px; }
|
||||||
.opt-group:first-child { margin-top: 0; }
|
.opt-group:first-child { margin-top: 0; }
|
||||||
.opt-group__title {
|
.opt-group__title {
|
||||||
display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px;
|
display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px;
|
||||||
font-family: var(--ff-display); font-size: 21px; letter-spacing: -.01em;
|
font-family: var(--ff-display); font-size: 21px; letter-spacing: -.01em;
|
||||||
}
|
}
|
||||||
.opt-group__title span { font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); font-weight: 400; }
|
.opt-group__title span { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; color: var(--blueprint); font-weight: 400; }
|
||||||
.opt-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
|
.opt-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
|
||||||
@media (max-width: 860px) { .options { grid-template-columns: 1fr 1fr; } }
|
@media (max-width: 860px) { .options { grid-template-columns: 1fr 1fr; } }
|
||||||
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
|
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
|
||||||
|
|
||||||
/* варианты отделки (нумерованный список к изображению) */
|
/* варианты отделки (нумерованный список к изображению) */
|
||||||
.finish { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px,4vw,48px); margin-top: 40px; align-items: center; }
|
.finish { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px,4vw,48px); margin-top: 40px; align-items: center; }
|
||||||
.finish__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; }
|
.finish__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); cursor: zoom-in; }
|
||||||
.variants { list-style: none; margin: 0; padding: 0; counter-reset: v; }
|
.variants { list-style: none; margin: 0; padding: 0; counter-reset: v; }
|
||||||
.variants li {
|
.variants li {
|
||||||
display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
|
display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
|
||||||
@@ -311,10 +398,10 @@ a.rooms-link:hover .room-name { color: var(--sage-deep); }
|
|||||||
}
|
}
|
||||||
.variants li:first-child { border-top: 1px solid var(--line); }
|
.variants li:first-child { border-top: 1px solid var(--line); }
|
||||||
.variants li::before {
|
.variants li::before {
|
||||||
counter-increment: v; content: counter(v);
|
counter-increment: v; content: counter(v, decimal-leading-zero);
|
||||||
font-family: var(--ff-display); font-size: 17px; color: var(--sage-deep);
|
font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--blueprint);
|
||||||
width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
|
width: 32px; height: 32px; border-radius: 5px; display: grid; place-items: center;
|
||||||
border: 1px solid var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent);
|
border: 1px solid var(--blueprint-line); background: color-mix(in srgb, var(--blueprint) 8%, transparent);
|
||||||
}
|
}
|
||||||
.variants b { font-weight: 500; }
|
.variants b { font-weight: 500; }
|
||||||
.variants small { color: var(--ink-soft); display: block; font-size: 13.5px; }
|
.variants small { color: var(--ink-soft); display: block; font-size: 13.5px; }
|
||||||
@@ -327,48 +414,56 @@ a.rooms-link:hover .room-name { color: var(--sage-deep); }
|
|||||||
|
|
||||||
/* пустой раздел (в работе) */
|
/* пустой раздел (в работе) */
|
||||||
.section-empty {
|
.section-empty {
|
||||||
margin-top: 36px; padding: 28px 30px; border: 1px dashed var(--line-strong); border-radius: var(--r);
|
margin-top: 36px; padding: 30px 32px; border: 1px dashed var(--blueprint-line); border-radius: var(--r);
|
||||||
color: var(--ink-soft); font-size: 16px; background: color-mix(in srgb, var(--sage) 5%, transparent);
|
color: var(--ink-soft); font-size: 16px; background: color-mix(in srgb, var(--blueprint) 4%, transparent);
|
||||||
|
font-family: var(--ff-mono); font-size: 14px; letter-spacing: .01em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* проза и заметки из markdown */
|
/* проза и заметки из markdown */
|
||||||
.prose { max-width: 62ch; color: var(--ink-soft); margin: 22px 0 0; }
|
.prose { max-width: 64ch; color: var(--ink-soft); margin: 22px 0 0; }
|
||||||
.note {
|
.note {
|
||||||
max-width: 62ch; margin: 26px 0 0; padding: 14px 20px; font-size: 15px; color: var(--ink-soft);
|
max-width: 64ch; margin: 26px 0 0; padding: 15px 22px; font-size: 15px; color: var(--ink-soft);
|
||||||
border-left: 2px solid var(--sage); background: color-mix(in srgb, var(--sage) 8%, transparent);
|
border-left: 2px solid var(--blueprint); background: color-mix(in srgb, var(--blueprint) 6%, transparent);
|
||||||
border-radius: 0 8px 8px 0;
|
border-radius: 0 6px 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* обычные таблицы из markdown */
|
/* спецификация (таблицы из markdown, техника) */
|
||||||
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
|
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r); }
|
||||||
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
|
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper-2); }
|
||||||
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
|
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
|
||||||
.table-wrap th { font-weight: 600; color: var(--sage-deep); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
|
.table-wrap th {
|
||||||
|
font-family: var(--ff-mono); font-weight: 500; color: var(--blueprint); font-size: 11px;
|
||||||
|
letter-spacing: .08em; text-transform: uppercase; background: color-mix(in srgb, var(--blueprint) 5%, transparent);
|
||||||
|
}
|
||||||
|
.table-wrap tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 60%, transparent); }
|
||||||
.table-wrap tr:last-child td { border-bottom: none; }
|
.table-wrap tr:last-child td { border-bottom: none; }
|
||||||
.table-wrap td:first-child { font-weight: 500; color: var(--ink); white-space: nowrap; }
|
.table-wrap td:first-child { font-weight: 500; color: var(--ink); }
|
||||||
.table-wrap td img { width: 84px; border-radius: 8px; }
|
.table-wrap td img { width: 84px; border-radius: 5px; }
|
||||||
.table-wrap .tlink {
|
.table-wrap .tlink {
|
||||||
display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
|
display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
|
||||||
color: var(--sage-deep); font-weight: 600; text-decoration: none;
|
font-family: var(--ff-mono); font-size: 12.5px; color: var(--blueprint); font-weight: 500; text-decoration: none;
|
||||||
}
|
}
|
||||||
.table-wrap .tlink svg { width: 13px; height: 13px; }
|
.table-wrap .tlink svg { width: 13px; height: 13px; }
|
||||||
.table-wrap .tlink:hover { text-decoration: underline; }
|
.table-wrap .tlink:hover { text-decoration: underline; }
|
||||||
|
|
||||||
/* ---------- футер ---------- */
|
/* ---------- футер — штамп чертежа ---------- */
|
||||||
.footer { border-top: 1px solid var(--line); padding: 46px 0 60px; color: var(--ink-soft); font-size: 14px; }
|
.footer {
|
||||||
|
border-top: 1px solid var(--line-strong); padding: 40px 0 60px; color: var(--ink-soft);
|
||||||
|
font-family: var(--ff-mono); font-size: 12px; letter-spacing: .02em;
|
||||||
|
}
|
||||||
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
|
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
|
||||||
.footer b { font-family: var(--ff-display); color: var(--ink); font-weight: 500; }
|
.footer b { font-family: var(--ff-display); color: var(--ink); font-weight: 500; letter-spacing: 0; }
|
||||||
|
|
||||||
/* ---------- лайтбокс ---------- */
|
/* ---------- лайтбокс ---------- */
|
||||||
.lightbox {
|
.lightbox {
|
||||||
position: fixed; inset: 0; z-index: 100; display: none;
|
position: fixed; inset: 0; z-index: 100; display: none;
|
||||||
background: rgba(18,17,15,.86); backdrop-filter: blur(6px);
|
background: rgba(16,19,20,.88); backdrop-filter: blur(6px);
|
||||||
align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out;
|
align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out;
|
||||||
}
|
}
|
||||||
.lightbox.open { display: flex; }
|
.lightbox.open { display: flex; }
|
||||||
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
|
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
|
||||||
.lightbox__close {
|
.lightbox__close {
|
||||||
position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
|
position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 6px;
|
||||||
border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; cursor: pointer;
|
border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; cursor: pointer;
|
||||||
display: grid; place-items: center; font-size: 22px; line-height: 1;
|
display: grid; place-items: center; font-size: 22px; line-height: 1;
|
||||||
}
|
}
|
||||||
@@ -380,6 +475,7 @@ a.rooms-link:hover .room-name { color: var(--sage-deep); }
|
|||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.reveal { opacity: 1; transform: none; transition: none; }
|
.reveal { opacity: 1; transform: none; transition: none; }
|
||||||
.render img, .opt { transition: none; }
|
.render img, .opt { transition: none; }
|
||||||
|
.options .opt { transition-delay: 0s; }
|
||||||
}
|
}
|
||||||
|
|
||||||
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
|
:focus-visible { outline: 2px solid var(--blueprint); outline-offset: 3px; border-radius: 3px; }
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ function renderPlan(rooms, sections) {
|
|||||||
<div class="section__index" aria-hidden="true">01</div>
|
<div class="section__index" aria-hidden="true">01</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="plan-layout">
|
<div class="plan-layout">
|
||||||
<figure class="plan-figure reveal"><img src="${imgSrc(cfg.hero.planImage)}" alt="Схема планировки" data-zoom></figure>
|
<figure class="plan-figure sheet reveal"><img src="${imgSrc(cfg.hero.planImage)}" alt="Схема планировки" data-zoom></figure>
|
||||||
<ul class="rooms reveal">${items}</ul>
|
<ul class="rooms reveal">${items}</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -428,7 +428,7 @@ function buildHtml(rooms, sections) {
|
|||||||
<meta name="theme-color" content="#EDE8DE">
|
<meta name="theme-color" content="#EDE8DE">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Onest:wght@400;500;600&display=swap&subset=cyrillic,cyrillic-ext,latin" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Onest:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap&subset=cyrillic,cyrillic-ext,latin" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="css/style.css?v=${CSS_VER}">
|
<link rel="stylesheet" href="css/style.css?v=${CSS_VER}">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%237C8A66'/><path d='M25 70V42l25-18 25 18v28H56V52H44v18z' fill='%23F7F3EA'/></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%237C8A66'/><path d='M25 70V42l25-18 25 18v28H56V52H44v18z' fill='%23F7F3EA'/></svg>">
|
||||||
</head>
|
</head>
|
||||||
@@ -461,8 +461,8 @@ function buildHtml(rooms, sections) {
|
|||||||
${stats}
|
${stats}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero__plan reveal">
|
<div class="hero__plan sheet reveal">
|
||||||
<span class="cap">Планировка</span>
|
<span class="cap">План · М 1:100</span>
|
||||||
<img src="${imgSrc(h.planImage)}" alt="Планировка квартиры" data-zoom>
|
<img src="${imgSrc(h.planImage)}" alt="Планировка квартиры" data-zoom>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user