summaryrefslogtreecommitdiff
path: root/css/navBar.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/navBar.scss')
-rw-r--r--css/navBar.scss16
1 files changed, 6 insertions, 10 deletions
diff --git a/css/navBar.scss b/css/navBar.scss
index 2ef4d3a..4c33e35 100644
--- a/css/navBar.scss
+++ b/css/navBar.scss
@@ -35,16 +35,12 @@
text-decoration-color: #00000000;
&[aria-current = "page"]::after {
- background-color: var(--textColour);
- border-radius: $separatorWidth;
- content: "";
- display: block;
- height: $separatorWidth;
- left: 50%;
- position: absolute;
- top: calc(100% + $separatorWidth);
- transform: translateX(-50%);
- width: 100%;
+ @include separator(100%);
+
+ left: 50%;
+ position: absolute;
+ top: calc(100% + $separatorWidth);
+ transform: translateX(-50%);
}
@media not (prefers-reduced-motion) {