Team:UEA-JIC Norwich/Experiment
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | #page-wrap { | |
- | + | min-width: 960px; max-width: 1260px; | |
- | + | margin: 0 auto; padding: 0 10px; | |
- | + | width:expression(document.body.clientWidth < 961? "960px" : document.body.clientWidth > 1261? "1260px" : "auto"); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #right-side { | |
- | + | float: right; | |
- | + | padding-top: 15px; | |
- | + | } | |
- | + | #right-side img { | |
+ | border: 1px solid white; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | form#main-search { | ||
+ | display: inline; | ||
+ | position: relative; | ||
+ | padding-right: 10px; | ||
+ | } | ||
+ | form#main-search label { | ||
+ | display: none; | ||
+ | } | ||
+ | #search-button { | ||
+ | position: absolute; | ||
+ | right: 0px; | ||
+ | top: -6px; | ||
+ | } | ||
+ | |||
+ | #zone-bar ul li:hover { | ||
+ | background: url(images/zonebar-navleft.png) center left no-repeat; | ||
} | } | ||
- | ul | + | #zone-bar ul li a:hover { |
- | + | background: url(images/zonebar-navright.png) center right no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | <li> | |
- | + | <a href="#"><span> | |
+ | Science | ||
+ | <em class="opener-science"> | ||
+ | <img src="images/zonebar-downarrow.png" alt="dropdown" /> | ||
+ | </em> | ||
+ | </span></a> | ||
+ | <ul class="sciencesublist"> | ||
+ | <li><a href="#">Enviornment</a></li> | ||
+ | <li><a href="#">General Sciences</a></li> | ||
+ | <li><a href="#">Space</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | #zone-bar ul li ul { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 29px; | ||
+ | left: 0px; | ||
+ | width: 150px; | ||
+ | border: 1px solid #ccc; | ||
+ | background: white; | ||
+ | padding: 10px 0 0 0; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 09:43, 22 June 2011
- page-wrap {
min-width: 960px; max-width: 1260px; margin: 0 auto; padding: 0 10px; width:expression(document.body.clientWidth < 961? "960px" : document.body.clientWidth > 1261? "1260px" : "auto");
}
- right-side {
float: right; padding-top: 15px; } #right-side img { border: 1px solid white; vertical-align: middle; }
form#main-search {
display: inline; position: relative; padding-right: 10px; } form#main-search label { display: none; } #search-button { position: absolute; right: 0px; top: -6px; }
- zone-bar ul li:hover {
background: url(images/zonebar-navleft.png) center left no-repeat;
}
- zone-bar ul li a:hover {
background: url(images/zonebar-navright.png) center right no-repeat;
}
- <a href="#">Enviornment</a>
- <a href="#">General Sciences</a>
- <a href="#">Space</a>
</li>
- zone-bar ul li ul {
display: none; position: absolute; top: 29px; left: 0px; width: 150px; border: 1px solid #ccc; background: white; padding: 10px 0 0 0;
}