pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit ae62a2b745c1cdb370fdd9eebd6b8d9d011d4ec5
parent 99a81f622288b075db2219aa6e00e5805a003186
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue, 30 Jul 2024 13:41:26 +0200

fix: style images in READMEs

Diffstat:
Massets/style.css | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/assets/style.css b/assets/style.css @@ -54,6 +54,13 @@ margin-right: auto; } +/* Images in content page should be at most as wide as the page */ +#content img { + width: auto; + height: auto; + max-width: 100%; +} + /* fonts and colours */ body { font-family: sans-serif, serif;