Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commitf89e2a642ad291b34fe1ae6237ea68b1967ca23a (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-10-12 15:12:08 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-10-12 15:12:08 +0300
Filesc748ec064d70b939468d0f691a92c41f814c15af /src/styles.css
syndamia.com-f89e2a642ad291b34fe1ae6237ea68b1967ca23a.tar
syndamia.com-f89e2a642ad291b34fe1ae6237ea68b1967ca23a.tar.gz
syndamia.com-f89e2a642ad291b34fe1ae6237ea68b1967ca23a.zip
Parentde085e105f25264241cc8419c25185b45f5e780e (diff)
feat(styles): Reduce max image width in paragraphs
This just looks better on a page
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/styles.css1
diff --git a/src/styles.css b/src/styles.css
index 7bf175e..1f8ad94 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -408,6 +408,7 @@ img {
box-sizing: border-box;
max-width: 100%;
}
+p > img { max-width: 60%; }
img, hr { border: 1px solid var(--border-color); }
dt img, .svg { box-sizing: border-box; max-height: 1em; }
.pixelated-render { image-rendering: pixelated; }