Skip to content

Commit

Permalink
Improve subnavigation style
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Oct 3, 2014
1 parent c0bb3f5 commit 4adcd51
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions app/assets/stylesheets/sections/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
ul {
padding: 0;
margin: auto;
height: 40px;
overflow: hidden;
.count {
font-weight: normal;
display: inline-block;
Expand Down Expand Up @@ -37,53 +35,28 @@
a {
color: $link_color;
font-weight: bold;
&:after {
content: '';
display: block;
position: relative;
bottom: -1px;
border-color: $link_color;
border-style: solid;
border-width: 2px;
}
border-bottom: 3px solid $link_color;
}
}

&:hover {
a {
color: $link_hover_color;
&:after {
content: '';
display: block;
position: relative;
bottom: -1px;
border-color: $link_hover_color;
border-style: solid;
border-width: 2px;
}
}
}

&.home {
a {
i {
font-size: 20px;
position: relative;
top: 4px;
}
border-bottom: 3px solid $link_hover_color;
}
}
}
a {
display: block;
text-align: center;
font-weight: 500;
height: 38px;
line-height: 34px;
height: 42px;
line-height: 39px;
color: #777;
text-shadow: 0 1px 1px white;
text-decoration: none;
padding-top: 2px;
overflow: hidden;
margin-bottom: -1px;
}
}

Expand Down

0 comments on commit 4adcd51

Please sign in to comment.