From ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 31 Jul 2022 10:05:18 +0200 Subject: Better hr margin --- src/_base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_base.scss b/src/_base.scss index 05c1b9d..1330725 100644 --- a/src/_base.scss +++ b/src/_base.scss @@ -155,7 +155,7 @@ img { hr { height: fn.dim(--border --thin); - margin: fn.dim(--heading --margin-top) 0; + margin: calc(.5 * (fn.dim(--heading --margin-top) + fn.dim(--paragraph --margin-top))) 0; border: 0; background-color: fn.color(--obj); } -- cgit v1.2.3-70-g09d2