[fix] menu without js - closes #747

This commit is contained in:
Adam Tauber 2016-11-01 23:11:38 +01:00
parent e23c8f954b
commit 9782633054
8 changed files with 44 additions and 53 deletions

File diff suppressed because one or more lines are too long

View file

@ -15,7 +15,7 @@
line-height: 30px;
}
.navbar, .navbar-default{
.navbar, .navbar-default, .menu {
background-color: @black;
border: none;
border-top: 4px solid @light-green;
@ -52,3 +52,38 @@
.navbar-toggle {
margin-top: 0;
}
.menu {
margin: 0;
padding: 0;
position: absolute;
top: 4px;
border: 0;
z-index: 1000000000;
height: 40px;
line-height: 40px;
ul {
padding: 0;
margin: 0;
li {
padding: 0 0.6em;
margin: 0;
float: left;
list-style: none;
a {
color: @dim-gray;
}
}
li.active a {
color: @light-green;
}
}
}
.menu-right {
right: 2em;
}
.menu-left {
left: 2em;
}