From 1c51f444fa026f443533d17abdcdbdb9e2908715 Mon Sep 17 00:00:00 2001 From: XPoet Date: Fri, 27 Mar 2020 21:38:48 +0800 Subject: [PATCH] =?UTF-8?q?Modified:=20=E4=BC=98=E5=8C=96=20CSS=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/css/layout/home-post.styl | 20 ++++++++------------ source/css/markdown.styl | 4 ++-- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/source/css/layout/home-post.styl b/source/css/layout/home-post.styl index 7bd8eee..d8653ad 100644 --- a/source/css/layout/home-post.styl +++ b/source/css/layout/home-post.styl @@ -6,31 +6,27 @@ .article-post-item { - margin-bottom 30px - padding-bottom 30px + margin-bottom: 30px; + padding-bottom: 30px; border-bottom: 1px solid $border-color; .article-post-title { h3 { - text-transform: uppercase; font-weight: 600; color: $article-title-color; font-size: 22px; margin: 0; } - a { color: $article-title-color; } - - } .article-post-content { - padding 15px 0 - line-height 2em + padding: 15px 0; + line-height: 2em; } } @@ -38,18 +34,18 @@ .paginator { - padding-bottom 40px + padding-bottom: 40px; .page-number { - display none !important + display: none !important; } a.prev { - float left + float: left; } a.next { - float right + float: right; } } diff --git a/source/css/markdown.styl b/source/css/markdown.styl index 194769d..d181a03 100644 --- a/source/css/markdown.styl +++ b/source/css/markdown.styl @@ -60,7 +60,8 @@ img { - padding: 1px; + padding: 2px; + margin: 2px 0; width: 100%; border: 1px solid $border-color; } @@ -80,7 +81,6 @@ padding: 4px; border: solid $border-color; border-width: 0 1px 1px 0; - } } }