Template:UIUC09Temp

From 2009.igem.org

(Difference between revisions)
 
(219 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<style type="text/css">
+
<style type=text/css>
-
<!--
+
.firstHeading {
-
  .firstHeading {display: none;}
+
display:none;
-
  body {height:100%; margin:0; padding:0; background-color:#003C7D;}
+
-
  #globalWrapper {left:8%; width:84%; background-color:#F47F24;}
+
-
  #content {background-color:#ffffff;
+
-
            border-left-color:#F47F24;
+
-
            border-right-color:#F47F24;}
+
-
  #footer-box {background-color:#F47F24;
+
-
                border-color:#F47F24;}
+
-
/*Coding for menu bar from DynamicDrive (www.dynamicdrive.com)*/
+
-
.ddsmoothmenu{
+
-
font: bold 12px Verdana;
+
-
background: #F47F24; /*background of menu bar (default state)*/
+
-
width: 100%;
+
}
}
-
.ddsmoothmenu ul{
+
body {
-
z-index:100;
+
position:relative;
-
margin: 0;
+
background:url(https://static.igem.org/mediawiki/2009/7/71/Illinois09background.gif) top left repeat-x #6e8bbf;
-
padding: 0;
+
-
list-style-type: none;
+
}
}
-
/*Top level list items*/
+
#content {
-
.ddsmoothmenu ul li{
+
background:url(https://static.igem.org/mediawiki/2009/9/9d/Illinois09bodybackground.gif) top left repeat-x #6e8bbf;
 +
border:0;
 +
}
 +
 
 +
#uicontent {
 +
width:780px;
 +
position:relative;
 +
float:left;
 +
}
 +
 
 +
#uicontentbox {
 +
border:solid 1px;
 +
margin:0px 5px 20px;
 +
padding:10px;
 +
background:#ddd;
 +
}
 +
 
 +
#footer-box {
 +
background-color:#6e8bbf;
 +
border-color:#6e8bbf;
 +
}
 +
 
 +
div#top-section,div#content {
 +
border-width:1px;
 +
border-color:#fff;
 +
}
 +
 
 +
h2 {
 +
color:#F47F24;
 +
font-weight:bold;
 +
}
 +
 
 +
table {
 +
background: #ddd;
 +
}
 +
 
 +
table.calendar td {
 +
vertical-align:top;
 +
align:center;
 +
}
 +
 
 +
table.month {
 +
background-color:#F47F24;
 +
border:solid 1px;
 +
}
 +
 
 +
table.month .heading td {
 +
background-color:#003C7D;
 +
color:#F47F24;
 +
text-align:center;
 +
font-weight:bold;
 +
text-size:140%;
 +
}
 +
 
 +
table.month .dow td {
 +
color:#000;
 +
text-align:center;
 +
font-size:100%;
 +
}
 +
 
 +
table.month td {
 +
border:none;
 +
text-align:center;
 +
background-color:#F47F24;
 +
}
 +
 
 +
table.month a:hover {
 +
background-color:#CCC;
 +
text-decoration:none;
 +
}
 +
 
 +
.day-active {
 +
color:#003C7D;
 +
font-weight:bold;
 +
}
 +
 
 +
.day-empty {
 +
color:#000;
 +
}
 +
 
 +
/*Following coding for menu bars found at http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html*/
 +
/**************** horizontal menu coding *****************/
 +
#menu {
 +
position:relative;
 +
float:left;
 +
}
 +
 
 +
#menu ul {
 +
list-style:none;
 +
margin:0;
 +
padding:0;
 +
float:left;
 +
}
 +
 
 +
#menu a.gray, #menu a.orange {
 +
text-align:center;
 +
vertical-align:top;
 +
text-transform:uppercase;
 +
display:block;
 +
margin:0;
 +
}
 +
 
 +
#menu a.orange {
 +
width:100px;
 +
color:#003C7D;
 +
font-weight:bold;
 +
font-size:10px;
 +
background:url(https://static.igem.org/mediawiki/2009/4/49/UI09orangebutton.png);
 +
text-decoration:none;
 +
}
 +
 
 +
#menu a.gray {
 +
width:125px;
 +
color:#000;
 +
font-weight:normal;
 +
font-size:11px;
 +
border-width:1px;
 +
border-style:solid;
 +
border-color:#ccc #888 #555 #bbb;
 +
text-decoration:none;
 +
background:#ccc;
 +
}
 +
 
 +
#menu a.orange:hover {
 +
color:#fff;
 +
background:url(https://static.igem.org/mediawiki/2009/0/07/UI09orangehover.png);
 +
}
 +
 
 +
#menu a.gray:hover {
 +
color:#fff;
 +
background: #003C7D;
 +
}
 +
 
 +
#menu li {
 +
position:relative;
 +
}
 +
 
 +
/**************** vertical menu coding (from DynamicDrive) *****************/
 +
.vmenu{
 +
margin: 5px;
 +
padding: 0;
 +
width: 135px; /*width of menu*/
position: relative;
position: relative;
-
display: inline;
 
float: left;
float: left;
}
}
-
/*Top level menu link items style*/
+
.vmenu a.menuitem, .vmenu div.submenu ul li a {
-
.ddsmoothmenu ul li a{
+
height:25px;
 +
display:block;
 +
margin:1px;
 +
padding:0px 5px;
 +
}
 +
 
 +
.vmenu a.menuitem{
 +
text-transform:uppercase;
 +
color:#fff;
 +
font-weight:bold;
 +
font-size:14px;
 +
background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png);
 +
text-decoration:none;
display: block;
display: block;
-
background: #F47F24; /*background of menu items (default state)*/
+
position: relative; /*To help in the anchoring of the ".statusicon" icon image*/
 +
}
 +
 
 +
 
 +
