From dcc658264c9db5bdfd52cd1ff26a16581d1a1e77 Mon Sep 17 00:00:00 2001 From: SiddharthVarshney Date: Wed, 27 May 2020 01:17:16 +0530 Subject: [PATCH] css: Reorder css related to `nav ul`. --- static/styles/portico/landing-page.scss | 31 +++++++++++++------------ 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss index ba2235f0e5..d8566fba5a 100644 --- a/static/styles/portico/landing-page.scss +++ b/static/styles/portico/landing-page.scss @@ -318,15 +318,6 @@ nav ul li { transition: all 0.2s ease; } -nav li a, -nav li a:hover, -nav li a:visited { - text-decoration: none; - color: hsl(0, 0%, 100%); - - font-size: 1.05em; -} - nav ul li.active, nav ul li:hover { opacity: 1; @@ -344,6 +335,16 @@ nav ul li.active::after { transform: scaleX(2) scaleY(0.5); } +nav li a, +nav li a:hover, +nav li a:visited { + text-decoration: none; + color: hsl(0, 0%, 100%); + + font-size: 1.05em; +} + + /* -- main panel styling -- */ .portico-landing { position: relative; @@ -3421,6 +3422,12 @@ nav ul li.active::after { font-size: 0.8em; } + nav .content { + > ul.show { + outline-color: hsla(203, 43%, 22%, 0.7); + } + } + nav ul { position: fixed; float: none; @@ -3443,12 +3450,6 @@ nav ul li.active::after { transform: translate(0px, 0px); } - nav .content { - > ul.show { - outline-color: hsla(203, 43%, 22%, 0.7); - } - } - nav ul .exit { display: block; position: absolute;