Template:UIUC09Temp

From 2009.igem.org

(Difference between revisions)
Line 24: Line 24:
   .day-active {color:#003C7D; font-weight: bold}
   .day-active {color:#003C7D; font-weight: bold}
   .day-empty {color: #000000}  
   .day-empty {color: #000000}  
-
/*Following coding for menubar found at http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html*/
+
/*Following coding for menu bars found at http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html*/
-
/**************** menu coding *****************/
+
/**************** horizontal menu coding *****************/
#menu {
#menu {
width: 100%;
width: 100%;
Line 131: Line 131:
font: bold 0.7em/1.4em;
font: bold 0.7em/1.4em;
}
}
 +
</style>
 +
<![endif]-->
 +
 +
/**************** vertical menu coding *****************/
 +
 +
#vmenu {
 +
width: 12em;
 +
background: #F47F24;
 +
}
 +
 +
#vmenu ul {
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
 +
#vmenu a.main, a.second, a.third {
 +
text-align: center;
 +
display: block;
 +
border-width: 1px;
 +
border-style: solid;
 +
border-color: #ccc #888 #555 #bbb;
 +
margin: 0;
 +
padding: 2px 3px;
 +
}
 +
 +
#vmenu a.main {
 +
text-transform: uppercase;
 +
color: #fff;
 +
font-weight: bold;
 +
font-size: 14px;
 +
background: #003C7D;
 +
text-decoration: none;
 +
}
 +
 +
#vmenu a.second {
 +
text-transform: uppercase;
 +
color: #000;
 +
font-weight: normal;
 +
font-size: 12px;
 +
background: #efefef;
 +
text-decoration: none;
 +
}
 +
 +
#vmenu a.third {
 +
color: #000;
 +
font-weight: normal;
 +
font-size: 10px;
 +
background: #efefef;
 +
text-decoration: none;
 +
}
 +
 +
#vmenu a.main:hover {
 +
color: #003C7D;
 +
background: #FFFFFF;
 +
}
 +
 +
#vmenu a.second:hover, a.third:hover {
 +
color: #fff;
 +
background: #003C7D;
 +
}
 +
 +
#vmenu li {
 +
position: relative;
 +
}
 +
 +
#vmenu ul ul ul {
 +
position: absolute;
 +
top: 0;
 +
left: 100%;
 +
width: 100%;
 +
}
 +
 +
</style>
 +
<!--[if IE]>
 +
<style type="text/css" media="screen">
 +
#vmenu ul li {float: left; width: 100%;}
 +
</style>
 +
<![endif]-->
 +
<!--[if lt IE 7]>
 +
<style type="text/css" media="screen">
 +
body {
 +
font-size: 100%;
 +
}
 +
#vmenu ul li {float: left; width: 100%;}
 +
#vmenu ul li a {height: 1%;}
 +
}
 +
</style>
</style>
<![endif]-->
<![endif]-->
</html>
</html>

Revision as of 19:44, 14 July 2009

/**************** vertical menu coding *****************/ #vmenu { width: 12em; background: #F47F24; } #vmenu ul { list-style: none; margin: 0; padding: 0; } #vmenu a.main, a.second, a.third { text-align: center; display: block; border-width: 1px; border-style: solid; border-color: #ccc #888 #555 #bbb; margin: 0; padding: 2px 3px; } #vmenu a.main { text-transform: uppercase; color: #fff; font-weight: bold; font-size: 14px; background: #003C7D; text-decoration: none; } #vmenu a.second { text-transform: uppercase; color: #000; font-weight: normal; font-size: 12px; background: #efefef; text-decoration: none; } #vmenu a.third { color: #000; font-weight: normal; font-size: 10px; background: #efefef; text-decoration: none; } #vmenu a.main:hover { color: #003C7D; background: #FFFFFF; } #vmenu a.second:hover, a.third:hover { color: #fff; background: #003C7D; } #vmenu li { position: relative; } #vmenu ul ul ul { position: absolute; top: 0; left: 100%; width: 100%; }