|
73 | 73 | --space-nav-margin-desktop: .5rem; |
74 | 74 | --space-article-col-gap: 3rem; |
75 | 75 | --space-section-gap: 1rem; |
76 | | - --space-about-photo-offset: 1rem; |
77 | 76 | --space-figure-caption-top: 0.5rem; |
78 | 77 | --space-blockquote-y: 1.5rem; |
79 | 78 | --space-blockquote-pad-y: 0.75rem; |
|
100 | 99 | --size-nav-gap-mobile-row: 0.35rem; |
101 | 100 | --size-nav-gap-mobile-col: 1.4rem; |
102 | 101 |
|
103 | | - /* --tracking-h1: 1.2px; */ |
104 | 102 | --tracking-heading: 0; |
105 | 103 | --tracking-nav: 0.10em; |
106 | 104 | --underline-offset: 3px; |
|
117 | 115 | --link-green: #2f6168; |
118 | 116 | --dry-grass: #b05c3a; |
119 | 117 | --dry-grass-rgb: 176 92 58; |
120 | | - --dry-grass-strong: #a45031; |
121 | 118 | --visited-green: #485a31; |
122 | 119 | --ground-white: #f2f5ef; |
123 | 120 | --alpha-rule-line: 0.16; |
@@ -148,7 +145,6 @@ header { |
148 | 145 | margin: var(--space-h1-top) var(--space-0) var(--space-h1-bottom); |
149 | 146 | font-size: var(--font-size-title); |
150 | 147 | font-weight: var(--font-weight-regular); |
151 | | - letter-spacing: var(--tracking-h1); |
152 | 148 | line-height: var(--line-height-h1); |
153 | 149 | color: var(--tree-ink); |
154 | 150 | } |
@@ -224,19 +220,10 @@ a:focus-visible { |
224 | 220 | box-shadow: 0 0 0 2px var(--dry-grass); |
225 | 221 | } |
226 | 222 |
|
227 | | -/* Lazy loading styles */ |
228 | 223 | img { |
229 | | - opacity: var(--space-0); |
230 | | - transition: opacity var(--duration-image) var(--easing-image); |
231 | | - width: 100%; |
232 | | - max-width: var(--size-img-max); |
| 224 | + max-width: 100%; |
233 | 225 | height: auto; |
234 | 226 | display: block; |
235 | | - margin: var(--space-0) auto; |
236 | | -} |
237 | | - |
238 | | -img[loading="lazy"] { |
239 | | - opacity: 1; |
240 | 227 | } |
241 | 228 |
|
242 | 229 | .bold { |
@@ -376,7 +363,8 @@ article section > p:first-of-type { |
376 | 363 | } |
377 | 364 |
|
378 | 365 | .recipe-hero img { |
379 | | - max-width: 100%; |
| 366 | + max-width: 320px; |
| 367 | + width: 100%; |
380 | 368 | } |
381 | 369 |
|
382 | 370 | .social-media { |
@@ -575,9 +563,11 @@ section + section { |
575 | 563 | margin-top: var(--space-section-gap); |
576 | 564 | } |
577 | 565 |
|
578 | | -.about-photo { |
579 | | - margin-top: var(--space-about-photo-offset); |
580 | | - margin-bottom: var(--space-about-photo-offset); |
| 566 | +.about-photo img { |
| 567 | + width: 100%; |
| 568 | + max-width: 240px; |
| 569 | + margin-inline: auto; |
| 570 | + margin-top: 1rem; |
581 | 571 | } |
582 | 572 |
|
583 | 573 | /* Custom tooltip styles */ |
|
0 commit comments