Skip to content

Commit c63f19a

Browse files
committed
Update colors
1 parent 6a2c595 commit c63f19a

10 files changed

Lines changed: 59 additions & 64 deletions

public/fonts/Fraunces-Bold.woff2

-30.8 KB
Binary file not shown.
-30.9 KB
Binary file not shown.

public/fonts/Italiana-400.woff2

9.86 KB
Binary file not shown.
-43.7 KB
Binary file not shown.
-40.1 KB
Binary file not shown.
-43.5 KB
Binary file not shown.
15.4 KB
Binary file not shown.

public/fonts/SourceSans3-400.woff2

28.1 KB
Binary file not shown.

public/fonts/SourceSans3-600.woff2

28.1 KB
Binary file not shown.

public/style.css

Lines changed: 59 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,80 @@
11
@font-face {
2-
font-family: 'Fraunces';
3-
src: url('/fonts/Fraunces-SemiBold.woff2') format('woff2');
4-
font-weight: 600;
5-
font-style: normal;
6-
font-display: swap;
7-
}
8-
9-
@font-face {
10-
font-family: 'Fraunces';
11-
src: url('/fonts/Fraunces-Bold.woff2') format('woff2');
12-
font-weight: 700;
2+
font-family: 'Italiana';
3+
src: url('/fonts/Italiana-400.woff2') format('woff2');
4+
font-weight: 400;
135
font-style: normal;
146
font-display: swap;
157
}
168

179
@font-face {
18-
font-family: 'Newsreader';
19-
src: url('/fonts/Newsreader-Regular.woff2') format('woff2');
10+
font-family: 'Source Sans 3';
11+
src: url('/fonts/SourceSans3-400.woff2') format('woff2');
2012
font-weight: 400;
2113
font-style: normal;
2214
font-display: swap;
2315
}
2416

2517
@font-face {
26-
font-family: 'Newsreader';
27-
src: url('/fonts/Newsreader-Italic.woff2') format('woff2');
18+
font-family: 'Source Sans 3';
19+
src: url('/fonts/SourceSans3-400-italic.woff2') format('woff2');
2820
font-weight: 400;
2921
font-style: italic;
3022
font-display: swap;
3123
}
3224

3325
@font-face {
34-
font-family: 'Newsreader';
35-
src: url('/fonts/Newsreader-SemiBold.woff2') format('woff2');
26+
font-family: 'Source Sans 3';
27+
src: url('/fonts/SourceSans3-600.woff2') format('woff2');
3628
font-weight: 600;
3729
font-style: normal;
3830
font-display: swap;
3931
}
4032

4133
:root {
42-
font-family: 'Newsreader', system-ui, sans-serif;
43-
color: #2a2320;
34+
font-family: 'Source Sans 3', system-ui, sans-serif;
35+
color: #1c2a3a;
4436
}
4537

4638
html {
47-
background: #fdf0c4;
39+
background: #c8d8e8;
4840
font-family: inherit;
4941
}
5042

5143
header {
5244
font-size: larger;
5345
text-align: center;
54-
color: #2a2320;
46+
color: #1c2a3a;
5547
}
5648

5749
h1 {
58-
margin: 1rem 0 0.5rem;
59-
font-size: 2.6rem;
60-
font-weight: 600;
61-
letter-spacing: 1.5px;
62-
line-height: 1.15;
63-
color: #c25550;
50+
margin: 1.5rem 0 0.75rem;
51+
font-size: 3.5rem;
52+
font-weight: 400;
53+
letter-spacing: 2px;
54+
line-height: 1.1;
55+
color: #5a3858;
6456
}
6557

6658
h1 .culture { color: inherit; }
6759
h1 .accent { color: inherit; }
6860

6961
h1, h2, h3 {
70-
font-family: 'Fraunces', serif;
62+
font-family: 'Italiana', serif;
7163
line-height: 1.2;
7264
}
7365

7466
h2 {
75-
font-weight: 600;
76-
font-size: 1.25rem;
77-
letter-spacing: 0.2px;
78-
color: #2a2320;
67+
font-weight: 400;
68+
font-size: 1.5rem;
69+
letter-spacing: 0.3px;
70+
color: #1c2a3a;
7971
}
8072

8173
h3 {
82-
font-weight: 600;
83-
font-size: 1.1rem;
84-
letter-spacing: 0.2px;
85-
color: #2a2320;
74+
font-weight: 400;
75+
font-size: 1.15rem;
76+
letter-spacing: 0.3px;
77+
color: #1c2a3a;
8678
}
8779

