Skip to content

Commit 3e7d6f8

Browse files
author
Fumito Abe
committed
キャプションデザイン修正
1 parent 435572c commit 3e7d6f8

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/assets/scss/_wordpress-article.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
@mixin wordpress_article_style {
22
// 記事内画像
3-
/deep/ .wp-block-image img {
4-
max-width: 100%;
5-
width: 100% !important;
6-
height: auto;
7-
margin: 16px 0 40px 0;
3+
/deep/ .wp-block-image {
4+
img {
5+
max-width: 100%;
6+
width: 100% !important;
7+
height: auto;
8+
margin: 16px 0 32px 0;
9+
}
10+
figcaption {
11+
font-size: 12px;
12+
text-align: center;
13+
margin: 0 0 48px 0;
14+
color: $mid-gray-1;
15+
}
816
}
17+
918

1019
/deep/ p {
1120
line-height: 1.8;

0 commit comments

Comments
 (0)