aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-10-02 16:35:47 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-10-02 16:35:47 +0200
commit512d28121a8c495139e0a409ce6193e200180a31 (patch)
tree6d4df7349815289d335a7c96e13a811eb9edff55
parente83280879b56f8b35f4046f03f72ec3203aad94b (diff)
downloadrgoncalves.se-512d28121a8c495139e0a409ce6193e200180a31.tar.gz
style: Force img to fit in rendered page
-rw-r--r--src/style/style.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/style/style.css b/src/style/style.css
index 8c17ae3..2635721 100644
--- a/src/style/style.css
+++ b/src/style/style.css
@@ -113,6 +113,10 @@ footer blockquote {
margin-inline-start: 0;
}
+img {
+ max-width: 100%;
+}
+
@media only screen and (max-width: 72ch) {
* {
text-align: left;
remember that computers suck.