fixed menu css
This commit is contained in:
parent
775a1a7a71
commit
e4c4eac4d6
1 changed files with 23 additions and 4 deletions
|
@ -70,28 +70,47 @@ img { max-width: 100%; }
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navi li a {
|
#navi a {
|
||||||
color: black;
|
color: black;
|
||||||
padding: 10px 12px;
|
padding: 0.5em 0.7em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: #90cb93;
|
background: #90cb93;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navi a:hover {
|
#navi li:hover a {
|
||||||
background: #84c684;
|
background: #416843;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navi ul {
|
#navi ul {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
list-style-type: none;
|
||||||
|
margin-left: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
top: 1.8em;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navi ul a {
|
||||||
|
display: block;
|
||||||
|
background: #416843;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navi ul a:hover {
|
||||||
|
background: #90cb93;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navi > li:hover ul {
|
#navi > li:hover ul {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navi > li:last-child ul {
|
||||||
|
right: 0;
|
||||||
|
border: red;
|
||||||
|
}
|
||||||
|
|
||||||
#stage {
|
#stage {
|
||||||
clear: both;
|
clear: both;
|
||||||
border-top: 5px solid #90cb93;
|
border-top: 5px solid #90cb93;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue