diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-02 14:55:28 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-02 14:55:28 +0300 |
| commit | 72ab6099d2f841d59ed942da61331b83961c1b5c (patch) | |
| tree | 8809756fd91d6d97e381f8d1e1192f248d59ce9a | |
| parent | 1ce2f74f5c8eb048ebd8099a067e38045c616c0f (diff) | |
Make h-card image loading lazy, fix dark mode button padding
| -rw-r--r-- | static/style.css | 2 | ||||
| -rw-r--r-- | template.html | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index a5d3e72..7c385c6 100644 --- a/static/style.css +++ b/static/style.css @@ -109,6 +109,8 @@ blockquote { background: none; font-size: 30px; cursor: pointer; + padding: 0; + margin: 0; } .header-row { diff --git a/template.html b/template.html index 116580f..b7fa436 100644 --- a/template.html +++ b/template.html @@ -125,7 +125,7 @@ $if(slug)$ <div style="display: none;" class="h-entry"> <div class="e-content p-name">$title$</div> <a rel="author" class="p-author h-card" href="https://jan.systems"> - <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"> + <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg" loading="lazy"> Jan Tuomi </a> <a class="u-url" href="https://jan.systems/archive/$slug$"> @@ -140,7 +140,7 @@ $endif$ <a class="u-url" href="https://jan.systems">jan.systems</a> <a class="u-url" href="https://github.com/jantuomi" rel="me">GitHub</a> <p class="p-note">Digital gardener, senior software engineer by trade.</p> - <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"> + <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg" loading="lazy"> <p class="p-name"Jan Tuomi</p> <p class="p-nickname">@jantuomi</p> <p class="p-country-name">Finland</p> |
