colinwilson / lotusdocs

📖 A free, lightweight, modern documentation theme for Hugo [WIP]
https://lotusdocs.dev/docs/
MIT License
341 stars 74 forks source link

Make images with captions prettier #122

Open onnimonni opened 10 months ago

onnimonni commented 10 months ago

Changes

I saw you used {.text-center} in some example content directly from the markdown but maintaining these becomes pretty unsustainable easily.

I added sensible pretty styles for images with captions like:

![German green emission sticker](https://www.germanemissionssticker.com/img/sites/16/germanemissionssticker.jpg "Example German green emission sticker for EURO 4 emission standard")

I included example screenshots from my site:

After this PR

Light mode mobile

image

Light mode

Screenshot 2023-10-26 at 15 08 56

Dark mode

Screenshot 2023-10-26 at 15 22 04

Before this PR

Screenshot 2023-10-26 at 15 08 28

Dark mode

netlify[bot] commented 10 months ago

Deploy request for hugo-lotusdocs pending review.

Visit the deploys page to approve it

Name Link
Latest commit 22f440659c44c2f84886cc98f87425670b79b476