summaryrefslogtreecommitdiff
path: root/sass/_partial/_post.scss
diff options
context:
space:
mode:
authorMole Shang <135e2@135e2.dev>2026-02-09 23:19:16 +0800
committerMole Shang <135e2@135e2.dev>2026-02-09 23:19:16 +0800
commita582b6ef76bfb79744716f5cdfafff8c41861ec9 (patch)
tree8d73094eb53507b09ed91f14b22df75ddbd85dab /sass/_partial/_post.scss
parent119356da0f77ec711e694811ab5e3bc82e762624 (diff)
downloadSeje2-a582b6ef76bfb79744716f5cdfafff8c41861ec9.tar.gz
Seje2-a582b6ef76bfb79744716f5cdfafff8c41861ec9.tar.bz2
Seje2-a582b6ef76bfb79744716f5cdfafff8c41861ec9.zip
templates/page: support img caption displaymain
Diffstat (limited to 'sass/_partial/_post.scss')
-rw-r--r--sass/_partial/_post.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/sass/_partial/_post.scss b/sass/_partial/_post.scss
index ed556af..3ce5ef9 100644
--- a/sass/_partial/_post.scss
+++ b/sass/_partial/_post.scss
@@ -74,6 +74,13 @@
box-sizing: content-box;
width: 100%;
}
+ .img-caption {
+ display: block;
+ text-align: center;
+ margin: 0.5em 0 1em 0;
+ font-size: 0.9em;
+ opacity: 0.8;
+ }
.shk {
margin: 1em 0;
}