Team:NJU-QIBEBT/Team
From 2014.igem.org
(Difference between revisions)
(Prototype team page) |
|||
Line 1: | Line 1: | ||
- | {{CSS/ | + | {{Team:NJU-QIBEBT/CSS/Reset}} |
- | + | ||
- | + | ||
<html> | <html> | ||
+ | <head> | ||
+ | <script type="text/javascript" src="http://libs.baidu.com/jquery/1.8.0/jquery.min.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#line1").click(function(){ | ||
+ | $.scrollTo({top:'0px'},300); | ||
+ | }); | ||
+ | $("#line2").click(function(){ | ||
+ | $.scrollTo({top:'600px'},300); | ||
+ | }); | ||
+ | $("#line3").click(function(){ | ||
+ | $.scrollTo({top:'1200px'},300); | ||
+ | }); | ||
+ | }); | ||
+ | $(document).ready(function(){ | ||
+ | $("#test").click(function(){ | ||
+ | $(this).css('color','white'); | ||
+ | }); | ||
+ | $("#menu_off img").click(function(){ | ||
+ | if($(this).data("tog") === 0){ | ||
+ | $(this).data("tog",1); | ||
+ | $("#header").animate({ "top" : "0px" }, 200); | ||
+ | } | ||
+ | else { | ||
+ | $(this).data("tog",0); | ||
+ | $("#header").animate({ "top" : "-60px" }, 150); | ||
+ | } | ||
+ | }).data("tog",0); | ||
+ | }); | ||
+ | </script> | ||
- | < | + | <style type="text/css"> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | + | /* unique */ | |
- | + | .firstHeading{ | |
- | + | display:none; | |
- | + | } | |
+ | .hid_style{ | ||
+ | display:none; | ||
+ | } | ||
+ | body { | ||
+ | font-family: Helvetica,"Comic Sans MS", "Times New Roman", serif; | ||
+ | } | ||
+ | *{ | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | table { | ||
+ | border-collapse: collapse; | ||
+ | border-spacing: 0; | ||
+ | } | ||
+ | fieldset,img { | ||
+ | border: 0; | ||
+ | } | ||
+ | address,caption,cite,code,dfn,em,strong,th,var { | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | ol,ul { | ||
+ | list-style: none; | ||
+ | } | ||
+ | caption,th { | ||
+ | text-align: left; | ||
+ | } | ||
+ | h1,h2,h3,h4,h5,h6 { | ||
+ | font-weight: normal; | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | abbr,acronym { | ||
+ | border: 0; | ||
+ | } | ||
+ | a{ | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | a:hover{ | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | ul{ | ||
+ | text-align: center; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | /* header */ | ||
+ | #content1{ | ||
+ | width: 960px; | ||
+ | position: relative; | ||
+ | margin: 0 auto; | ||
+ | } | ||
- | + | #header{ | |
- | + | position: fixed; | |
- | + | width: 100%; | |
- | + | background-color: #6166cc; | |
- | + | height: 60px; | |
- | + | box-shadow:1px 1px 3px rgba(0,0,0,.8); | |
- | + | } | |
- | + | li{ | |
- | + | float: left; | |
- | + | } | |
- | + | #header a{ | |
+ | text-align: center; | ||
+ | color: #dddddd; | ||
+ | height: 60px; | ||
+ | line-height: 60px; | ||
+ | width: 100px; | ||
+ | display: block; | ||
+ | background-color: #6166cc; | ||
+ | transition: 0.2s all; | ||
+ | border-left: 1px dashed rgba(255,255,255,0.3) | ||
+ | } | ||
+ | #header a[href="/"]{ | ||
+ | width: 149px; | ||
+ | background: url("https://static.igem.org/mediawiki/2014/3/31/NJU_menu_2.png"); | ||
+ | transition:0.3s all; | ||
- | |||
+ | } | ||
+ | #header a[href='/']:hover{ | ||
+ | width: 149px; | ||
+ | background: url("https://static.igem.org/mediawiki/2014/c/c3/NJU_menu_3.png"); | ||
+ | transition:0.3s all; | ||
+ | } | ||
+ | #header a:hover{ | ||
+ | background-color: #CCB761; | ||
+ | text-shadow: 1px; | ||
+ | color: #ffffff; | ||
- | + | } | |
- | + | #menu_off{ | |
- | + | margin-left: 930px; | |
- | + | width: 100px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | } | |
+ | #menu_off img:hover{ | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | /* main */ | ||
+ | #main{ | ||
+ | width: 960px; | ||
+ | min-height: 500px; | ||
+ | margin: 0 auto; | ||
+ | top: 200px; | ||
+ | position: relative; | ||
+ | } | ||
+ | #main p{ | ||
+ | text-align: center; | ||
+ | font-size: 50px; | ||
+ | color: #E7E7E7; | ||
+ | text-shadow: 10px 10px 10px #111111; | ||
+ | text-decoration:none; | ||
- | + | } | |
- | + | #main #welcome{ | |
- | + | text-decoration:none; | |
- | + | } | |
+ | #main #intro { | ||
+ | color: #dddddd; | ||
+ | font-size: 16px; | ||
+ | width: 800px; | ||
+ | margin: 50px auto 0 auto; | ||
+ | line-height: 25px; | ||
+ | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | </ | + | </style> |
+ | </head> | ||
+ | <body style="background:url('https://static.igem.org/mediawiki/2014/2/20/NJU_wall.jpg') no-repeat fixed;width:100%;"> | ||
+ | <div id="header"> | ||
+ | <div id="content1" style=""> | ||
+ | <ul class="left-720" id="menu"> | ||
+ | <li><a href="/Team:NJU-QIBEBT">Home</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Project">Project</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Team">Team</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Parts">Parts</a></li> | ||
+ | <li><a href="/"></a> </li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Practice">Practice</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Modeling">Modeling</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Safety">Safety</a></li> | ||
+ | <li><a href="/Team:NJU-QIBEBT/Extras">Extras</a></li> | ||
- | + | </ul> | |
- | < | + | <p id="menu_off"><img src="https://static.igem.org/mediawiki/2014/f/f7/NJU_menu_on.png"></p> |
- | </ | + | </div> |
+ | </div> | ||
- | </ | + | <div id="footer"></div> |
+ | </body> | ||
</html> | </html> |
Revision as of 13:41, 20 September 2014