Team:ETH Zurich/Templates/TestHeader
From 2012.igem.org
(Difference between revisions)
Line 116: | Line 116: | ||
{ background: #009966; | { background: #009966; | ||
} | } | ||
+ | |||
+ | // Submenus | ||
+ | .eth_submenu { | ||
+ | margin: 0 auto; | ||
+ | width: 50%; | ||
+ | } | ||
+ | |||
+ | .eth_submenu ul li { | ||
+ | float: left; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | .eth_submenu ul li a { | ||
+ | display: block; | ||
+ | background: #009966; | ||
+ | padding: 5px 20px; | ||
+ | text-decoration: none; | ||
+ | border-right: 1px solid white; | ||
+ | color: #EAFFED; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | .eth_submenu ul li:last-child a { | ||
+ | border-radius: 0 8px 8px 0; | ||
+ | } | ||
+ | |||
+ | .eth_submenu ul li:first-child { | ||
+ | display: block; | ||
+ | background: #009966; | ||
+ | padding: 5px 20px; | ||
+ | text-decoration: none; | ||
+ | border-right: 1px solid white; | ||
+ | white-space: nowrap; | ||
+ | border-radius: 8px 0 0 8px; | ||
+ | } | ||
+ | |||
+ | .eth_submenu ul li a:hover { | ||
+ | background: #99CC99; | ||
+ | } | ||
+ | |||
#eth_page { | #eth_page { |
Revision as of 12:54, 25 September 2012