Line 25: | Line 25: | ||
background-color: #4CAF50; | background-color: #4CAF50; | ||
} | } | ||
− | nav ul ul { | + | ul li { |
+ | float: left; | ||
+ | } | ||
+ | ul li:hover { | ||
+ | background: #4b545f; | ||
+ | background: linear-gradient(top, #4f5964 0%, #5f6975 40%); | ||
+ | background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%); | ||
+ | background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%); | ||
+ | } | ||
+ | nav ul li:hover a { | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | ul li a { | ||
+ | display: block; padding: 25px 40px; | ||
+ | color: #757575; text-decoration: none; | ||
+ | } | ||
+ | ul ul { | ||
background: #5f6975; border-radius: 0px; padding: 0; | background: #5f6975; border-radius: 0px; padding: 0; | ||
position: absolute; top: 100%; | position: absolute; top: 100%; | ||
} | } | ||
− | + | ul ul li { | |
float: none; | float: none; | ||
border-top: 1px solid #6b727c; | border-top: 1px solid #6b727c; | ||
Line 35: | Line 52: | ||
position: relative; | position: relative; | ||
} | } | ||
− | + | ul ul li a { | |
padding: 15px 40px; | padding: 15px 40px; | ||
color: #fff; | color: #fff; | ||
} | } | ||
− | + | ul ul li a:hover { | |
background: #4b545f; | background: #4b545f; | ||
} | } | ||
Line 49: | Line 66: | ||
<li><a href="https://2016.igem.org/Team:CGU_Taiwan/Team">TEAM</a></li> | <li><a href="https://2016.igem.org/Team:CGU_Taiwan/Team">TEAM</a></li> | ||
<li><a href="https://2016.igem.org/Team:CGU_Taiwan/Project">PROJECT</a> | <li><a href="https://2016.igem.org/Team:CGU_Taiwan/Project">PROJECT</a> | ||
− | <ul><a href="https://2016.igem.org/Team:CGU_Taiwan/Description">Description</a></ | + | <ul><a href="https://2016.igem.org/Team:CGU_Taiwan/Description">Description</a></ul> |
</li> | </li> | ||
<li><a href="https://2016.igem.org/Team:CGU_Taiwan/Model">MODELING</a></li> | <li><a href="https://2016.igem.org/Team:CGU_Taiwan/Model">MODELING</a></li> |
Revision as of 16:23, 30 June 2016