summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-07-31 10:05:18 +0200
committerVolpeon <git@volpeon.ink>2022-07-31 10:05:18 +0200
commitecfdadab2cb50a5bbffdfc1ee69a13386174d0cc (patch)
treebb8b044c67706ed8ab52e222408174200e8af0d1
parentFix lightbox padding (diff)
downloadiro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.tar.gz
iro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.tar.bz2
iro-design-ecfdadab2cb50a5bbffdfc1ee69a13386174d0cc.zip
Better hr margin
-rw-r--r--src/_base.scss2
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
156hr { 156hr {
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}