Team:ETH Zurich/Templates/TestHeader
From 2012.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
/* Main menu */ | /* Main menu */ | ||
+ | #eth_nav { | ||
+ | padding: 0 0 0 7px; | ||
+ | } | ||
+ | |||
#eth_nav ul | #eth_nav ul | ||
{ margin: 0; | { margin: 0; | ||
Line 49: | Line 53: | ||
} | } | ||
- | #eth_nav ul li a | + | #eth_nav > ul > li > a |
{ display: block; | { display: block; | ||
background: #324143; | background: #324143; | ||
- | padding: 5px | + | padding: 5px 15px; |
text-decoration: none; | text-decoration: none; | ||
border-right: 1px solid white; | border-right: 1px solid white; | ||
Line 62: | Line 66: | ||
{ display: block; | { display: block; | ||
background: #324143; | background: #324143; | ||
- | padding: 5px | + | padding: 5px 15px; |
text-decoration: none; | text-decoration: none; | ||
border-right: 1px solid white; | border-right: 1px solid white; | ||
Line 89: | Line 93: | ||
#eth_nav ul li ul li a | #eth_nav ul li ul li a | ||
- | { width: auto; | + | { |
- | + | width: auto; | |
- | + | background: #009966; | |
+ | color: #EAFFED; | ||
+ | display: block; | ||
+ | padding: 5px 15px; | ||
+ | text-decoration: none; | ||
+ | white-space: nowrap; | ||
+ | |||
} | } | ||
Line 100: | Line 110: | ||
#eth_nav > ul > li > ul > li > strong.selflink | #eth_nav > ul > li > ul > li > strong.selflink | ||
{ width: auto; | { width: auto; | ||
- | background: # | + | background: #009966; |
- | color: # | + | color: #EAFFED; |
- | + | ||
display: block; | display: block; | ||
- | padding: 5px | + | padding: 5px 15px; |
text-decoration: none; | text-decoration: none; | ||
white-space: nowrap; | white-space: nowrap; | ||
Line 114: | Line 123: | ||
#eth_nav ul li ul li a:hover | #eth_nav ul li ul li a:hover | ||
- | { background: # | + | { background: #9ACB98; |
} | } | ||
Line 179: | Line 188: | ||
#eth_header { | #eth_header { | ||
+ | background: url(https://static.igem.org/mediawiki/2012/a/a9/Eth_header_bg.jpg) repeat scroll 0 0 white; | ||
+ | border-radius: 8px 8px 8px 8px; | ||
+ | } | ||
+ | |||
+ | #eth_header_ecolipse { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #eth_header_igem { | ||
+ | position: relative; | ||
+ | top: -115px; | ||
+ | left: 880px; | ||
+ | width: 80px; | ||
+ | height: 80px; | ||
} | } | ||
#eth_menu { | #eth_menu { | ||
- | background-color: #324143; border: none; margin: 0; padding: 0; width: | + | background-color: #324143; |
+ | border: medium none; | ||
+ | left: 125px; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: relative; | ||
+ | top: -28px; | ||
+ | width: 850px; | ||
+ | border-radius: 8px 0 8px 0; | ||
} | } | ||
Line 191: | Line 222: | ||
overflow: hidden; | overflow: hidden; | ||
padding: 10px; | padding: 10px; | ||
+ | border-radius: 8px; | ||
} | } | ||
Line 216: | Line 248: | ||
margin: 0; | margin: 0; | ||
overflow: hidden; | overflow: hidden; | ||
+ | margin: 15px 0 30px 0; | ||
padding: 10px; | padding: 10px; | ||
+ | border-radius: 8px; | ||
} | } | ||
Line 288: | Line 322: | ||
<div id="eth_page"> | <div id="eth_page"> | ||
- | <div id=" | + | <div id="eth_header"><div id="eth_header_ecolipse">[[Image:eth_ecolipseeth_logo.png|200px]]</div><div id="eth_header_igem">[[Image:eth_igem_logo.png|80px|link=https://2012.igem.org/Main_Page]]</div><div class="clear"></div></div> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<div id="eth_menu"> | <div id="eth_menu"> | ||
<div id="eth_nav"> | <div id="eth_nav"> |
Revision as of 09:47, 26 September 2012