Team:TU-Delft/Notebook
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <html> | |
- | <html | + | <style type="text/css"> |
- | < | + | @charset "UTF-8"; |
- | + | /*CSS Document */ | |
- | + | ||
+ | /* colors lab notebook */ | ||
+ | .day-empty { | ||
+ | color: red; | ||
+ | } | ||
+ | .day-active { | ||
+ | color: green; | ||
+ | } | ||
- | + | *{ | |
- | + | border:0; | |
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
- | + | html { | |
- | + | width:100%; | |
- | + | height:100%; | |
+ | background:none; | ||
+ | border:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
- | + | body { | |
+ | width:100%; | ||
+ | height:100%; | ||
+ | background:#10143a; | ||
+ | border:none; | ||
+ | padding:0; | ||
+ | z-index:800; | ||
+ | } | ||
+ | h1 { | ||
+ | text-decoration: none; | ||
+ | border: none; | ||
+ | } | ||
- | |||
+ | h2{ | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | font-size:15px; | ||
+ | text-transform:uppercase; | ||
+ | letter-spacing:1px; | ||
+ | border-bottom:2px solid #000; | ||
+ | text-decoration: none; | ||
+ | } | ||
- | + | h3{ | |
- | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | |
- | + | font-variant: small-caps; | |
- | + | font-stretch: ultra-expanded; | |
- | + | color: #10143a; | |
- | + | font-size:20px; | |
- | + | font-weight:bold; | |
- | + | line-height:18px; | |
+ | letter-spacing:1px; | ||
} | } | ||
- | + | a:link, a:active, a:visited{ | |
- | + | color:purple; | |
- | + | text-decoration:none; | |
- | + | font-weight:blue; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | a:hover{ | |
- | + | color:navy; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #content { |
- | + | background:#10143a; | |
- | + | padding:0; | |
- | + | width:100%; | |
- | + | border:0; | |
- | background: | + | |
- | + | ||
- | + | ||
- | border:0; | + | |
} | } | ||
- | # | + | #bodyContent{ |
- | + | margin:0 auto; | |
- | + | padding:0; | |
- | width: | + | width:685px; |
- | + | border:0; | |
- | background: | + | background:white; |
- | + | z-index:800; | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | #contentbox { |
- | + | background:#dbdae0; | |
- | + | width:590px; | |
- | + | margin: -10px auto 0 auto; | |
- | + | padding:20px 50px 50px 50px; | |
- | + | float: left; | |
- | + | text-decoration:none; | |
- | + | border:none; | |
- | + | z-index:800; | |
} | } | ||
- | + | ||
- | + | ||
- | + | img.bg_team { | |
- | width: | + | /* Set rules to fill background */ |
- | height: | + | min-height: 100%; |
- | + | min-width: 1024px; | |
- | + | ||
- | + | /* Set up proportionate scaling */ | |
- | + | width: 100%; | |
+ | height: auto; | ||
+ | |||
+ | /* Set up positioning */ | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | z-index:-1; | ||
} | } | ||
- | + | ||
- | + | @media screen and (max-width: 1024px){ | |
- | + | img.bg_team { | |
- | margin | + | left: 50%; |
+ | margin-left: -512px; } | ||
} | } | ||
- | + | ||
- | + | #logo_ed{ | |
- | + | position:fixed; | |
- | + | width:150px; | |
- | + | height:100px; | |
- | + | margin:10px 0 0 10px; | |
+ | border:0; | ||
+ | top:0px; | ||
+ | left:0px; | ||
+ | padding:0; | ||
+ | float:left; | ||
+ | z-index:999; | ||
} | } | ||
- | + | #logo_igem{ | |
- | + | position:fixed; | |
- | margin: | + | width:70px; |
+ | height:57px; | ||
+ | margin:120px 0 0 20px; | ||
+ | border:0; | ||
+ | top:0px; | ||
+ | left:0px; | ||
+ | padding:0; | ||
+ | float:left; | ||
+ | z-index:999; | ||
+ | overflow:hidden; | ||
} | } | ||
- | + | ||
- | + | #twitter_widget{ | |
- | + | position:fixed; | |
- | + | width:155px; | |
- | + | height:240px; | |
- | + | background:white; | |
- | + | padding:10px 0 0 0; | |
- | + | bottom:90px; | |
- | + | left:0px; | |
+ | z-index:1001; | ||
} | } | ||
- | # | + | |
- | position: | + | #social_linkall{ |
- | + | position:fixed; | |
- | + | bottom:48px; | |
- | width: | + | left:10px; |
- | height:35px; | + | width:120px; |
- | + | height:35px; | |
- | + | z-index:1001; | |
- | + | border:0; | |
} | } | ||
- | # | + | |
- | + | #social_icons{ | |
- | + | position:fixed; | |
- | + | bottom:15px; | |
- | + | left:20px; | |
- | + | width:110px; | |
- | + | height:24px; | |
+ | z-index:1001; | ||
} | } | ||
- | # | + | /* |
- | + | #video-container{ | |
+ | position:relative; | ||
+ | z-index:800; | ||
} | } | ||
- | # | + | */ |
- | + | ||
- | + | #nav { | |
- | font- | + | position:fixed; |
+ | width:690px; | ||
+ | bottom:10px; | ||
+ | left:50%; | ||
+ | margin: 0 0 0 -330px; | ||
+ | padding: 0; | ||
+ | z-index:1001; | ||
+ | |||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | font-size:14px; | ||
+ | letter-spacing:1px; | ||
+ | text-transform:uppercase; | ||
} | } | ||
- | # | + | #nav ul{ |
- | + | width:630px; | |
+ | background: white; | ||
+ | text-align:center; | ||
+ | margin: 0 auto; | ||
} | } | ||
- | + | #nav li.on ul, #nav li.off ul { | |
- | + | margin: 0; | |
+ | padding: 0; | ||
+ | } | ||
+ | #nav a { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | #nav li { /*float the main list items*/ | ||
+ | margin: 0; | ||
+ | float: left; | ||
+ | display: inline; | ||
+ | padding:0 3px; | ||
+ | background:white ; | ||
+ | text-align:center; | ||
+ | } | ||
+ | #nav li ul { | ||
+ | display: none; | ||
- | + | } | |
- | + | #nav li.off ul, #nav li.on ul { /*put the subnav above*/ | |
+ | position:fixed; | ||
+ | width:630px; | ||
+ | bottom:37px; | ||
+ | left:50%; | ||
+ | margin: 0 0 0 -343px; | ||
+ | padding: 0 0 5px 0; | ||
+ | background:white; | ||
+ | text-align:center; | ||
+ | } | ||
- | + | #nav li a { | |
+ | color: white ; | ||
+ | font-weight: bold; | ||
+ | display: block; | ||
+ | height: 15px; | ||
+ | width: auto; | ||
+ | border-bottom:0; | ||
+ | margin: 5px; | ||
+ | padding: 0 0 5px 0; | ||
+ | } | ||
- | + | #nav li a span { | |
+ | color: #FFD109; | ||
+ | } | ||
- | + | #nav li a span span{ | |
- | + | color: #FFD109; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #nav li a span span span{ | |
+ | color: #FFD109; | ||
+ | } | ||
- | + | #nav li.on a { | |
+ | border-bottom: 2px solid white; | ||
+ | color: white; | ||
+ | } | ||
+ | #nav li.on2 a { | ||
+ | border-bottom: 2px solid blue; | ||
+ | color: aqua; | ||
+ | } | ||
- | + | #nav li.on a:hover { | |
- | + | color: #10143a; | |
+ | } | ||
- | + | #nav li.on a:hover span{ | |
- | + | color:blue; | |
- | + | } | |
- | + | ||
- | + | #nav li.on ul a, #nav li.off ul a { | |
- | + | float: center; /*ie doesn't inherit the float*/ | |
+ | border: 0; | ||
+ | font-size:12px; | ||
+ | color: white; | ||
+ | width: auto; | ||
+ | margin-right: 0px; | ||
+ | } | ||
+ | #nav li.on ul { | ||
+ | display: inline; | ||
+ | } | ||
+ | #nav li.off:hover ul { | ||
+ | display: block; | ||
+ | z-index: 6000; | ||
+ | } | ||
+ | #nav li.off a:hover, #nav li:hover a { | ||
+ | background: white; | ||
+ | color: #10143a; | ||
+ | } | ||
- | + | #nav li.off a:hover span, #nav li:hover a { | |
- | + | background: #10143a; | |
+ | color: #10143a; | ||
+ | } | ||
- | + | .third{ | |
- | + | font-size:11px; | |
+ | padding:0; | ||
+ | } | ||
- | + | #footer { | |
- | + | text-decoration:none; | |
+ | border:none; | ||
+ | width:100%; | ||
+ | } | ||
+ | #footer-box{ | ||
+ | width:0px; | ||
+ | height:0px; | ||
+ | display:none; | ||
+ | } | ||
- | + | .sum_dot{ | |
- | + | list-style: disc; | |
+ | } | ||
- | + | .sum_number{ | |
- | + | list-style: decimal; | |
+ | } | ||
- | + | #contentSub{ | |
- | + | width:0px; | |
+ | height:0px; | ||
+ | display:none; | ||
+ | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | #catlinks{ | |
+ | width:0px; | ||
+ | height:0px; | ||
+ | display:none; | ||
+ | } | ||
- | + | .twtr-widget { | |
- | + | width: 150px; | |
- | + | } | |
- | + | .twtr-hd, .twtr-ft { | |
- | + | display:none; | |
+ | } | ||
- | + | #siteSub { | |
- | + | display:none; | |
+ | } | ||
- | + | #search-controls { | |
- | + | display:none; | |
+ | } | ||
- | + | .firstHeading { | |
- | + | display:none; | |
+ | } | ||
- | + | #search-controls { | |
- | + | display:none; | |
+ | } | ||
- | + | #p-logo { | |
- | + | display:none; | |
+ | } | ||
- | + | #top-section { | |
- | + | border:none; | |
+ | margin: 0 auto; | ||
+ | height:0px ! important; | ||
+ | width:100%; | ||
+ | } | ||
+ | #centeredimage { | ||
+ | display: block; | ||
+ | text-align:center; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | #globalWrapper{ | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | border:0; | ||
+ | } | ||
+ | .visualClear{ | ||
+ | height:0; | ||
+ | width:0; | ||
+ | display:none; | ||
+ | } | ||
- | + | #menubar { | |
- | + | position: absolute; | |
+ | white-space: nowrap; | ||
+ | top:0; | ||
+ | width: 350px; | ||
+ | z-index: 5; | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | font-size: 95%; | ||
+ | line-height: 1em; | ||
+ | z-index:1001; | ||
+ | } | ||
- | + | #menubar ul { | |
- | + | color: #E81B05; | |
- | + | list-style: none; | |
+ | } | ||
+ | #menubar li { | ||
+ | display: inline; | ||
+ | position: relative; | ||
+ | cursor: pointer; | ||
+ | padding-left: 0px; | ||
+ | padding-right: 0px; | ||
+ | } | ||
- | |||
- | + | #centeredmenu_bg{ | |
- | + | position:fixed; | |
- | + | bottom:0px; | |
+ | background:white; /* the line at the botom of the page*/ | ||
+ | left:0px; | ||
+ | width:100%; | ||
+ | height:40px; | ||
+ | z-index:999; | ||
+ | } | ||
- | + | #centeredmenu { | |
- | + | position:fixed; | |
+ | width:690px; | ||
+ | bottom:15px; | ||
+ | left:50%; | ||
+ | margin:0 0 0 -345px; | ||
+ | padding:0; | ||
- | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | |
- | + | font-size:14px; | |
+ | letter-spacing:1px; | ||
+ | text-transform:uppercase; | ||
+ | z-index:999; | ||
+ | text-align:center; | ||
+ | } | ||
- | + | #centeredmenu ul { | |
- | + | display:inline; | |
+ | clear:left; | ||
+ | list-style:none; | ||
+ | line-height:20px; | ||
+ | height:20px; | ||
+ | margin:0; | ||
+ | position:relative; | ||
+ | right:0px; | ||
+ | text-align:center; | ||
+ | background:red; | ||
+ | } | ||
+ | #centeredmenu ul li { | ||
+ | display:inline; | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | text-decoration:none; | ||
+ | padding:10px; | ||
+ | position:relative; | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | color:aqua; | ||
+ | font-size:14px; | ||
+ | font-weight:bold; | ||
+ | text-transform:uppercase; | ||
+ | line-height:16px; | ||
+ | letter-spacing:1px; | ||
+ | } | ||
- | + | #centeredmenu ul li a { | |
- | + | display:inline; | |
+ | margin:0 0 0 1px; | ||
+ | text-decoration:none; | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | color:aqua; | ||
+ | font-size:14px; | ||
+ | font-weight:bold; | ||
+ | text-transform:uppercase; | ||
+ | line-height:16px; | ||
+ | letter-spacing:1px; | ||
+ | } | ||
+ | #centeredmenu ul li a:hover { | ||
+ | text-decoration:none; | ||
+ | border-bottom: 2px solid black; | ||
+ | } | ||
- | |||
- | |||
- | + | .left-menu li a { | |
- | + | padding: 0px 10px 0px 0px; | |
+ | color: | ||
+ | } | ||
+ | .left-menu .selected { | ||
+ | # color: white; | ||
+ | } | ||
+ | #.left-menu .selected:hover { | ||
+ | # color: #10143a; | ||
+ | #} | ||
- | + | .left-menu:hover a { | |
- | + | color: #10143a; | |
+ | } | ||
- | + | .left-menu, .left-menu a { | |
- | + | left: 0px; | |
+ | text-align: left; | ||
+ | color:transparent; | ||
+ | text-transform: lowercase; | ||
+ | } | ||
- | + | .left-menu a:hover { | |
- | + | text-decoration:underline; | |
+ | } | ||
+ | .left-menu:hover { | ||
+ | color: #10143a; | ||
+ | background-color: white; | ||
+ | } | ||
- | + | .right-menu li { | |
- | + | # background-color: yellow ; | |
+ | } | ||
+ | .right-menu li a { | ||
+ | padding: 0px 15px 0px 0px; | ||
+ | color: white; | ||
+ | background-color: #10143a; | ||
+ | } | ||
+ | .right-menu li a:hover { | ||
+ | color: #10143a; | ||
+ | text-decoration: underline; | ||
+ | background-color: white; | ||
+ | } | ||
+ | .right-menu, .right-menu a { | ||
+ | right: 0px; | ||
+ | text-align: right; | ||
+ | color: white; | ||
- | + | } | |
- | + | ||
- | + | #logo_igem_div{ | |
- | + | position:relative; | |
+ | top:0; | ||
+ | left:0; | ||
+ | width:70px; | ||
+ | height:57px; | ||
+ | border:0; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | overflow:hidden; | ||
+ | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | </ | + | |
- | < | + | #lightbox{ |
+ | position: absolute; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | z-index: 100; | ||
+ | text-align: center; | ||
+ | line-height: 0; | ||
+ | } | ||
+ | #lightbox img{ | ||
+ | width: auto; | ||
+ | height: auto; | ||
+ | } | ||
+ | #lightbox a img{ | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #outerImageContainer{ | ||
+ | position: relative; | ||
+ | background-color: #dbdae0; | ||
+ | width: 250px; | ||
+ | height: 250px; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | #imageContainer{ | ||
+ | padding: 10px; | ||
+ | } | ||
+ | |||
+ | #loading{ | ||
+ | position: absolute; | ||
+ | top: 40%; | ||
+ | left: 0%; | ||
+ | height: 25%; | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | line-height: 0; | ||
+ | } | ||
+ | #hoverNav{ | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | #imageContainer>#hoverNav{ left: 0;} | ||
+ | #hoverNav a{ outline: none;} | ||
+ | |||
+ | #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; } | ||
+ | #prevLink { left: 0; float: left;} | ||
+ | #nextLink { right: 0; float: right;} | ||
+ | #prevLink:hover, #prevLink:visited:hover { background: url(http://homes.esat.kuleuven.be/~igemwiki/images/lighbox/prevlabel.gif) left 15% no-repeat; } | ||
+ | #nextLink:hover, #nextLink:visited:hover { background: url(http://homes.esat.kuleuven.be/~igemwiki/images/lightbox/nextlabel.gif) right 15% no-repeat; } | ||
+ | |||
+ | #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; } | ||
+ | |||
+ | #imageData{ padding:0 10px; color: #000; } | ||
+ | #imageData #imageDetails{ width: 70%; float: left; text-align: left; } | ||
+ | #imageData #caption{ font-weight: bold; } | ||
+ | #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } | ||
+ | #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;} | ||
+ | |||
+ | #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } | ||
+ | |||
+ | |||
+ | |||
+ | </style> | ||
+ | <html> |
Revision as of 12:17, 20 July 2012