diff options
author | Volpeon <git@volpeon.ink> | 2022-07-31 10:05:18 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-31 10:05:18 +0200 |
commit | ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc (patch) | |
tree | bb8b044c67706ed8ab52e222408174200e8af0d1 | |
parent | Fix lightbox padding (diff) | |
download | iro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.tar.gz iro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.tar.bz2 iro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.zip |
Better hr margin
-rw-r--r-- | src/_base.scss | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
155 | 155 | ||
156 | hr { | 156 | hr { |
157 | height: fn.dim(--border --thin); | 157 | height: fn.dim(--border --thin); |
158 | margin: fn.dim(--heading --margin-top) 0; | 158 | margin: calc(.5 * (fn.dim(--heading --margin-top) + fn.dim(--paragraph --margin-top))) 0; |
159 | border: 0; | 159 | border: 0; |
160 | background-color: fn.color(--obj); | 160 | background-color: fn.color(--obj); |
161 | } | 161 | } |