8880
body {
@@ -91,21 +83,21 @@ body {
9183
display: flex;
9284
flex-direction: column;
9385
font-size: 18px;
94-
font-weight: 500;
86+
font-weight: 400;
9587
align-items: center;
9688
line-height: 1.5;
9789
}
9890

9991
a {
100-
color: #c25550;
101-
text-decoration-color: #c25550;
92+
color: #6a5878;
93+
text-decoration-color: #6a5878;
10294
text-underline-offset: 3px;
10395
transition: color 0.2s, text-decoration-color 0.2s;
10496
}
10597

10698
a:hover {
107-
color: #4a8575;
108-
text-decoration-color: #4a8575;
99+
color: #2a5545;
100+
text-decoration-color: #2a5545;
109101
}
110102

111103
/* Lazy loading styles */
@@ -130,7 +122,7 @@ img[loading="lazy"] {
130122
svg {
131123
width: 20px;
132124
padding: 5px;
133-
fill: #c25550;
125+
fill: #5a3858;
134126
}
135127

136128
/* Style for SVG tooltips */
@@ -159,7 +151,7 @@ nav ul {
159151

160152
nav ul a {
161153
transition: background 0.3s ease;
162-
color: #2a2320;
154+
color: #1c2a3a;
163155
display: block;
164156
font-size: 0.9rem;
165157
font-weight: 600;
@@ -172,8 +164,8 @@ nav ul a {
172164
}
173165

174166
nav ul a:hover {
175-
background: #9ac5b8;
176-
color: #2a2320;
167+
background: rgba(28,42,58,0.1);
168+
color: #1c2a3a;
177169
}
178170

179171
.recipes ul {
@@ -192,8 +184,8 @@ nav ul a:hover {
192184
}
193185

194186
.social-media svg {
195-
fill: #c25550;
196-
stroke: #c25550;
187+
fill: #5a3858;
188+
stroke: #5a3858;
197189
}
198190

199191
@media screen and (max-width: 32rem) {
@@ -225,8 +217,9 @@ nav ul a:hover {
225217

226218
nav {
227219
width: auto;
228-
border-bottom: 1px solid rgba(42,35,32,0.1);
229-
margin-bottom: 0.5rem;
220+
border-bottom: 1px solid rgba(28,42,58,0.1);
221+
margin-bottom: 1rem;
222+
padding: 0.5rem 0 0.75rem;
230223
}
231224

232225
nav ul {
@@ -299,15 +292,17 @@ nav ul a:hover {
299292
display: flex;
300293
justify-content: center;
301294
width: 100%;
302-
border-bottom: 1px solid rgba(42,35,32,0.1);
295+
border-bottom: 1px solid rgba(28,42,58,0.1);
296+
padding: 0.5rem 0 1rem;
297+
margin-bottom: 1.5rem;
303298
}
304299

305300
nav ul {
306301
display: flex;
307302
justify-content: center;
308303
padding: 0;
309304
max-width: 200px;
310-
margin: 0 0 0.5rem 0;
305+
margin: 0;
311306
gap: 1.5rem;
312307
}
313308

@@ -328,18 +323,18 @@ nav ul a:hover {
328323

329324
figcaption {
330325
font-size: 0.8em;
331-
color: #7a7265;
326+
color: #5a6a7a;
332327
text-align: center;
333328
margin-top: 0.5rem;
334329
font-style: italic;
335330
}
336331

337332
blockquote {
338-
border-left: 3px solid #c25550;
333+
border-left: 3px solid #6a5878;
339334
padding: 0.75rem 1.25rem;
340335
margin: 1.5rem 0;
341336
font-style: italic;
342-
color: #4a4440;
337+
color: #2a3a4a;
343338
line-height: 1.6;
344339
}
345340

@@ -348,24 +343,24 @@ blockquote cite {
348343
margin-top: 0.5rem;
349344
font-style: normal;
350345
font-size: 0.85em;
351-
color: #7a7265;
346+
color: #5a6a7a;
352347
}
353348

354349
.writings section p:first-of-type::first-letter {
355-
font-family: 'Fraunces', serif;
356-
font-weight: 700;
357-
font-size: 3.5em;
350+
font-family: 'Italiana', serif;
351+
font-weight: 400;
352+
font-size: 3.8em;
358353
float: left;
359-
line-height: 0.75;
360-
padding: 0.05em 0.08em 0 0;
361-
color: #c25550;
354+
line-height: 0.72;
355+
padding: 0.06em 0.1em 0 0;
356+
color: #5a3858;
362357
}
363358

364359
.section-divider {
365360
height: 16px;
366361
margin: 2.5rem auto;
367362
max-width: 380px;
368-
background: url("data:image/svg+xml,%3Csvg width='60' height='16' viewBox='0 0 60 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8 C5 2, 10 2, 15 8 C20 14, 25 14, 30 8 C35 2, 40 2, 45 8 C50 14, 55 14, 60 8' fill='none' stroke='%239ac5b8' stroke-width='0.8' opacity='0.25'/%3E%3Cpath d='M0 10 C5 4, 10 4, 15 10 C20 16, 25 16, 30 10 C35 4, 40 4, 45 10 C50 16, 55 16, 60 10' fill='none' stroke='%23c25550' stroke-width='0.6' opacity='0.2'/%3E%3C/svg%3E") repeat-x center;
363+
background: url("data:image/svg+xml,%3Csvg width='60' height='16' viewBox='0 0 60 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8 C5 2, 10 2, 15 8 C20 14, 25 14, 30 8 C35 2, 40 2, 45 8 C50 14, 55 14, 60 8' fill='none' stroke='%233a6e5e' stroke-width='0.8' opacity='0.2'/%3E%3Cpath d='M0 10 C5 4, 10 4, 15 10 C20 16, 25 16, 30 10 C35 4, 40 4, 45 10 C50 16, 55 16, 60 10' fill='none' stroke='%235a3858' stroke-width='0.6' opacity='0.15'/%3E%3C/svg%3E") repeat-x center;
369364
}
370365

371366
/* Custom tooltip styles */
@@ -380,8 +375,8 @@ blockquote cite {
380375
left: 50%;
381376
transform: translateX(-50%);
382377
padding: 4px 8px;
383-
background: #2a2320;
384-
color: #fdf0c4;
378+
background: #1c2a3a;
379+
color: #c8d8e8;
385380
font-size: 14px;
386381
border-radius: 4px;
387382
white-space: nowrap;

0 commit comments

Comments
 (0)