Team:Michigan/Test Css

From 2012.igem.org

(Difference between revisions)
Line 16: Line 16:
<style type="text/css">
<style type="text/css">
 +
#menu
 +
{
 +
position: fixed;
 +
z-index: 5;
 +
top: 0;
 +
left: 0;
 +
width: 100%;
 +
height: 40px;
 +
line-height: 40px;
 +
background: #ffb35a url(images/topbg.gif) repeat-x;
 +
border-bottom: 1px solid #000;
 +
}
 +
 +
#menu ul
 +
{
 +
margin: 0 auto;
 +
}
 +
 +
#menu ul li.hasmore
 +
{
 +
background: url(images/drophighlight.png) no-repeat center 27px;
 +
}
 +
 +
#menu ul li h4
 +
{
 +
margin: 0;
 +
}
 +
 +
#menu ul li h4 a
 +
{
 +
font-size: 14px;
 +
color: #000;
 +
font-weight: bold;
 +
padding: 0 15px;
 +
}
 +
 +
#menu ul li a
 +
{
 +
color: #9b2021;
 +
padding-left: 4px;
 +
}
 +
 +
#menu ul li a img
 +
{
 +
vertical-align: middle;
 +
}
 +
 +
#menu ul li a:hover
 +
{
 +
background: url(images/topselectionleft.png) top left no-repeat;
 +
}
 +
 +
#menu ul li a span
 +
{
 +
display: block;
 +
padding: 0 15px 0 11px;
 +
}
 +
 +
#menu ul li a:hover span
 +
{
 +
background: url(images/topselectionright.png) top right;
 +
}
 +
 +
#menu ul.dropdown
 +
{
 +
padding: 10px;
 +
background-image: url(images/dropdown.png);
 +
overflow:hidden;
 +
border-bottom: 1px solid #dc902f;
 +
width: 290px;
 +
}
 +
 +
#menu ul.dropdown li a
 +
{
 +
border-bottom: 1px solid #e5cd8e;
 +
line-height: 30px;
 +
overflow: hidden;
 +
height: 30px;
 +
}
 +
 +
#menu ul.dropdown li.last a
 +
{
 +
border-bottom-width: 0;
 +
}
 +
 +
#menu ul.dropdown li a:hover
 +
{
 +
background: url(images/menuarrow.png) no-repeat left center;
 +
}
 +
 +
#menu ul li h4 a:hover
 +
{
 +
background-image: none;
 +
}
 +
#slideshow {  
#slideshow {  
     margin: -375px 0px 0px 400px;  
     margin: -375px 0px 0px 400px;  

Revision as of 23:07, 31 July 2012

Xayona Website Template