getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.58k stars 443 forks source link

CSS: Add `margin-bottom: 1rem` to `img` (default theme) #3777

Closed sjehuda closed 1 month ago

sjehuda commented 1 month ago

Please add margin-bottom: 1rem to img (default theme).

https://slixfeed.woodpeckersnest.space/posts/slixfeed-news-bot/#preview

Before: image

After: image

Environment

Python Version: 3.12.3 Nikola Version: 8.3.1 Operating System: Arch Linux

Description:

Kwpolska commented 1 month ago

This will break many more things than it will fix. Put your images in <p> or <figure>, or a <div> with the CSS you want.