From 46293651e257b418fb8ce07a440125a4735a6571 Mon Sep 17 00:00:00 2001 From: Eden Kirin Date: Sun, 18 Dec 2022 19:53:04 +0100 Subject: [PATCH] Almost there --- style.scss | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/style.scss b/style.scss index d02ff8f..0147671 100644 --- a/style.scss +++ b/style.scss @@ -148,12 +148,15 @@ nav.main { top: -20px; // hardcoded! } } - } - // single item: just a dot - &:first-of-type:last-of-type { - > a { + // single item: just a dot + &:first-of-type:last-of-type { &::before { - background-image: $dot-img; + // background-image: none; + } + > a { + &::before { + background-image: $dot-img; + } } } } @@ -168,6 +171,8 @@ nav.main { left: $subnav-indent * 4; } } + @include variable-left-border-connector($subnav-indent * 7); + // subnav level 3 > ul { li { @@ -177,10 +182,11 @@ nav.main { left: $subnav-indent * 7; } } + @include variable-left-border-connector($subnav-indent * 10); // subnav level 4 > ul { - > li { + li { a { padding-left: $subnav-indent * 13; &::before {