-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathlanding.css
More file actions
217 lines (212 loc) · 4.44 KB
/
Copy pathlanding.css
File metadata and controls
217 lines (212 loc) · 4.44 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
:root {
--bg: #0e0f12;
--panel: #16181d;
--panel-2: #1d2026;
--line: #2a2e36;
--line-2: #3a3f4a;
--ink: #e7e9ee;
--ink-dim: #9aa0ac;
--ink-faint: #6a7080;
--accent: #ffb000;
--accent-2: #5dd2ff;
--shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
0 8px 24px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
background: var(--bg);
color: var(--ink);
}
body {
font-family: 'IBM Plex Sans', system-ui, sans-serif;
font-size: 15px;
line-height: 1.6;
min-height: 100vh;
}
.container {
max-width: 880px;
margin: 0 auto;
padding: 64px 28px;
}
header {
border-bottom: 1px solid var(--line);
padding-bottom: 24px;
margin-bottom: 32px;
position: relative;
}
header .vendor {
position: absolute;
top: 0;
right: 0;
display: inline-flex;
align-items: center;
opacity: 0.85;
transition: opacity 0.15s;
}
header .vendor:hover { opacity: 1; }
header .vendor img {
height: 44px;
width: auto;
display: block;
filter: invert(1);
}
h1 {
font-family: 'IBM Plex Serif', serif;
font-size: 32px;
font-weight: 600;
letter-spacing: -0.01em;
margin-bottom: 10px;
}
h1 .tag {
font-family: 'IBM Plex Mono', monospace;
font-size: 11px;
font-weight: 500;
color: var(--accent);
background: rgba(255, 176, 0, 0.12);
padding: 3px 8px;
margin-left: 10px;
border-radius: 3px;
text-transform: uppercase;
letter-spacing: 0.05em;
vertical-align: 6px;
}
.subtitle {
color: var(--ink-dim);
font-size: 15px;
}
.subtitle strong {
color: var(--ink);
font-weight: 600;
}
.subtitle a {
color: var(--accent-2);
text-decoration: none;
border-bottom: 1px solid rgba(93, 210, 255, 0.3);
transition: color 120ms, border-color 120ms;
}
.subtitle a:hover {
color: var(--accent);
border-bottom-color: rgba(255, 176, 0, 0.5);
}
.apps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 14px;
margin-bottom: 32px;
}
.app {
display: block;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 22px;
text-decoration: none;
color: var(--ink);
transition: border-color 120ms, transform 120ms;
box-shadow: var(--shadow);
}
.app:hover {
border-color: var(--accent);
transform: translateY(-1px);
}
.app h2 {
font-family: 'IBM Plex Serif', serif;
font-weight: 600;
font-size: 18px;
margin-bottom: 8px;
color: var(--accent);
letter-spacing: -0.01em;
}
.app p {
color: var(--ink-dim);
font-size: 13px;
line-height: 1.55;
}
.swatch-source {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 20px 22px;
box-shadow: var(--shadow);
margin-bottom: 14px;
}
.swatch-source h3 {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--ink-faint);
font-weight: 500;
margin-bottom: 8px;
}
.swatch-source p {
font-size: 14px;
color: var(--ink);
margin-bottom: 14px;
}
.swatch-source p a {
color: var(--accent-2);
text-decoration: none;
border-bottom: 1px solid rgba(93, 210, 255, 0.3);
}
.swatch-source p a:hover {
color: var(--accent);
border-bottom-color: rgba(255, 176, 0, 0.5);
}
.swatch-embed {
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 6px;
padding: 0;
overflow: hidden;
max-width: 640px;
/* Container queries below switch aspect ratio based on rendered iframe
width — wrapper is capped at 640px so its width tracks the iframe's. */
container-type: inline-size;
}
.swatch-embed iframe {
display: block;
width: 100%;
height: 190px;
border: 0;
}
/* < 640px: Printables collapses its layout to a stacked view, square fits. */
@container (max-width: 639px) {
.swatch-embed iframe {
height: auto;
aspect-ratio: 1 / 1;
}
}
/* < 400px: Printables switches to a portrait card; match 400×445. */
@container (max-width: 399px) {
.swatch-embed iframe {
aspect-ratio: 400 / 445;
}
}
.callout {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 20px 22px;
box-shadow: var(--shadow);
}
.callout h3 {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--ink-faint);
font-weight: 500;
margin-bottom: 8px;
}
.callout p {
font-size: 14px;
color: var(--ink);
}
.callout code {
font-family: 'IBM Plex Mono', monospace;
font-size: 12px;
background: var(--panel-2);
border: 1px solid var(--line);
color: var(--accent-2);
padding: 1px 6px;
border-radius: 3px;
}