Team:Bielefeld-Germany/igembielefeld2013.css
From 2013.igem.org
(Difference between revisions)
Line 43: | Line 43: | ||
ul#navigation li a{ | ul#navigation li a{ | ||
display:inline-block; | display:inline-block; | ||
+ | } | ||
+ | |||
+ | ul#navigation li:hover > ul{ | ||
+ | visibility:visible; | ||
+ | opacity:1; | ||
+ | } | ||
+ | |||
+ | ul#navigation ul, ul#navigation ul li ul { | ||
+ | visibility:hidden; | ||
+ | opacity:0; | ||
+ | |||
} | } |
Revision as of 20:16, 4 June 2013
- logo{
background-image: -webkit-linear-gradient(right, #ff6600 0%, white 100%); background-image: -moz-linear-gradient(right, #ff6600 0%, white 100%); background-image: -o-linear-gradient(right, #ff6600 0%, white 100%); background-image: linear-gradient(right, #ff6600 0%, white 100%); margin: 0px 0px 20px 0px;
}
- navi{
color:grey; font-size:30px; font-variant:small-caps; font-family:Roboto; padding-right:10px; text-shadow: 0 2px 2px lightgray;
}
- navigation l:hover {
color:#ff6600; text-shadow: 0 0px 0px #ff6600;
}
- nav{
position:relative; padding:10px;
}
ul#navigation{
margin: 10px; position: relative; float:left;
}
ul#navigation li{
display:inline; margin:5px;
float:left; position:relative;
}
ul#navigation li a{
display:inline-block;
}
ul#navigation li:hover > ul{
visibility:visible; opacity:1;
}
ul#navigation ul, ul#navigation ul li ul {
visibility:hidden; opacity:0;
}