From fa03c8ad96a4cd44d44c93afa96b9f5771acf21d Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 5 Jan 2022 00:00:25 +0800 Subject: [PATCH] css --- source/css/_layout/md.styl | 3 +++ source/css/_layout/pages/archives.styl | 1 + 2 files changed, 4 insertions(+) diff --git a/source/css/_layout/md.styl b/source/css/_layout/md.styl index dc26718..5aad07a 100644 --- a/source/css/_layout/md.styl +++ b/source/css/_layout/md.styl @@ -24,8 +24,11 @@ article.md.content &.indent >p:not([class]) text-indent: 'calc(%s * 2)' % $fs-p + text-align: justify h1,h2,h3,h4,h5,h6 text-align: center + >h2:not([class]) + border-bottom-style: dashed >:first-child margin-top: 1rem h1:not(:first-child) diff --git a/source/css/_layout/pages/archives.styl b/source/css/_layout/pages/archives.styl index e1dbf47..4408063 100644 --- a/source/css/_layout/pages/archives.styl +++ b/source/css/_layout/pages/archives.styl @@ -1,4 +1,5 @@ .post-list #archive + padding: 1rem .archive-header display: inline-block font-family: $ff-code