-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
316 lines (276 loc) · 6.92 KB
/
style.css
File metadata and controls
316 lines (276 loc) · 6.92 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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
/* --- Reset & Base Styles --- */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth; /* Optional: smooth scroll for anchor links */
}
body {
font-family: 'Lato', sans-serif;
background-color: #FFFFFF; /* White main background */
color: #444; /* Dark gray body text */
line-height: 1.7;
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.page-wrapper {
max-width: 1100px;
margin: 0 auto;
padding: 40px 20px;
}
/* --- Typography --- */
h1, h2 {
font-family: 'Montserrat', sans-serif;
color: #222; /* Near-black headings */
margin-bottom: 0.8em;
line-height: 1.3;
font-weight: 700;
}
h1 {
font-size: 2.5rem; /* Larger for hero */
}
h2 {
font-size: 1.8rem;
border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Subtle line under section titles */
padding-bottom: 0.4em;
margin-bottom: 1em;
}
p {
margin-bottom: 1.2em;
}
a {
color: #0056b3; /* A slightly stronger blue for links */
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #003d80;
text-decoration: underline;
}
ul {
list-style: none;
padding-left: 0;
}
ul li {
margin-bottom: 0.8em;
padding-left: 1.5em;
position: relative;
}
ul li::before {
content: '■'; /* Square bullet */
position: absolute;
left: 0;
color: inherit; /* Inherit color from parent block for contrast */
opacity: 0.7;
font-size: 0.8em;
top: 0.2em;
}
blockquote {
border-left: 3px solid rgba(0, 0, 0, 0.2); /* Subtle quote indicator */
padding-left: 1.5em;
margin: 1.5em 0;
font-style: italic;
color: #333; /* Slightly darker for quotes */
}
blockquote cite {
display: block;
margin-top: 0.5em;
font-style: normal;
font-size: 0.9em;
color: #555;
}
strong {
font-weight: 700;
color: #111;
}
/* --- Hero Section --- */
.hero-section {
padding: 40px 0;
margin-bottom: 40px;
text-align: left; /* Align left for editorial feel */
border-bottom: 1px solid #eee; /* Soft separator */
}
.hero-content h1 {
background-color: #FFFDA5; /* Pastel Yellow background for H1 */
display: inline; /* Keep background tight to text */
padding: 0.1em 0.3em;
box-decoration-break: clone; /* Handle line breaks nicely */
-webkit-box-decoration-break: clone;
}
.hero-bullets {
margin-top: 25px;
padding-left: 0;
list-style: none;
}
.hero-bullets li {
margin-bottom: 10px;
padding-left: 25px;
position: relative;
color: #333;
}
.hero-bullets li::before {
content: '>';
position: absolute;
left: 0;
top: 0;
font-weight: bold;
color: #F8BFBF; /* Pastel Red for bullet points */
}
.tagline {
display: block;
margin-top: 25px;
font-family: 'Montserrat', sans-serif;
font-weight: 600;
color: #555;
font-size: 1.1rem;
}
/* --- Content Grid --- */
.content-grid {
display: grid;
/* Create asymmetric columns - adjust fractions as needed */
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
/* grid-template-columns: 2fr 1fr; Example for two columns */
gap: 30px; /* White space between blocks */
margin-bottom: 40px;
}
/* --- Content Blocks --- */
.content-block {
padding: 25px;
border: 1px solid #DDDDDD; /* Subtle gray border */
/* border: 1px solid #000000; */ /* Use black for classic Mondrian */
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-radius: 4px; /* Slightly rounded edges */
}
/* Pastel Background Colors */
.color-pastel-red { background-color: #F8BFBF; }
.color-pastel-yellow { background-color: #FFFDA5; }
.color-pastel-blue { background-color: #ADD8F7; }
/* Ensure text remains readable on pastel backgrounds */
.content-block,
.content-block h2,
.content-block p,
.content-block li,
.content-block blockquote,
.content-block cite,
.content-block strong {
color: #222; /* Use near-black for text on pastels */
}
.content-block a { color: #004a9e; } /* Darker blue link on pastels */
.content-block a:hover { color: #002b5c; }
.content-block li::before { color: rgba(0, 0, 0, 0.5); } /* Darker bullet */
.content-block blockquote { border-left-color: rgba(0, 0, 0, 0.3); }
/* Hover Effect */
.content-block:hover {
transform: scale(1.01) translateY(-3px); /* Slight lift and scale */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.block-tagline {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
text-align: right;
font-size: 1rem;
margin-top: 20px;
color: #333;
}
.final-tagline { margin-bottom: 0; } /* Remove extra bottom margin */
/* --- Specific Block Styling --- */
/* Newsletter */
#newsletter h2 { font-size: 1.5rem; }
.substack-embed { margin-top: 15px; }
.substack-embed iframe {
display: block;
width: 100%;
border-radius: 3px;
min-height: 180px; /* Ensure iframe has space */
}
/* Contact */
.contact-links {
margin: 25px 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.cta-button {
display: inline-block;
background-color: #fff; /* White button */
color: #222;
padding: 10px 20px;
border: 1px solid #222;
border-radius: 4px;
font-weight: bold;
text-decoration: none;
text-align: center;
transition: background-color 0.2s ease, color 0.2s ease;
}
.cta-button:hover {
background-color: #222;
color: #fff;
text-decoration: none;
}
.social-icons {
margin-top: 15px;
text-align: left; /* Or center */
}
.social-icons a {
margin-right: 15px;
font-weight: bold;
text-decoration: underline;
color: #004a9e; /* Darker blue */
}
.social-icons a:last-child { margin-right: 0; }
.social-icons a:hover { color: #002b5c; }
/* --- Footer --- */
.page-footer {
text-align: center;
margin-top: 50px;
padding-top: 20px;
border-top: 1px solid #eee; /* Soft separator */
font-size: 0.9rem;
color: #777;
}
/* --- Animations --- */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.is-visible {
opacity: 1;
transform: translateY(0);
}
/* --- Responsive Design --- */
@media (max-width: 768px) {
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
.page-wrapper {
padding: 20px 15px;
}
.content-grid {
display: block; /* Stack blocks vertically */
gap: 0; /* Remove grid gap */
}
.content-block {
margin-bottom: 25px; /* Add space between stacked blocks */
}
.content-block:last-child {
margin-bottom: 0;
}
.hero-content h1 {
display: inline-block; /* Ensure background works okay */
}
.contact-links {
flex-direction: column; /* Stack buttons */
}
.cta-button {
width: 100%; /* Full width buttons */
}
}
@media (max-width: 480px) {
h1 { font-size: 1.8rem; }
h2 { font-size: 1.3rem; }
body { font-size: 15px; }
.page-wrapper { padding: 15px 10px; }
}