Team:DTU-Denmark/gogo
From 2013.igem.org
(Created page with "<html> <!-- STYLESHEET --> <!-- *********** --> <link rel="stylesheet" href="https://2013.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" />...") |
|||
Line 4: | Line 4: | ||
<!-- *********** --> | <!-- *********** --> | ||
+ | /* Sexy Drop Down Menu (thanks to sohtanaka.com) */ | ||
+ | /*********************************************/ | ||
+ | li.navitem1 > a, li.navitem1 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem2 > a, li.navitem2 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem3 > a, li.navitem3 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem4 > a, li.navitem4 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem5 > a, li.navitem5 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem6 > a, li.navitem6 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem7 > a, li.navitem7 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem8 > a, li.navitem8 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | li.navitem9 > a, li.navitem9 > span { | ||
+ | border-bottom: 1px solid;} | ||
+ | |||
+ | .page-Team_DTU-Denmark li.home a, | ||
+ | .page-Team_DTU-Denmark_Team li.team a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Project li.project a, | ||
+ | .page-Team_DTU-Denmark_Bioinformatics li.project a, | ||
+ | .page-Team_DTU-Denmark_Timeline li.project a, | ||
+ | .page-Team_DTU-Denmark_Experiments li.project a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Parts li.parts a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Modeling li.modeling a, | ||
+ | .page-Team_DTU-Denmark_Protocols li.modeling a, | ||
+ | .page-Team_DTU-Denmark_Technical_stuff_math li.modeling a, | ||
+ | .page-Team_DTU-Denmark_Matlab li.modeling a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Notebook li.notebook a, | ||
+ | .page-Team_DTU-Denmark_Methods li.notebook a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Safety li.safety a, | ||
+ | .page-Team_DTU-Denmark_General li.safety a, | ||
+ | .page-Team_DTU-Denmark_Answers li.safety a, | ||
+ | .page-Team_DTU-Denmark_Risk_Assessment li.safety a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Human_Practices li.humanpractices a, | ||
+ | .page-Team_DTU-Denmark_Overview li.humanpractices a, | ||
+ | .page-Team_DTU-Denmark_High_School_Outreach li.humanpractices a, | ||
+ | .page-Team_DTU-Denmark_University_Outreach li.humanpractices a, | ||
+ | .page-Team_DTU-Denmark_Public_Outreach li.humanpractices a, | ||
+ | |||
+ | .page-Team_DTU-Denmark_Attributions li.sponsors a, | ||
+ | |||
+ | ul.topnav > li > a:hover { | ||
+ | padding-bottom: 1px; | ||
+ | border-bottom-width: 5px;} | ||
+ | |||
+ | #navigation,.navigation { | ||
+ | height: 35px; | ||
+ | width:100%; | ||
+ | text-align:left;} | ||
+ | .navigation { | ||
+ | /* background: url("https://static.igem.org/mediawiki/2013/1/1b/Topnav_bg.gif") repeat-x scroll 0 -1px #990000;*/ | ||
+ | /* Image that gives the color to navigation bar */ | ||
+ | /* background: url("https://static.igem.org/mediawiki/2013/a/a0/Topnav_bg2.gif") repeat-x scroll 0 -1px #990000;*/ | ||
+ | /* background: url("https://static.igem.org/mediawiki/2013/1/14/DTU_Topnav_bg3.gif") repeat-x scroll 0 -1px #098C9F; */ | ||
+ | background: url("https://static.igem.org/mediawiki/2013/1/13/DTU_Topnav_bg4.gif") repeat-x scroll 0 -1px #593672; | ||
+ | z-index: 1; | ||
+ | box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); | ||
+ | -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */ | ||
+ | position: relative; | ||
+ | width:100%; | ||
+ | border-bottom: 1px solid #593672;} The previous red color was: 990000 & for blue was 098C9F */ | ||
+ | .stickToTop { | ||
+ | position: fixed; | ||
+ | top:0; | ||
+ | width:100%;} | ||
+ | ul.topnav { | ||
+ | list-style: none; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | ul.topnav li { | ||
+ | float: left; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: relative; /*--Declare X and Y axis base for sub navigation--*/ | ||
+ | } | ||
+ | ul.topnav li a { | ||
+ | padding: 6px 20px 5px 20px; | ||
+ | color: #fff; | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | float: left; | ||
+ | } | ||
+ | ul.topnav > li > a { | ||
+ | height: 23px; | ||
+ | overflow: hidden;} | ||
+ | /* ul.topnav li:first-child a{ | ||
+ | padding-left: 0; | ||
+ | } */ | ||
+ | ul.topnav li span { /*--Drop down trigger styles--*/ | ||
+ | /*width: 17px; | ||
+ | height: 34px; | ||
+ | float: left; | ||
+ | background: url(https://static.igem.org/mediawiki/2013/4/45/Subnav_btn.gif) no-repeat center top;*/ | ||
+ | color: #CCCCCC; | ||
+ | } | ||
+ | ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ | ||
+ | ul.topnav li ul.subnav { | ||
+ | z-index: 1; //Stay on top of slider | ||
+ | list-style: none; | ||
+ | position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ | ||
+ | left: 0; top: 35px; | ||
+ | background: #593672; /* 990000 ->red, blue->098C9F, older:#333; Color of drop-down menu */ | ||
+ | margin: 0; padding: 0; | ||
+ | display: none; | ||
+ | float: left; | ||
+ | border: 1px solid #111; | ||
+ | border-radius: 0 0 5px 5px; | ||
+ | } | ||
+ | ul.topnav li ul.subnav li { | ||
+ | margin: 0; padding: 0; | ||
+ | /*border-top: 1px solid #000000; #252525; --Create bevel effect--*/ | ||
+ | border-bottom: 1px solid #000000; /*Color of border in drop-down menu (navigbar)#444;--Create bevel effect--*/ | ||
+ | clear: both; | ||
+ | list-style: none outside none; | ||
+ | } | ||
+ | ul.topnav li ul.subnav, ul.topnav li ul.subnav li { | ||
+ | width: 160px; | ||
+ | } | ||
+ | ul.topnav li ul.subnav li:last-child{ | ||
+ | border-radius: 0 0 5px 5px; | ||
+ | } | ||
+ | html ul.topnav li ul.subnav li a { | ||
+ | float: left; | ||
+ | padding-left: 10px; | ||
+ | padding-right: 10px; | ||
+ | width: 140px; | ||
+ | } | ||
+ | html ul.topnav li ul.subnav li a:last-child{ | ||
+ | border-radius: 0 0 5px 5px; | ||
+ | } | ||
+ | html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ | ||
+ | background: #222; | ||
+ | /*url(https://static.igem.org/mediawiki/2013/4/4b/Dropdown_linkbg.gif) no-repeat 10px center;*/ | ||
+ | } | ||
+ | |||
+ | /* Slider (thanks to flowplayer.org) */ | ||
+ | /*************************************/ | ||
+ | .scrollable { | ||
+ | /* required settinsg */ | ||
+ | position: relative; | ||
+ | overflow :hidden; | ||
+ | margin-top: 0px; /* 14px; */ | ||
+ | width: 600px; /* 963px;*/ | ||
+ | height: 400px; /*400px; */ | ||
+ | border: 1px solid #FFFFFF; | ||
+ | box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); | ||
+ | -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */ | ||
+ | background: #FFFFFF;} | ||
+ | .scrollable .items { | ||
+ | /* this cannot be too large */ | ||
+ | width: 50000px; | ||
+ | position: absolute;} | ||
+ | .items div { | ||
+ | float: left; | ||
+ | width: 963px; | ||
+ | height: 370px;} | ||
+ | .prev { | ||
+ | background: url(https://static.igem.org/mediawiki/2013/7/7d/UChi-slider-prev.png) no-repeat; | ||
+ | height: 74px; | ||
+ | width: 74px; | ||
+ | /* position: absolute; | ||
+ | left: -518px; ceil(963/2) + 74/2 = 482 + 37 = 519 | ||
+ | top: 310px; */ | ||
+ | margin-left: 50%; | ||
+ | cursor: pointer;} | ||
+ | .next { | ||
+ | background: url(https://static.igem.org/mediawiki/2013/d/d9/UChi-slider-next.png) no-repeat; | ||
+ | height: 74px; | ||
+ | width: 74px; | ||
+ | margin-right: 50%; | ||
+ | /* position: absolute; | ||
+ | : -519px; floor(963/2) + 74/2 = 481 + 37 = 518 | ||
+ | top: 310px; */ | ||
+ | cursor: pointer;} | ||
+ | .disabled { | ||
+ | visibility: hidden;} | ||
+ | /* position and dimensions of the navigator */ | ||
+ | .navi { | ||
+ | /*left: -56px; | ||
+ | margin-left: 50%; | ||
+ | position: absolute; | ||
+ | top: 690px; */ | ||
+ | width: 112px;} | ||
+ | .navi a { | ||
+ | width: 8px; | ||
+ | height: 8px; | ||
+ | float: left; | ||
+ | margin: 3px; | ||
+ | background: url(https://static.igem.org/mediawiki/2013/e/e3/UChi-slider-navigator-red.png) 0 0 no-repeat; | ||
+ | display: block; | ||
+ | font-size: 1px;} | ||
+ | .navi a:hover { | ||
+ | background-position: 0 -8px;} | ||
+ | .navi a.active { | ||
+ | background-position: 0 -16px;} | ||
+ | |||
+ | .navi2 { | ||
+ | left: -56px; | ||
+ | margin-left: 50%; | ||
+ | position: absolute; | ||
+ | top: 700px; | ||
+ | width: 112px;} | ||
+ | .navi2 a { | ||
+ | width: 8px; | ||
+ | height: 8px; | ||
+ | float: left; | ||
+ | margin: 3px; | ||
+ | background: url(https://static.igem.org/mediawiki/2013/e/e3/UChi-slider-navigator-red.png) 0 0 no-repeat; | ||
+ | display: block; | ||
+ | font-size: 1px;} | ||
+ | .navi2 a:hover { | ||
+ | background-position: 0 -8px;} | ||
+ | .navi2 a.active { | ||
+ | background-position: 0 -16px;} | ||
+ | |||
+ | FBox { | ||
+ | border="0"; | ||
+ | width: 270px; | ||
+ | padding: 0 20px 10px; | ||
+ | float: left; | ||
+ | margin-right: 15px;} | ||
<link rel="stylesheet" href="https://2013.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2013.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" /> | ||
<link rel="icon" type="image/png" size="16x16" href="https://static.igem.org/mediawiki/2013/1/16/DTU-n2o-favicon.png"/> | <link rel="icon" type="image/png" size="16x16" href="https://static.igem.org/mediawiki/2013/1/16/DTU-n2o-favicon.png"/> |
Revision as of 11:35, 7 July 2014
/* Sexy Drop Down Menu (thanks to sohtanaka.com) */ /*********************************************/ li.navitem1 > a, li.navitem1 > span { border-bottom: 1px solid;} li.navitem2 > a, li.navitem2 > span { border-bottom: 1px solid;} li.navitem3 > a, li.navitem3 > span { border-bottom: 1px solid;} li.navitem4 > a, li.navitem4 > span { border-bottom: 1px solid;} li.navitem5 > a, li.navitem5 > span { border-bottom: 1px solid;} li.navitem6 > a, li.navitem6 > span { border-bottom: 1px solid;} li.navitem7 > a, li.navitem7 > span { border-bottom: 1px solid;} li.navitem8 > a, li.navitem8 > span { border-bottom: 1px solid;} li.navitem9 > a, li.navitem9 > span { border-bottom: 1px solid;} .page-Team_DTU-Denmark li.home a, .page-Team_DTU-Denmark_Team li.team a, .page-Team_DTU-Denmark_Project li.project a, .page-Team_DTU-Denmark_Bioinformatics li.project a, .page-Team_DTU-Denmark_Timeline li.project a, .page-Team_DTU-Denmark_Experiments li.project a, .page-Team_DTU-Denmark_Parts li.parts a, .page-Team_DTU-Denmark_Modeling li.modeling a, .page-Team_DTU-Denmark_Protocols li.modeling a, .page-Team_DTU-Denmark_Technical_stuff_math li.modeling a, .page-Team_DTU-Denmark_Matlab li.modeling a, .page-Team_DTU-Denmark_Notebook li.notebook a, .page-Team_DTU-Denmark_Methods li.notebook a, .page-Team_DTU-Denmark_Safety li.safety a, .page-Team_DTU-Denmark_General li.safety a, .page-Team_DTU-Denmark_Answers li.safety a, .page-Team_DTU-Denmark_Risk_Assessment li.safety a, .page-Team_DTU-Denmark_Human_Practices li.humanpractices a, .page-Team_DTU-Denmark_Overview li.humanpractices a, .page-Team_DTU-Denmark_High_School_Outreach li.humanpractices a, .page-Team_DTU-Denmark_University_Outreach li.humanpractices a, .page-Team_DTU-Denmark_Public_Outreach li.humanpractices a, .page-Team_DTU-Denmark_Attributions li.sponsors a, ul.topnav > li > a:hover { padding-bottom: 1px; border-bottom-width: 5px;} #navigation,.navigation { height: 35px; width:100%; text-align:left;} .navigation { /* background: url("https://static.igem.org/mediawiki/2013/1/1b/Topnav_bg.gif") repeat-x scroll 0 -1px #990000;*/ /* Image that gives the color to navigation bar */ /* background: url("https://static.igem.org/mediawiki/2013/a/a0/Topnav_bg2.gif") repeat-x scroll 0 -1px #990000;*/ /* background: url("https://static.igem.org/mediawiki/2013/1/14/DTU_Topnav_bg3.gif") repeat-x scroll 0 -1px #098C9F; */ background: url("https://static.igem.org/mediawiki/2013/1/13/DTU_Topnav_bg4.gif") repeat-x scroll 0 -1px #593672; z-index: 1; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */ position: relative; width:100%; border-bottom: 1px solid #593672;} The previous red color was: 990000 & for blue was 098C9F */ .stickToTop { position: fixed; top:0; width:100%;} ul.topnav { list-style: none; padding: 0; margin: 0; float: left; width: 100%; font-size: 15px; } ul.topnav li { float: left; margin: 0; padding: 0; position: relative; /*--Declare X and Y axis base for sub navigation--*/ } ul.topnav li a { padding: 6px 20px 5px 20px; color: #fff; display: block; text-decoration: none; float: left; } ul.topnav > li > a { height: 23px; overflow: hidden;} /* ul.topnav li:first-child a{ padding-left: 0; } */ ul.topnav li span { /*--Drop down trigger styles--*/ /*width: 17px; height: 34px; float: left; background: url(https://static.igem.org/mediawiki/2013/4/45/Subnav_btn.gif) no-repeat center top;*/ color: #CCCCCC; } ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ ul.topnav li ul.subnav { z-index: 1; //Stay on top of slider list-style: none; position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ left: 0; top: 35px; background: #593672; /* 990000 ->red, blue->098C9F, older:#333; Color of drop-down menu */ margin: 0; padding: 0; display: none; float: left; border: 1px solid #111; border-radius: 0 0 5px 5px; } ul.topnav li ul.subnav li { margin: 0; padding: 0; /*border-top: 1px solid #000000; #252525; --Create bevel effect--*/ border-bottom: 1px solid #000000; /*Color of border in drop-down menu (navigbar)#444;--Create bevel effect--*/ clear: both; list-style: none outside none; } ul.topnav li ul.subnav, ul.topnav li ul.subnav li { width: 160px; } ul.topnav li ul.subnav li:last-child{ border-radius: 0 0 5px 5px; } html ul.topnav li ul.subnav li a { float: left; padding-left: 10px; padding-right: 10px; width: 140px; } html ul.topnav li ul.subnav li a:last-child{ border-radius: 0 0 5px 5px; } html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ background: #222; /*url(https://static.igem.org/mediawiki/2013/4/4b/Dropdown_linkbg.gif) no-repeat 10px center;*/ } /* Slider (thanks to flowplayer.org) */ /*************************************/ .scrollable { /* required settinsg */ position: relative; overflow :hidden; margin-top: 0px; /* 14px; */ width: 600px; /* 963px;*/ height: 400px; /*400px; */ border: 1px solid #FFFFFF; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */ background: #FFFFFF;} .scrollable .items { /* this cannot be too large */ width: 50000px; position: absolute;} .items div { float: left; width: 963px; height: 370px;} .prev { background: url(https://static.igem.org/mediawiki/2013/7/7d/UChi-slider-prev.png) no-repeat; height: 74px; width: 74px; /* position: absolute; left: -518px; ceil(963/2) + 74/2 = 482 + 37 = 519 top: 310px; */ margin-left: 50%; cursor: pointer;} .next { background: url(https://static.igem.org/mediawiki/2013/d/d9/UChi-slider-next.png) no-repeat; height: 74px; width: 74px; margin-right: 50%; /* position: absolute; : -519px; floor(963/2) + 74/2 = 481 + 37 = 518 top: 310px; */ cursor: pointer;} .disabled { visibility: hidden;} /* position and dimensions of the navigator */ .navi { /*left: -56px; margin-left: 50%; position: absolute; top: 690px; */ width: 112px;} .navi a { width: 8px; height: 8px; float: left; margin: 3px; background: url(https://static.igem.org/mediawiki/2013/e/e3/UChi-slider-navigator-red.png) 0 0 no-repeat; display: block; font-size: 1px;} .navi a:hover { background-position: 0 -8px;} .navi a.active { background-position: 0 -16px;} .navi2 { left: -56px; margin-left: 50%; position: absolute; top: 700px; width: 112px;} .navi2 a { width: 8px; height: 8px; float: left; margin: 3px; background: url(https://static.igem.org/mediawiki/2013/e/e3/UChi-slider-navigator-red.png) 0 0 no-repeat; display: block; font-size: 1px;} .navi2 a:hover { background-position: 0 -8px;} .navi2 a.active { background-position: 0 -16px;} FBox { border="0"; width: 270px; padding: 0 20px 10px; float: left; margin-right: 15px;}