minor style adjustment

This commit is contained in:
Yan Lin 2026-02-07 10:35:36 +01:00
parent e1e500733e
commit 159a139846
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@
Image with max-width constraint. `width` defaults to `500px`: Image with max-width constraint. `width` defaults to `500px`:
```md ```md
{% img(src="./diagram.png", alt="Architecture", width="600px") %} {{ img(src="./diagram.png", alt="Architecture", width="600px") }}
``` ```
Figure caption: Figure caption:

View file

@ -80,6 +80,7 @@ img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
margin: 0 auto; margin: 0 auto;
border-radius: 4px;
} }
figcaption { figcaption {
@ -172,7 +173,7 @@ code {
font-size: 0.88em; font-size: 0.88em;
background: var(--code-bg); background: var(--code-bg);
padding: 0.1em 0.3em; padding: 0.1em 0.3em;
border-radius: 3px; border-radius: 4px;
} }
pre { pre {