Commit c4dc7f557eddaee44ccf4b4e90ab7755236d79dd
1 parent
f8ef25b1
Exists in
master
and in
10 other branches
Fixed Issue #24.
Showing
1 changed file
with
6 additions
and
10 deletions
Show diff stats
sass/_nav.scss
@@ -8,37 +8,33 @@ nav ul { | @@ -8,37 +8,33 @@ nav ul { | ||
8 | padding: 0; | 8 | padding: 0; |
9 | margin: 0; | 9 | margin: 0; |
10 | width: 100%; | 10 | width: 100%; |
11 | + font-size: 0; | ||
12 | + list-style: none; | ||
11 | } | 13 | } |
12 | 14 | ||
13 | nav li { | 15 | nav li { |
14 | display: inline-block; | 16 | display: inline-block; |
15 | - list-style: none; | ||
16 | padding: 0; | 17 | padding: 0; |
17 | margin: 0; | 18 | margin: 0; |
18 | width: 50%; | 19 | width: 50%; |
19 | - background: #03316f; | ||
20 | - float: left; | ||
21 | } | 20 | } |
22 | 21 | ||
23 | nav li a { | 22 | nav li a { |
24 | display: block; | 23 | display: block; |
25 | - width: 97.6%; | ||
26 | - float: left; | ||
27 | text-align: center; | 24 | text-align: center; |
28 | text-decoration: none; | 25 | text-decoration: none; |
29 | font-size: 16px; | 26 | font-size: 16px; |
30 | font-weight: bold; | 27 | font-weight: bold; |
31 | color: #fff; | 28 | color: #fff; |
32 | background: #03316f; | 29 | background: #03316f; |
33 | - margin: 1px 0.2% 0 0.2%; | ||
34 | - padding: 20px 1%; | 30 | + padding: 20px 5px; |
35 | text-transform: uppercase; | 31 | text-transform: uppercase; |
36 | - border-bottom: 3px solid #001129; | 32 | + border-color: #03316f; |
33 | + border-style: solid; | ||
34 | + border-width: 1px 1px 0; | ||
37 | } | 35 | } |
38 | 36 | ||
39 | nav li a.active { | 37 | nav li a.active { |
40 | - position: relative; | ||
41 | background: #fff; | 38 | background: #fff; |
42 | color: #03316f; | 39 | color: #03316f; |
43 | - border-bottom: 3px solid transparent; | ||
44 | } | 40 | } |