From 0e064578942abccdc2acf0705d0843e23f558b4d Mon Sep 17 00:00:00 2001 From: Hare Date: Tue, 3 Sep 2024 07:25:14 +0900 Subject: [PATCH] feat: use hr instead od h1 border --- articles | 1 + src/lib/blog.scss | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 160000 articles diff --git a/articles b/articles new file mode 160000 index 0000000..14cf99e --- /dev/null +++ b/articles @@ -0,0 +1 @@ +Subproject commit 14cf99e3c9651ca1c4199b2a53af9c438e0939f8 diff --git a/src/lib/blog.scss b/src/lib/blog.scss index 14b18eb..ab6dca5 100644 --- a/src/lib/blog.scss +++ b/src/lib/blog.scss @@ -10,10 +10,15 @@ position: relative; width: auto; font-size: 2rem; - border-bottom: 1px solid var(--color-outline); - padding-bottom: 0.5rem; + margin-bottom: 0.5rem; } - > *:not(h1) { + hr { + padding: 0; + margin: 0; + border: none; + border-top: 1px solid var(--color-outline); + } + > *:not(h1, hr) { margin-left: 2rem; } h2 {