aboutsummaryrefslogtreecommitdiff
path: root/static/stylesheets/style.css
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-13 22:08:27 -0600
committerTim Keller <tjkeller.xyz>2025-01-13 22:08:27 -0600
commit4901b6b3de685532428ff4275481c1f6971e18f1 (patch)
treef58ee0f7434637415855ac9c3bc824cd980afdf6 /static/stylesheets/style.css
parent675e39fa962b30ee013d1feb0aa148b4ebdd1837 (diff)
downloadhugo-theme-tjkbasic-master.tar.xz
hugo-theme-tjkbasic-master.zip
make images smaller by default and make caption optional on imgs shortcodeHEADmaster
Diffstat (limited to 'static/stylesheets/style.css')
-rw-r--r--static/stylesheets/style.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/static/stylesheets/style.css b/static/stylesheets/style.css
index 4c32ae3..cd9981b 100644
--- a/static/stylesheets/style.css
+++ b/static/stylesheets/style.css
@@ -130,7 +130,7 @@ img, figcaption {
margin: auto;
display: block;
width: fit-content;
- max-width: 95%;
+ max-width: 60%;
color: #ddd;
}
@@ -188,4 +188,7 @@ td.img {
ol, ul, pre code {
margin-left: 0;
}
+ img, figcaption {
+ max-width: 95%;
+ }
}