From 0c41f3688b2741897162ff2ca85180cb1e2209e4 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:01:50 -0500 Subject: [PATCH] Make the left nav uniform color (#3127) * Make the left nav uniform color Signed-off-by: Fanit Kolchina * Separate large and xlarge sizes Signed-off-by: Fanit Kolchina --------- Signed-off-by: Fanit Kolchina --- _sass/custom/custom.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index 14afc208..b253d6d6 100755 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -677,6 +677,14 @@ main { position: relative; justify-content: center; + @include mq(lg) { + background: linear-gradient(to right, $sidebar-color $nav-width, transparent $nav-width); + } + + @include mq(xl) { + background: linear-gradient(to right, $sidebar-color calc((100% - #{$nav-width + $max-content-width }) / 2 + 2 * #{$top-button-margin} ), transparent calc((100% - #{$nav-width + $max-content-width }) / 2 + 2 * #{$top-button-margin} )); + } + @include mq(md) { padding-top: calc(4rem + 9px); }