commit a700125c10ab1c109a5b25888ba8a8dc7f132979
parent 13fa148d6f12f6b312b29c81bf240c8829a96178
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 16 Aug 2024 15:40:40 +0100
style(img): responsive image size on smaller screens
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/style.css b/style.css
@@ -175,6 +175,7 @@ img[src*="#fitwidth"] {
figcaption {
font-size: 0.8em;
opacity: 0.5;
+ width: 50%;
}
@@ -189,6 +190,10 @@ footer {
}
@media (max-width: 767px) {
+ img {
+ max-width: 100%;
+ }
+
footer {
margin-left: 20px !important;
}