aboutsummaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/index.html4
-rw-r--r--design/style.css4
2 files changed, 5 insertions, 3 deletions
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>
<h2><a href="log.html">Article title</a></h2>
<figure>
- <img src="https://placehold.co/1920x1080" alt="">
+ <a href="log.html"><<img src="https://placehold.co/1920x1080" alt=""></a>
<figcaption>A placeholder.</figcaption>
</figure>
<p>
@@ -42,7 +42,7 @@
<article>
<h2><a href="log.html">Article title</a></h2>
<figure>
- <img src="https://placehold.co/1920x1080" alt="">
+ <a href="log.html"><img src="https://placehold.co/1920x1080" alt=""></a>
<figcaption>A placeholder.</figcaption>
</figure>
<p>
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);