From 725ab8db8e3d4fcea88cd81251b7991adc8ee1b1 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 15 Dec 2022 12:59:56 +0800 Subject: [PATCH] [opt] css --- source/css/_layout/md.styl | 2 -- source/css/_layout/tag-plugins/quot.styl | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/css/_layout/md.styl b/source/css/_layout/md.styl index 633b69b..c872acf 100644 --- a/source/css/_layout/md.styl +++ b/source/css/_layout/md.styl @@ -36,8 +36,6 @@ h1.article-title margin-top: 0 h1:not(:first-child) margin-top: 2em - h2:first-child - margin-top: 0 h2 margin-bottom: 1rem h3,h4,h5,h6 diff --git a/source/css/_layout/tag-plugins/quot.styl b/source/css/_layout/tag-plugins/quot.styl index 69ef813..3174605 100644 --- a/source/css/_layout/tag-plugins/quot.styl +++ b/source/css/_layout/tag-plugins/quot.styl @@ -29,6 +29,7 @@ padding: 20px 24px 12px h2,h3,h4,h5,h6 font-size: $fs-h3 + margin-top: 1em p font-size: $fs-h4 color: var(--text-p0)