Tweaking layout for menu

This commit is contained in:
Jesper Hess 2016-04-06 21:28:14 +02:00
parent 73b303e8f0
commit a02fc55c92

View file

@ -26,23 +26,24 @@ aside {
nav { nav {
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
text-align: center;
ul { ul {
padding: 0; padding: 0;
list-style: none; list-style: none;
li { li {
float: left; display: inline-block;
position: relative; position: relative;
a { a {
text-decoration: none; text-decoration: none;
font-weight: bold;
display: block; display: block;
padding: 15px; padding: 20px 60px 0 0;
line-height: 20px;
box-shadow: 0;
&:hover, &:hover,
&:active { &:active {
background: $background-color; background: $background-color;
text-decoration: none; text-decoration: none;
color: $text-color; color: $text-color;
font-weight: bolder;
} }
} }
} }