Team:Calgary/Sandbox2
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | |||
<style> | <style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | /* Menu */ | |
+ | ul.sdt_menu{ | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style: none; | ||
+ | font-family:"Ubuntu", "Trebuchet MS", sans-serif; | ||
+ | font-size:12px; | ||
+ | width:850px; | ||
+ | } | ||
+ | ul.sdt_menu a{ | ||
+ | text-decoration:none; | ||
+ | outline:none; | ||
+ | } | ||
+ | ul.sdt_menu li{ | ||
+ | float:left; | ||
+ | width:170px; | ||
+ | height:85px; | ||
+ | position:relative; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | ul.sdt_menu li > a{ | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | left:0px; | ||
+ | width:170px; | ||
+ | height:85px; | ||
+ | z-index:12; | ||
+ | background:#222; | ||
+ | -moz-box-shadow:0px 0px 2px #000 inset; | ||
+ | -webkit-box-shadow:0px 0px 2px #000 inset; | ||
+ | box-shadow:0px 0px 2px #000 inset; | ||
+ | } | ||
+ | ul.sdt_menu li a img{ | ||
+ | border:none; | ||
+ | position:absolute; | ||
+ | width:0px; | ||
+ | height:0px; | ||
+ | bottom:0px; | ||
+ | left:85px; | ||
+ | z-index:170; | ||
+ | -moz-box-shadow:0px 0px 4px #000; | ||
+ | -webkit-box-shadow:0px 0px 4px #000; | ||
+ | box-shadow:0px 0px 4px #000; | ||
+ | z-index:16; | ||
+ | } | ||
+ | ul.sdt_menu li span.sdt_wrap{ | ||
+ | position:absolute; | ||
+ | top:25px; | ||
+ | left:0px; | ||
+ | width:170px; | ||
+ | height:60px; | ||
+ | z-index:15; | ||
+ | } | ||
+ | ul.sdt_menu li span.sdt_active{ | ||
+ | position:absolute; | ||
+ | background:#111; | ||
+ | top:85px; | ||
+ | width:170px; | ||
+ | height:0px; | ||
+ | left:0px; | ||
+ | z-index:14; | ||
+ | -moz-box-shadow:0px 0px 4px #000 inset; | ||
+ | -webkit-box-shadow:0px 0px 4px #000 inset; | ||
+ | box-shadow:0px 0px 4px #000 inset; | ||
+ | } | ||
+ | ul.sdt_menu li span span.sdt_link, | ||
+ | ul.sdt_menu li span span.sdt_descr, | ||
+ | ul.sdt_menu li div.sdt_box a{ | ||
+ | margin-left:15px; | ||
+ | //text-transform:uppercase; | ||
+ | text-shadow:1px 1px 1px #333; | ||
+ | } | ||
+ | ul.sdt_menu li span span.sdt_link{ | ||
+ | color:#fff; | ||
+ | font-size:18px; | ||
+ | float:left; | ||
+ | clear:both; | ||
+ | } | ||
+ | ul.sdt_menu li span span.sdt_descr{ | ||
+ | color:#1C5F1C; | ||
+ | float:left; | ||
+ | clear:both; | ||
+ | width:155px; /*For dumbass IE7*/ | ||
+ | font-size:10px; | ||
+ | letter-spacing:1px; | ||
+ | } | ||
+ | ul.sdt_menu li div.sdt_box{ | ||
+ | display:block; | ||
+ | position:absolute; | ||
+ | width:170px; | ||
+ | overflow: auto; | ||
+ | top:85px; | ||
+ | left:0px; | ||
+ | display:none; | ||
+ | background:#333; | ||
+ | z-index: 8; | ||
+ | padding-top: 15px; | ||
+ | } | ||
+ | ul.sdt_menu li div.sdt_box a{ | ||
+ | float:left; | ||
+ | clear:both; | ||
+ | line-height:15px; | ||
+ | color:#0B75AF; | ||
+ | } | ||
- | + | ul.sdt_menu li div.sdt_box a:hover{ | |
+ | color:#fff; | ||
+ | } | ||
- | + | /* End of menu stuff */ | |
- | |||
- | + | .secheader{ | |
+ | height:50px; | ||
+ | color:white; | ||
+ | padding-left:10px; | ||
+ | padding-top:15px; | ||
+ | font-size:2.0em; | ||
+ | text-align:left; | ||
+ | overflow:auto; | ||
+ | } | ||
- | + | .contwrap{ | |
+ | text-align:justify; | ||
+ | background:#f8f8f8; | ||
+ | color:#333333; | ||
+ | width:720px; | ||
+ | padding-left:10px; | ||
+ | padding-top:5px; | ||
+ | padding-right:10px; | ||
+ | padding-bottom:20px; | ||
+ | margin-top:5px; | ||
+ | margin-bottom:none; | ||
+ | } | ||
- | + | h2 { | |
+ | margin:0 0 1em; | ||
+ | } | ||
- | + | #camfooter { | |
+ | clear:both; | ||
+ | height:0px; | ||
+ | background:white; | ||
+ | } | ||
+ | #camfooter p { | ||
+ | margin:0; | ||
+ | } | ||
+ | * html #camfooter { | ||
+ | height:1px; | ||
+ | } | ||
+ | h1.firstHeading { | ||
+ | display: none; | ||
+ | } | ||
- | + | #globalWrapper { | |
+ | padding:0px 0px 0px 0px; | ||
+ | margin:0px 0px 0px 0px; | ||
+ | text-align: center; | ||
+ | align: center; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | color: white; | ||
+ | background: none; | ||
+ | } | ||
+ | #content { | ||
+ | background: none; | ||
+ | border:none; | ||
+ | padding:0px 0px 0px 0px; | ||
+ | margin:0px 0px 0px 0px; | ||
+ | text-align: center; | ||
+ | align: center; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | } | ||
- | + | #bodyContent { | |
+ | padding:0px 0px 0px 0px; | ||
+ | margin:0px 0px 0px 0px; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | background: none; | ||
+ | } | ||
- | + | #search-controls { | |
+ | overflow:hidden; | ||
+ | display:none; | ||
+ | background: none; | ||
+ | position: absolute; | ||
+ | top: 170px; | ||
+ | right: 40px; | ||
+ | } | ||
+ | #footer-box { | ||
+ | background: none; | ||
+ | border: none; | ||
+ | width: 965px; | ||
+ | margin: 0 auto; | ||
+ | margin-bottom:none; | ||
+ | padding-left:5px; | ||
+ | padding-right:5px; | ||
+ | color: white; | ||
+ | } | ||
+ | #footer { | ||
+ | border: none; | ||
+ | width: 965px; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | background: none ; | ||
+ | color: white; | ||
+ | } | ||
- | + | #f-list a { | |
+ | color: #CCC; | ||
+ | font-size: 10px; | ||
+ | } | ||
+ | #f-list a:hover { | ||
+ | color: #999; | ||
+ | } | ||
+ | #footer ul { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #footer ul li { | ||
+ | margin-top: 0; | ||
+ | margin-bottom: 0; | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | padding: 0; | ||
+ | } | ||
- | |||
- | + | .headerimg { | |
+ | background-position: center top; | ||
+ | background-repeat: no-repeat; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | position:fixed; | ||
+ | text-align: left; | ||
+ | padding: 0px 0px 0px 0px; | ||
+ | margin: -14px 0px 0px 0px; | ||
+ | } | ||
- | } | + | #preload{ |
+ | display:none; | ||
+ | } | ||
- | + | #globalWrapper { | |
+ | padding:0px 0px 0px 0px; | ||
+ | margin:0px 0px 0px 0px; | ||
+ | text-align: center; | ||
+ | align: center; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | color: white; | ||
+ | background: none; | ||
+ | } | ||
+ | #content { | ||
+ | background: none; | ||
+ | border:none; | ||
+ | padding:0px 0px 0px 0px; | ||
+ | margin:0px 0px 0px 0px; | ||
+ | text-align: center; | ||
+ | align: center; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | } | ||
- | + | #bodyContent { | |
- | + | padding:0px 0px 0px 0px; | |
+ | margin:0px 0px 0px 0px; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | background: none; | ||
+ | } | ||
- | + | #search-controls { | |
- | + | overflow:hidden; | |
- | + | display:none; | |
+ | background: none; | ||
+ | position: absolute; | ||
+ | top: 170px; | ||
+ | right: 40px; | ||
+ | } | ||
+ | #footer-box { | ||
+ | background: none; | ||
+ | border: none; | ||
+ | width: 965px; | ||
+ | margin: 0 auto; | ||
+ | margin-bottom:none; | ||
+ | padding-left:5px; | ||
+ | padding-right:5px; | ||
+ | color: white; | ||
+ | } | ||
+ | #footer { | ||
+ | border: none; | ||
+ | width: 965px; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | background: none ; | ||
+ | color: white; | ||
+ | } | ||
+ | #f-list a { | ||
+ | color: #CCC; | ||
+ | font-size: 10px; | ||
+ | } | ||
+ | #f-list a:hover { | ||
+ | color: #999; | ||
+ | } | ||
+ | #footer ul { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #footer ul li { | ||
+ | margin-top: 0; | ||
+ | margin-bottom: 0; | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | padding: 0; | ||
} | } | ||
+ | .left-menu, .right-menu{ | ||
+ | position: absolute; | ||
+ | background: none; | ||
+ | color: white; | ||
+ | } | ||
- | + | .left-menu ul li, .right-menu ul li a{ | |
+ | background: none; | ||
+ | color: white; | ||
+ | } | ||
- | + | #contentSub { | |
+ | background: none; | ||
+ | } | ||
+ | div#header { | ||
+ | width: 850px; | ||
+ | text-align: left; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-bottom: 0px !important; | ||
+ | } | ||
- | + | #p-logo { | |
+ | height:0px; | ||
+ | overflow:hidden; | ||
+ | border:none; | ||
+ | } | ||
+ | #top-section { | ||
+ | height: 20px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-bottom: 0px !important; | ||
+ | margin-top: -14px; | ||
+ | padding:0px 0px 0px 0px;; | ||
+ | border: none; | ||
+ | width: 100%; | ||
+ | background: none; | ||
+ | color: black; | ||
+ | position:absolute; | ||
} | } | ||
- | + | .left-menu li, .right-menu li a { | |
- | + | color: transparent !important; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active { | |
- | + | color: white !important; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
+ | </style> | ||
+ | </head> | ||
<body> | <body> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</body> | </body> | ||
+ | |||
</html> | </html> |
Revision as of 19:52, 28 June 2011