Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions apps/website/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,41 @@ section ol {
text-align: left;
}

/* Подстраницы используют три разных поверхности вместо ленты одинаковых
серых карточек. Правило действует только на длинные маршруты с классом
subpage-layout; у главной страницы остаётся собственная система разделов. */
.subpage-layout > :not(.radial-glow):not(nav):not(.verification-anchor):not(.verification-toc) {
width: 100%;
margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem);
}

.subpage-layout > :not(.radial-glow):not(nav):not(.verification-anchor):not(.verification-toc):nth-child(3n + 1) {
padding-block: clamp(0.4rem, 1.5vw, 0.9rem);
border-block: 1px solid var(--border);
}

.subpage-layout > :not(.radial-glow):not(nav):not(.verification-anchor):not(.verification-toc):nth-child(3n + 2) {
padding: clamp(1.2rem, 3vw, 2rem);
border: 1px solid var(--border);
border-radius: 12px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.subpage-layout > :not(.radial-glow):not(nav):not(.verification-anchor):not(.verification-toc):nth-child(3n) {
padding: clamp(1rem, 2.6vw, 1.7rem) clamp(1.1rem, 3vw, 2rem);
border-left: 2px solid var(--accent);
border-radius: 0 12px 12px 0;
background: linear-gradient(90deg, rgba(0, 255, 136, 0.075), rgba(0, 255, 136, 0.012));
}

.subpage-layout > :last-child {
margin-bottom: 0;
}

.subpage-layout > .radial-glow {
width: auto;
}

.tight {
max-width: var(--narrow-w);
margin-left: auto;
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/AboutAuthor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function AboutAuthor() {
<QuantumBackground />
<Navigation />

<section id="about" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="about" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

{/* Header: photo + name + headline.
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/CaseStudies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function CaseStudies() {
<QuantumBackground />
<Navigation />

<section id="cases" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="cases" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

<motion.div
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/Course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function Course() {
<QuantumBackground />
<Navigation />

<section id="course" style={{ maxWidth: '900px', alignItems: 'stretch', textAlign: 'left' }}>
<section id="course" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch', textAlign: 'left' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

{/* Hero */}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/GFT.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default function GFT() {
<QuantumBackground />
<Navigation />

<section id="gft" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="gft" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

<motion.div initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.7 }} style={{ marginBottom: '2rem' }}>
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/HardwareVerification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export default function HardwareVerification() {
<QuantumBackground />
<Navigation />

<section id="verification" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="verification" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

{/* Hero */}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/Licensing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function Licensing() {
<QuantumBackground />
<Navigation />

<section id="licensing" style={{ maxWidth: '900px', alignItems: 'stretch', textAlign: 'left' }}>
<section id="licensing" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch', textAlign: 'left' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

{/* Hero */}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/Proof.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function Proof() {
<QuantumBackground />
<Navigation />

<section id="proof" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="proof" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 60%)' }} />

{/* Hero */}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default function Resources() {
return (
<main>
<Navigation />
<div style={wrap}>
<div className="subpage-layout subpage-layout--resources" style={wrap}>
<h1 style={{ marginBottom: '0.3em' }}>{COPY.title[lang]}</h1>
<p style={{ color: dim, lineHeight: 1.75, marginBottom: '0.6em', maxWidth: 'none', textAlign: 'left' }}>
{COPY.lede[lang]}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/pages/Start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function Start() {
<main>
<QuantumBackground />
<Navigation />
<section id="start" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<section id="start" className="subpage-layout" style={{ maxWidth: '900px', alignItems: 'stretch' }}>
<div className="radial-glow" style={{ opacity: 0.2, background: 'radial-gradient(circle at center, rgba(0,255,136,0.08) 0%, transparent 60%)' }} />

<div style={{ marginBottom: '2rem' }}>
Expand Down
Loading