Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
31 lines (30 loc) · 1.63 KB
/
Copy pathstyle.css
File metadata and controls
31 lines (30 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* This site's own styles, over the stack's shared stylesheet (shared/base.css, linked first): the title banner. */
/* Title banner after Saul Bass's North by Northwest titles: lettering on a
curtain wall seen in perspective. Laid out in a 1701x925 design stage that
shared/site.js scales to the banner's width; the grid is drawn by main.js. */
.facade-banner {
position: relative; text-align: left; aspect-ratio: 1701 / 925; overflow: hidden;
margin: 0 0 1.75rem; border-radius: 6px; background: #346c92;
}
.facade-stage {
position: absolute; left: 0; top: 0; width: 1701px; height: 925px;
transform-origin: 0 0; transform: scale(var(--k, 1));
}
/* Plane homography x' = u/(1+pu), y' = (v - tu + y0)/(1+pu): verticals stay
vertical, horizontals meet at a vanishing point up and to the right. */
.facade-plane {
position: absolute; left: 0; top: 0; width: 4400px; height: 5200px; transform-origin: 0 0;
transform: matrix3d(1, -0.58, 0, 0.0002, 0, 1, 0, 0, 0, 0, 1, 0, 0, -40, 0, 1);
}
.facade-plane svg { position: absolute; inset: 0; }
.facade-title {
position: absolute; left: 460px; top: 800px; display: flex; flex-direction: column;
font-family: "Oswald", "Arial Narrow", sans-serif; color: #f0f2f2; line-height: 0.9;
text-transform: uppercase;
transform-origin: 0 0; transform: scale(0.84, 1.1); /* taller, more condensed lettering */
}
.facade-title .what { margin: 0; font-size: 116px; font-weight: 700; letter-spacing: 0.005em; line-height: 1.08; }
.facade-shade {
position: absolute; inset: 0; pointer-events: none;
background: linear-gradient(100deg, rgba(255,255,255,0.05), rgba(255,255,255,0) 45%, rgba(10,30,50,0.16));
}