Team:NJU-QIBEBT/team
From 2014.igem.org
(Difference between revisions)
(Created page with "{{Team:NJU-QIBEBT/CSS/Reset}} <html> <head> <title></title> <meta charset="utf-8"> <script src="http://libs.baidu.com/jquery/1.8.1/jquery.min.js"></script> <scrip...") |
|||
Line 2: | Line 2: | ||
<html> | <html> | ||
<head> | <head> | ||
- | + | <title></title> | |
- | + | <meta charset="utf-8"> | |
- | + | <script src="http://libs.baidu.com/jquery/1.8.1/jquery.min.js"></script> | |
- | + | <script type="text/javascript"> | |
- | + | $(function(){ | |
- | + | $(window).scroll(function(){ | |
- | + | var sTop = Math.max(document.body.scrollTop || document.documentElement.scrollTop); | |
- | + | if(sTop > 260 ){ | |
- | + | $("#fixedMenu").css({'position':'fixed','top':'0'}); | |
- | + | $("#fixedMenu_2").css({ | |
- | + | 'display':'block' | |
- | + | }); | |
- | + | $("#top-section").css({ | |
- | + | 'display':'none' | |
- | + | }); | |
- | + | } | |
- | + | else{ | |
- | + | $("#fixedMenu").css({'position':'relative'}) | |
- | + | $("#fixedMenu_2").css({ | |
- | + | 'display':'none' | |
- | + | }); | |
- | + | } | |
- | } | + | |
}) | }) | ||
- | </script> | + | }) |
+ | </script> | ||
- | + | <link href='http://fonts.useso.com/css?family=PT+Sans:400,700,400italic' rel='stylesheet' type='text/css'> | |
- | + | <style type="text/css"> | |
- | + | #top-section { | |
- | + | background:rgba(0,0,0,0.1);} | |
- | + | .firstHeading{ | |
- | + | display:none; } | |
- | + | li{ | |
- | + | list-style: none; | |
- | + | } | |
- | + | *{ | |
- | + | padding:0; | |
- | + | margin: 0; | |
- | + | } | |
- | + | a{ | |
- | + | text-decoration: none; | |
- | + | color: #333333; | |
- | + | } | |
- | + | body{ | |
- | + | padding:0; | |
- | + | margin: 0; | |
- | + | } | |
- | + | body{ | |
- | + | background: url("https://static.igem.org/mediawiki/2014/f/f3/Halftone.png") repeat; | |
- | + | padding:0; | |
- | + | margin: 0; | |
- | + | } | |
- | + | #header{ | |
- | + | margin: 0 auto; | |
- | + | width: 100%; | |
- | + | } | |
- | + | #nav-top{ | |
- | + | width: 960px; | |
- | + | margin: 0 auto; | |
- | + | } | |
- | + | /* | |
- | + | #nav-bottom a{ | |
- | + | text-align: center; | |
- | + | top: 14px; | |
- | + | position: relative; | |
- | + | display: inline-block; | |
- | + | font-size: 18px; | |
- | + | height: 54px; | |
- | + | padding-left: 10px; | |
- | + | padding-right: 10px; | |
- | + | margin: 0; | |
- | + | color: #e7e7e7; | |
- | + | text-shadow: 2px 2px 3px #333333; | |
- | + | } | |
- | + | */ | |
- | } | + | #back_to_top { |
- | # | + | position: fixed; |
- | + | left: 50%; | |
- | + | margin-left: 500px; | |
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | bottom: 30px; | ||
+ | background: url("https://static.igem.org/mediawiki/2014/2/2e/Nju_back_to_top.png"); | ||
+ | } | ||
+ | #back_to_top:hover{ | ||
+ | background: url("https://static.igem.org/mediawiki/2014/3/35/Nju_back_to_top.gif"); | ||
+ | } | ||
+ | #footer{ | ||
+ | width: 100%; | ||
+ | background: url("https://static.igem.org/mediawiki/2014/6/6f/NJU_motif_grille.png") repeat; | ||
+ | height: 150px; | ||
- | } | + | } |
- | #nav-bottom li a:hover{ | + | #footer #footerContent{ |
- | + | width: 960px; | |
- | + | overflow: hidden; | |
- | + | color: #FAFAFA; | |
- | + | margin: 0 auto; | |
- | + | } | |
+ | #footer #footerContent #footerLeft{ | ||
+ | width: 400px; | ||
+ | float: left; | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | #footer #footerContent #footerRight{ | ||
+ | width: 500px; | ||
+ | float: right; | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | #footer #footerContent p{ | ||
+ | padding-top: 5px; | ||
+ | font-family: 'PT Sans', sans-serif; | ||
+ | } | ||
+ | #footer #footerContent h3{ | ||
+ | font-size: 1.5em; | ||
+ | padding-top: 5px; | ||
+ | font-family: 'PT Sans', sans-serif; | ||
+ | font-weight: 700; | ||
+ | } | ||
+ | #nav-bottom { | ||
+ | width: 100%; | ||
+ | height: 50px; | ||
+ | background:url("https://static.igem.org/mediawiki/2014/a/ae/10.jpg"); | ||
+ | } | ||
+ | #nav-bottom #nav_content{ | ||
+ | width: 960px; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | #nav-bottom ul li{ | ||
+ | float: left; | ||
+ | font-size: 16px; | ||
+ | text-align: center; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | #nav-bottom li a{ | ||
+ | padding: 0 12px; | ||
+ | font-family: 'PT Sans', sans-serif; | ||
+ | line-height: 50px; | ||
+ | } | ||
+ | #nav-bottom li a:hover{ | ||
+ | color: #e7e7e7; | ||
+ | text-decoration: none; | ||
+ | background: rgba(51,51,51,0.5); | ||
+ | display: block; | ||
+ | transition: all 0.3s; | ||
+ | } | ||
+ | #nav-bottom ul li ul li{ | ||
+ | float: none; | ||
+ | background-color: rgba(51,51,51,0.5); | ||
+ | } | ||
- | + | #nav-bottom ul li ul li{ | |
+ | margin: 0px; | ||
+ | position: relative; | ||
+ | left: -999em; | ||
+ | transition:all 0.3s; | ||
- | + | } | |
- | + | #nav-bottom ul li ul li a{ | |
- | + | padding: 10px; | |
- | + | display: inline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | } | |
- | + | #nav-bottom ul li ul li a:hover{ | |
- | + | padding: 10px; | |
- | + | display: inline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | } | |
- | + | #nav-bottom ul li:hover{ | |
- | + | background: rgba(51,51,51,0.5); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | } |
- | #main p{ | + | #nav-bottom ul li:hover ul li{ |
- | + | left: auto; | |
- | + | transition:all 0.3s; | |
- | + | } | |
- | + | #main{ | |
- | + | z-index: 99; | |
- | + | } | |
- | + | </style> | |
- | + | <style type="text/css"> | |
- | + | #header{ | |
- | + | margin-bottom: 10px; | |
- | + | } | |
- | + | #main{ | |
- | + | width: 960px; | |
- | + | margin: 0 auto; | |
- | + | } | |
- | + | #main #fixedMenu{ | |
- | + | padding:10px; | |
- | + | font-family: 'PT Sans', sans-serif; | |
- | + | font-size: 2.8em; | |
- | + | display: inline-block; | |
- | + | color: #e7e7e7; | |
- | + | background-color: rgba(51,51,51,0.5); | |
- | + | width: 200px; | |
- | + | padding-left: 10px; | |
- | + | ||
+ | } | ||
+ | #main p{ | ||
+ | font-size: 1.4em; | ||
+ | font-family: 'PT Sans', sans-serif; | ||
+ | } | ||
+ | #fixedMenu_2{ | ||
+ | display: none; | ||
+ | height: 36px; | ||
+ | } | ||
+ | #sideMenu{ | ||
+ | position: fixed; | ||
+ | display: none; | ||
+ | } | ||
+ | </style> | ||
+ | <style type="text/css"> | ||
+ | #main p{ | ||
+ | margin-top: 10px; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | #main img{ | ||
+ | margin-left: 20px; | ||
+ | margin-top: 30px; | ||
+ | margin-bottom: 30px; | ||
+ | margin-left: 30px; | ||
+ | width: 80%; | ||
+ | } | ||
+ | </style> | ||
Line 222: | Line 242: | ||
<div id="nav-bottom"> | <div id="nav-bottom"> | ||
<ul id="nav_content"> | <ul id="nav_content"> | ||
- | <li class="menu"><a href=" | + | <li class="menu"><a href="/Team:NJU-QIBEBT">HOME</a> |
- | <ul | + | </li> |
- | <li><a href=" | + | <li class="menu"><a href="background">PROJECT</a> |
- | <li><a href=" | + | <ul> |
+ | <li><a href="/Team:NJU-QIBEBT/team/Overview">Overview</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/team/Backgroud">Backgroud</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Production module">Production module</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Pumping out module">Pumping out module</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Indicator module">Indicator module</a></li> | ||
</ul> | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li class="menu"><a href="/Team:NJU-QIBEBT/ACHIEVEMENT">ACHIEVEMENT</a> | ||
+ | <ul> | ||
+ | <li><a href="/Team:NJU-QIBEBT/ACHIEVEMENT/Parts test results">Parts test results</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/ACHIEVEMENT/Modeling">Modeling</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/ACHIEVEMENT/Judging Criteria">Judging Criteria</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="menu"><a href="/Team:NJU-QIBEBT/wetlab">WET LAB</a> | ||
+ | <ul> | ||
+ | <li><a href="/Team:NJU-QIBEBT/wetlab/Protocol">Protocol</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/wetlab/Notebook">Notebook</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/wetlab/Parts">Parts</a></li> | ||
+ | </ul> | ||
+ | |||
</li> | </li> | ||
- | <li class="menu"><a href=" | + | <li class="menu"><a href="/Team:NJU-QIBEBT/humanPractice">HUMAN PRACTICE</a></li> |
- | + | <li class="menu"><a href="/Team:NJU-QIBEBT/SAFETY">SAFETY</a></li> | |
- | <li class="menu"><a href=" | + | |
- | + | ||
- | + | ||
<li class="menu"><a href="/Team:NJU-QIBEBT/team">TEAM</a></li> | <li class="menu"><a href="/Team:NJU-QIBEBT/team">TEAM</a></li> | ||
- | <li class="menu"><a href=" | + | <li class="menu"><a href="/Team:NJU-QIBEBT/ACKNOWLEDGEMENT">ACKNOWLEDGEMENT</a></li> |
</ul> | </ul> | ||
<!-- | <!-- | ||
Line 253: | Line 291: | ||
</div> | </div> | ||
<div id="main" style="min-height:1000px"> | <div id="main" style="min-height:1000px"> | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #nav-bottom ul li ul li a{ | ||
+ | padding: 10px; | ||
+ | display: inline; | ||
+ | |||
+ | } | ||
</div> | </div> | ||
Line 258: | Line 331: | ||
<div id="footerContent"> | <div id="footerContent"> | ||
<div id="footerLeft"> | <div id="footerLeft"> | ||
- | + | <img src=""> | |
</div> | </div> | ||
Revision as of 03:30, 14 October 2014
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}
#nav-bottom ul li ul li a{
padding: 10px;
display: inline;
}