From fc304f504141086ebea2c8b0d112223201b01098 Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Wed, 6 May 2015 11:28:35 -0300 Subject: [PATCH] Small refact at nav.scss - put into SASS style --- sass/_nav.scss | 71 ++++++++++++++++++++++++++++++++++++----------------------------------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/sass/_nav.scss b/sass/_nav.scss index 9a3fc1e..bb93c8f 100644 --- a/sass/_nav.scss +++ b/sass/_nav.scss @@ -2,45 +2,46 @@ nav { width: 100%; padding: 0; margin: 0; -} - -nav ul { - padding: 0; - margin: 0; - width: 100%; - font-size: 0; - list-style: none; -} - -nav li { - display: inline-block; - padding: 0; - margin: 0; - width: 50%; -} + + ul { + padding: 0; + margin: 0; + width: 100%; + font-size: 0; + list-style: none; + } -nav li a { - display: block; - text-align: center; - text-decoration: none; - font-size: 16px; - font-weight: bold; - color: #000; - background: #efefef; - padding: 20px 5px; - text-transform: uppercase; - border-bottom: 1px solid #03316f; + li { + display: inline-block; + padding: 0; + margin: 0; + width: 50%; + + a { + display: block; + text-align: center; + text-decoration: none; + font-size: 16px; + font-weight: bold; + color: #000; + background: #efefef; + padding: 20px 5px; + text-transform: uppercase; + border-bottom: 1px solid #03316f; + &.active { + background: #fff; + color: #03316f; + border: 1px solid #03316f; + border-bottom: 1px solid #fff; -} + &:hover{ + cursor: default; + } + } -nav li a.active { - background: #fff; - color: #03316f; - border: 1px solid #03316f; - border-bottom: 1px solid #fff; + } - &:hover{ - cursor: default; } } + -- libgit2 0.21.2