Template:Team:Sheffield
From 2014.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | <style type="text/css"> | ||
+ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/ | ||
+ | |||
+ | #top-section { | ||
+ | |||
+ | border: 0 none; | ||
+ | height: 14px; | ||
+ | z-index: 100; | ||
+ | top: 0; | ||
+ | position: fixed; | ||
+ | width: 975px; | ||
+ | left: 50%; | ||
+ | margin-left: -487px; | ||
+ | } | ||
+ | |||
+ | #globalWrapper, #content { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | border: 0px; | ||
+ | background-color: transparent; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | html, body, .wrapper { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | background-color: transparent; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .title { | ||
+ | font-family: 'Lato', sans-serif; | ||
+ | font-size: 2.5em; | ||
+ | letter-spacing: 2px; | ||
+ | color: white; | ||
+ | font-weight: 250; | ||
+ | margin-top: 0.25em; | ||
+ | margin-bottom: 0.25em; | ||
+ | margin-left:1em; | ||
+ | margin-right:1em; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | .subtitle { | ||
+ | font-family: 'Lato', sans-serif; | ||
+ | font-size: 1.4em; | ||
+ | letter-spacing: 0.5px; | ||
+ | color: white; | ||
+ | font-weight: 400; | ||
+ | margin-top: 0.25em; | ||
+ | margin-bottom: 0.25em; | ||
+ | margin-left:1em; | ||
+ | margin-right:1em; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | #firstSection { | ||
+ | /* background-color: #DCEDDE; */ | ||
+ | /* background-color: #B5888A; */ | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | /* background-color:#fff;*/ | ||
+ | position:fixed; | ||
+ | width:1050px; | ||
+ | height:40px; | ||
+ | margin-top:5px; | ||
+ | margin-left:150px; | ||
+ | border:1px solid #000; | ||
+ | border-width:1px 0 1px 0; | ||
+ | } | ||
+ | |||
+ | #secondSection{ | ||
+ | /* background-color: #DCEDDE; */ | ||
+ | /* background-color: #B5888A; */ | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | width:1050px; | ||
+ | height:40px; | ||
+ | margin-top:5px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | #thirdSection{ | ||
+ | /* background-color: #E1FCEF; */ | ||
+ | background-color: #C4B7A2; | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | width:1050px; | ||
+ | height:80em; | ||
+ | margin-top:5px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | #fourthSection{ | ||
+ | background-color: #DCEDDE; | ||
+ | width:1050px; | ||
+ | height:20em; | ||
+ | margin-top:5px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | #fifthSection{ | ||
+ | /* background-color: #F7F4E0; */ | ||
+ | background-color: #BAD0AA; | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | /* MARGIN-RIGHT: auto; */ | ||
+ | width:1050px; | ||
+ | height:60em; | ||
+ | margin-top:5px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | #sixthSection{ | ||
+ | /* 1: background-color: #E3F4E5; */ | ||
+ | background-color: #80B8A3; | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | MARGIN-Right: 12em; | ||
+ | width:43.5em; | ||
+ | float:right; | ||
+ | } | ||
+ | #seventhSection{ | ||
+ | /* 1: background-color: #EDF7D3; */ | ||
+ | /* 2: background-color: #73A09A; */ | ||
+ | background-color: #000; | ||
+ | MARGIN-LEFT: 11.9em; | ||
+ | width:0em; | ||
+ | } | ||
+ | #eighthSection{ | ||
+ | /* 1: background-color: #EDF7D3; */ | ||
+ | /* background-color: #73A09A; */ | ||
+ | background-color: #FFFFFF; | ||
+ | MARGIN-LEFT: 11.9em; | ||
+ | width:87.5em; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | /* ---------------------------------------------------------------------------- */ | ||
+ | /* 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 */ | ||
+ | |||
+ | /* ---------------------------------------------------------------------------- */ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | a{TEXT-DECORATION:none} | ||
+ | |||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</head> | </head> | ||
<body> | <body> |
Revision as of 11:43, 7 October 2014