summaryrefslogtreecommitdiff
path: root/assets/css/common/post-single.css
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-05 16:49:21 +0800
committerReorx <novoreorx@gmail.com>2022-05-05 16:49:21 +0800
commitcbba5c25bd910661e181cbff72712bf92d27cd5b (patch)
treee736f67cacc6f2d1ea2c9d0a07a5d7937a381558 /assets/css/common/post-single.css
parent3ba18bda1876fa8f61adf1f4b92b848dc87aea5e (diff)
add image-size-control shortcode
Diffstat (limited to 'assets/css/common/post-single.css')
-rw-r--r--assets/css/common/post-single.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css
index 5d539ec..3857fec 100644
--- a/assets/css/common/post-single.css
+++ b/assets/css/common/post-single.css
@@ -273,7 +273,7 @@ h6:hover .anchor {
.post-content img {
border-radius: 4px;
- margin: 1rem 0;
+ margin: 1rem auto;
}
.post-content img[src*="#center"] {
@@ -520,3 +520,8 @@ h6:hover .anchor {
padding: 1.5em;
box-shadow: var(--shadow-elevation-low);
}
+
+.image-size-control > img {
+ width: inherit;
+ height: inherit;
+}