Template:Team:Sheffield

From 2014.igem.org

(Difference between revisions)
Line 160: Line 160:
}
}
-
 
-
 
-
/* ---------------------------------------------------------------------------- */
 
-
/* default styling */
 
-
.nav, .nav ul { list-style-type:none; margin:0; padding:0; }
 
-
.nav a { text-decoration:none; }
 
-
.nav { font-family: arial, sans-serif; font-size:12px; width:1050px; margin:0 auto; text-align:center; line-height:25px;}
 
-
 
-
/* style the links */
 
-
/* needs a background for IE6 - can be a color or a transparent gif */
 
-
.nav a { background:url(trans.gif); filter: alpha(opacity=90); opacity:0.9; }
 
-
 
-
/* style the <b> element so that is does not affect the size of the link */
 
-
.nav a b { color:#000; font-weight:bold; display:block; padding:5px 10px; margin-right:1px; }
 
-
.nav a:hover b { color:#000; cursor:pointer; border-left:2px solid #eee; }
 
-
.nav .fly .main b { background: transparent url(ulmulti5/arrow.gif) no-repeat right 9px; }
 
-
.nav .down b { background: transparent url(ulmulti5/arrow2.gif) no-repeat right 11px; }
 
-
 
-
 
-
/* HEIGHT */
 
-
.nav ul ul { top:-25px; } /* position the top of the flyout sub menus */
 
-
.nav ul ul.two { top:-40px; } /* position the top of the flyout sub menus */
 
-
/* WIDTH change this WITH CARE to suit your requirements */
 
-
 
-
 
-
 
-
 
-
 
-
/* FOR NAV1 */
 
-
.nav1 { width:60px;}
 
-
.nav1 a { width:60px;}
 
-
.nav1 a, .nav2 .fly a { background: #fff; height:40px; width:60px;}
 
-
.nav1 b, .nav2 .fly b { background: #fff; height:30px; }
 
-
.nav1 ul li { list-style: none; }
 
-
.nav1 ul a { width:150px; }
 
-
.nav1 ul ul { left:120px; }
 
-
.nav1 a { margin-right:-99px; }
 
-
.nav1 ul a { margin-right:-119px; }
 
-
 
-
/* FOR NAV2 */
 
-
.nav2 { width:90px; }
 
-
.nav2 a { width:80px;}
 
-
.nav2 a, .nav2 .fly a { background:#fff; height:40px; width:90px;}
 
-
.nav2 b, .nav2 .fly b { background: #fff; height:30px;}
 
-
.nav2 ul li { list-style: none; }
 
-
.nav2 ul a { width:150px; }
 
-
.nav2 ul ul { left:120px; }
 
-
.nav2 a { margin-right:-99px; }
 
-
.nav2 ul a { margin-right:-119px;}
 
-
 
-
/* FOR NAV3 */
 
-
.nav3 { width:150px;}
 
-
.nav3 a { width:150px;}
 
-
.nav3 a, .nav3 .fly a { background: #fff; height:40px; width:150px;}
 
-
.nav3 b, .nav3 .fly b { background: #fff; height:30px; }
 
-
.nav3 ul li { list-style: none; }
 
-
.nav3 ul a { width:150px; }
 
-
.nav3 ul ul { left:120px; }
 
-
.nav3 a { margin-right:-99px; }
 
-
.nav3 ul a { margin-right:-119px; }
 
-
 
-
/* FOR NAV4 */
 
-
.nav4{ width:120px;}
 
-
.nav4 a{ width:120px;}
 
-
.nav4 a, .nav4 .fly a { background:#fff; height:40px; width:120px; }
 
-
.nav4 b, .nav4 .fly b { background: #fff; height:30px; }
 
-
.nav4 ul li { list-style: none; }
 
-
.nav4 ul a { width:150px; }
 
-
.nav4 ul ul { left:120px; }
 
-
.nav4 a { margin-right:-99px;}
 
-
.nav4 ul a { margin-right:-119px; }
 
-
 
-
 
-
/* ---------------------------------------------------------------------------- */
 
-
 
-
/* DO NOT CHANGE ANYTHING BELOW */
 
-
.nav li { float:left; } /* fixes several IE related bugs, and allows for clearing */
 
-
.nav ul { float:left; position:relative; z-index:20; } /* necessary for float drop and to stack the <ul>s */
 
-
.nav ul li { clear:left; } /* must clear the floated list item inside sublist */
 
-
.nav a { position:relative; display:block; } /* needs to have a position, to be above the rest */
 
-
.nav a.main { float:left; /* necessary for float drop */ margin-top:10000px; } /* bring the top level links back into view */
 
-
.nav .drop, .nav .fly { margin-top:-10000px; } /* hide the sub links and their containers, opera has low upper limits */
 
-
.nav ul { margin-bottom:-5000px; } /* avoid any interaction between the subs, can be any large size */
 
-
/* The bit that does ALL the work to bring the sub menus into view */
 
-
.nav a:hover, .nav a:focus, .nav a:active { margin-right:0; z-index:10; outline:0; }
 
-
.nav a:hover b, .nav a:focus b, .nav a:active b { color:#000; cursor:pointer; border-left:2px solid #eee; }
 
-
 
-
/* OPERA fix */
 
-
.nav ul:hover, .nav ul ul:hover { clear:left; } /* to stop intermittent sub link :hover problems */
 
-
 
-
/* ---------------------------------------------------------------------------- */
 
-
 
-
 
-
 
-
 
Line 265: Line 170:
 +
</head>
-
  </head>
 
<body>
<body>
<div id="contentcontainer">
<div id="contentcontainer">

Revision as of 11:48, 7 October 2014