text-align

This commit is contained in:
xaoxuu 2022-10-25 10:07:53 +08:00
parent 2a13d2004f
commit 8301b75ee2
3 changed files with 3 additions and 2 deletions

View File

@ -329,6 +329,7 @@ style:
logo: 'system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial, "WenQuanYi Micro Hei", sans-serif'
body: 'system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial, "WenQuanYi Micro Hei", sans-serif'
code: 'Menlo, Monaco, Consolas, system-ui, "Courier New", monospace, sans-serif'
text-align: left
color:
common:
theme: '#1BCDFC' # 主题色

View File

@ -13,7 +13,7 @@ a
color: $color-hover
p:not([class])
text-align: justify
text-align: convert(hexo-config('style.text-align'))
hr
color: var(--text-meta)

View File

@ -24,7 +24,7 @@ article.md.content
&.indent
>p:not([class])
text-indent: 'calc(%s * 2)' % $fs-p
text-align: justify
text-align: convert(hexo-config('style.text-align'))
a
text-indent: 0
h1,h2,h3,h4,h5,h6