From a9c6fe336849e35a23251934f5eff78f19b9fb6a Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 30 Sep 2025 12:15:02 +0200 Subject: feat(design): link on image in home --- design/index.html | 4 ++-- design/style.css | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'design') diff --git a/design/index.html b/design/index.html index 1078cc0..3bae77b 100644 --- a/design/index.html +++ b/design/index.html @@ -32,7 +32,7 @@

Article title

- + <
A placeholder.

@@ -42,7 +42,7 @@

Article title

- +
A placeholder.

diff --git a/design/style.css b/design/style.css index 0554e27..db5836a 100644 --- a/design/style.css +++ b/design/style.css @@ -126,8 +126,10 @@ figure { margin-bottom: var(--margin-base); - & img { + & a, img { max-height: max(60vh, 400px); + max-width: 100%; + display: block; &.large { --max-width: var(--width-deco); -- cgit v1.2.3