From 96db3fa6502df6ca04baa82f91fd7c3961807e20 Mon Sep 17 00:00:00 2001 From: SiddharthVarshney Date: Wed, 27 May 2020 00:49:17 +0530 Subject: [PATCH] css: Use SCSS nesting for `nav.white .brand.logo`. --- static/styles/portico/landing-page.scss | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss index b43f1c4695..68a34b55f5 100644 --- a/static/styles/portico/landing-page.scss +++ b/static/styles/portico/landing-page.scss @@ -227,17 +227,19 @@ nav.white ul li.active::after { color: hsl(0, 0%, 27%); } -nav.white .brand.logo span { - color: hsl(0, 0%, 27%); -} +nav.white .brand.logo { + span { + color: hsl(0, 0%, 27%); + } -nav.white .brand-logo circle { - fill: hsl(0, 0%, 27%) !important; -} + circle { + fill: hsl(0, 0%, 27%) !important; + } -nav.white .brand-logo path { - fill: hsl(0, 0%, 100%) !important; - stroke: hsl(0, 0%, 100%) !important; + path { + fill: hsl(0, 0%, 100%) !important; + stroke: hsl(0, 0%, 100%) !important; + } } nav.white .hamburger {