From c53f23df5c946616e804f18cc8fd73b1a63bb019 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 15 Jan 2020 04:41:31 +0800 Subject: [PATCH] Beautified the ToC. --- assets/css/post.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/post.scss b/assets/css/post.scss index 15da30e..ea5391e 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -124,7 +124,9 @@ } #toc li>a { - padding-top: 0; + line-height: 1rem; + padding-top: .5rem; + padding-bottom: .5rem; }