From bda75bb97b7bbf56e9c5b4d9732660a96753651c Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Wed, 13 Jan 2016 08:53:14 -0500 Subject: [PATCH] edited about dropdown in scss --- css/app.css | 8 ++++++-- scss/_topbar.scss | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/css/app.css b/css/app.css index f0e207b..596401b 100644 --- a/css/app.css +++ b/css/app.css @@ -7013,8 +7013,12 @@ header .searchform input[type="submit"]:hover { text-transform: none; font-size: 1rem; line-height: 1; } - #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:nth-child(3) a { - border: none; } + @media screen and (min-width: 1025px) { + #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:nth-child(3) a { + border: none; } } + @media screen and (max-width: 1024px) { + #about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:first-child a { + border: none; } } .top-bar-section ul li .dropdown li.active:not(.has-form) a:not(.button) { color: #a61a1d !important; diff --git a/scss/_topbar.scss b/scss/_topbar.scss index b4c4cdc..fed80ef 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -641,9 +641,18 @@ // font-weight: bold; } } - &:nth-child(3) { - a { - border: none; + @media screen and (min-width: 1025px) { + &:nth-child(3) { + a { + border: none; + } + } + } + @media screen and (max-width: 1024px) { + &:first-child { + a { + border: none; + } } } } -- 2.17.1