From fead8b174ddf2eac16ea4908404dffd5be777dbb Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 23 Feb 2020 15:36:53 +0800 Subject: [PATCH] update css --- source/less/_article.less | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/source/less/_article.less b/source/less/_article.less index 57565fa..8601890 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -2,7 +2,7 @@ color: @color_text_main; font-size: @fontsize_base; line-height: @lineheight_base; - word-break: break-all; + // word-break: break-all; word-wrap: break-word; img { position: relative; @@ -242,10 +242,8 @@ p{ text-align: left; word-wrap: normal; - margin: 0; font-size: @fontsize_small; line-height: @fontsize_small * 1.5; - padding: @gap/2 0; } position: relative; width: 100%; @@ -256,8 +254,18 @@ .enable-trans(); footer { - strong { - margin-right: 7px; + padding: 0; + text-align: justify; + color: inherit; + font-style: italic; + margin: .6em 0; + cite{ + &::before{ + content: '----'; + padding: 0 .3em; + } + color: fade(@color_text_main, 70%); + margin-left: 1em; } } &.pullquote{