.vmenu a.menuitem:visited, .vmenu .menuitem:active{
color: white;
color: white;
-
padding: 8px 10px;
 
-
border-right: 1px solid #778;
 
-
color: #2d2b2b;
 
-
text-decoration: none;
 
}
}
-
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
+
.vmenu a.menuitem .statusicon{ /*CSS for icon image that gets dynamically added to headers*/
-
display: inline-block;
+
position: absolute;
 +
top: 5px;
 +
right: 5px;
 +
border: none;
}
}
-
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
+
.vmenu a.menuitem:hover{
-
color: white;
+
color:#fff;
 +
background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png);
}
}
-
.ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
+
.vmenu div.submenu ul{ /*UL of each sub menu*/
-
background: #003C7D;  
+
list-style: none;
-
color: white;
+
margin: 0;
 +
padding: 0;
}
}
-
.ddsmoothmenu ul li a:hover{
+
.vmenu div.submenu ul li a{
-
background: #003C7D; /*background of menu items during onmouseover (hover state)*/
+
display: block;
-
color: white;
+
color:#fff;
 +
font-weight:bold;
 +
font-size:12px;
 +
background:url(https://static.igem.org/mediawiki/2009/1/18/UI09Sidethird.png);
 +
text-decoration:none;
}
}
-
+
 
-
/*1st sub level menu*/
+
.vmenu div.submenu ul li a:hover{
-
.ddsmoothmenu ul li ul{
+
color:#fff;
-
position: absolute;
+
background:#003C7D;
-
left: 0;
+
-
display: none; /*collapse all sub menus to begin with*/
+
-
visibility: hidden;
+
}
}
-
/*Sub level menu list items (undo style from Top level List Items)*/
+
/**************** Navigation Buttons (for Project and Experiments pages) *****************/
-
.ddsmoothmenu ul li ul li{
+
#nav {
-
display: list-item;
+
width: 770px;
-
float: none;
+
height: 160px;
 +
margin: 5px;
 +
padding: 0px;
}
}
-
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
+
#nav a {
-
.ddsmoothmenu ul li ul li ul{
+
display: inline-block;
-
top: 0;
+
list-style:none;
 +
width: 175px;
 +
height: 150px;
 +
margin: 5px 37px;
 +
border: none;
 +
color: #f00;
 +
font-size: 16px;
 +
font-weight: bold;
 +
text-transform: uppercase;
 +
text-align: center;
}
}
-
/* Sub level menu links style */
+
#nav a.intro {
-
.ddsmoothmenu ul li ul li a{
+
background: url(https://static.igem.org/mediawiki/2009/6/64/UI09Intropic.png);
-
font: normal 13px Verdana;
+
-
width: 160px; /*width of sub menus*/
+
-
padding: 5px;
+
-
margin: 0;
+
-
border-top-width: 0;
+
-
border-bottom: 1px solid gray;
+
}
}
-
/* Holly Hack for IE \*/
+
#nav a.intro:hover {
-
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
+
background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png);
 +
}
 +
#nav a.research {
 +
background: url(https://static.igem.org/mediawiki/2009/c/cb/UI09Researchpic.png);
 +
}
-
/* ######### CSS classes applied to down and right arrow images  ######### */
+
#nav a.research:hover {
 +
background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png);
 +
}
-
.downarrowclass{
+
#nav a.modeling {
-
position: absolute;
+
background: url(https://static.igem.org/mediawiki/2009/a/a7/UI09Modelingpic.png);
-
top: 12px;
+
-
right: 7px;
+
}
}
-
.rightarrowclass{
+
#nav a.modeling:hover {
-
position: absolute;
+
background: url(https://static.igem.org/mediawiki/2009/0/06/UI09Modelinghover.png);
-
top: 6px;
+
-
right: 5px;
+
}
}
-
/* ######### CSS for shadow added to sub menus  ######### */
+
#nav a.protocols {
 +
background: url(https://static.igem.org/mediawiki/2009/f/f1/UI09Protocolsbutton.png);
 +
}
-
.ddshadow{
+
#nav a.protocols:hover {
-
position: absolute;
+
background: url(https://static.igem.org/mediawiki/2009/f/f0/UI09Protocolshover.png);
-
left: 0;
+
-
top: 0;
+
-
width: 0;
+
-
height: 0;
+
-
background: silver;
+
}
}
-
.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
+
#nav a.vectors {
-
opacity: 0.8;
+
background: url(https://static.igem.org/mediawiki/2009/7/7c/UI09Vectorsbutton.png);
}
}
-
-->
+
 
 +
#nav a.vectors:hover {
 +
background: url(https://static.igem.org/mediawiki/2009/f/f5/UI09Vectorshover.png);
 +
}
 +
 
 +
#nav a.results {
 +
width: 600px;
 +
height: 35px;
 +
background:#003C7D
 +
}
 +
 
 +
#nav a.results:hover {
 +
background:#6e8bbf;
 +
}
 +
 
</style>
</style>
</html>
</html>

Latest revision as of 03:55, 22 October 2009