From 58a9a3314dd9f62cb9e7f3d2efdb2c49fd385d07 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Mon, 12 Jul 2021 15:20:53 +0500 Subject: [PATCH] Reduce the top margin for h1 --- static/default.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/default.css b/static/default.css index 4c04d32..7071e98 100644 --- a/static/default.css +++ b/static/default.css @@ -129,7 +129,8 @@ blockquote { margin: 0; padding-left: .75rem; } .wikilink_mailto::before { content: url("/static/icon/mailto-proto.svg"); } article { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; line-height: 150%; } -main h1, main h2, main h3, main h4, main h5, main h6 { margin: 1.5rem 0 0 0; } +main h1 { margin: .5rem 0 0 0; } +main h2, main h3, main h4, main h5, main h6 { margin: 1.5rem 0 0 0; } .heading__link { text-decoration: none; display: inline-block; } .heading__link::after { width: 1rem; content: "ยง"; color: transparent; } .heading__link:hover::after, .heading__link:active::after { color: #999; }