Last active
December 31, 2015 14:49
-
-
Save benjaminsavoy/8002531 to your computer and use it in GitHub Desktop.
A not-too-fugly navigation bar that I use with the ivory framework at http://weice.in/ivory/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.nav { | |
background-color: #404040; | |
} | |
h4.nav-title { | |
text-align: center; | |
color: #c0c0c0; | |
} | |
ul.nav { | |
list-style: none; | |
} | |
ul.nav li h5 { | |
margin-left: 20px; | |
color: #2ba6cb; | |
} | |
ul.nav li ul { | |
padding-top: 5px; | |
list-style: none; | |
display: none; | |
background: #404040; | |
position: absolute; | |
} | |
ul.nav li:hover ul { | |
display: block; | |
z-index: 10; | |
width: 80%; | |
} | |
ul.nav li ul li { | |
padding: 10px 0px; | |
color: #c0c0c0; | |
position: relative; | |
border-top: 2px solid #707070; | |
} | |
ul.nav li ul li * { | |
margin-left: 20px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment