Team:NJU-QIBEBT/Modeling
From 2014.igem.org
(Difference between revisions)
(Prototype team page) |
|||
Line 1: | Line 1: | ||
- | + | {{Team/CSS}} | |
- | + | ||
- | + | ||
- | {{ | + | |
- | + | ||
- | + | ||
<html> | <html> | ||
+ | <head> | ||
+ | <title></title> | ||
+ | <meta charset="utf-8"> | ||
+ | <script src="http://libs.baidu.com/jquery/1.8.1/jquery.min.js"></script> | ||
+ | <style type="text/css"> | ||
+ | li{ | ||
+ | list-style: none; | ||
+ | } | ||
+ | *{ | ||
+ | padding:0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | a{ | ||
+ | text-decoration: none; | ||
+ | color: #333333; | ||
+ | } | ||
+ | body{ | ||
+ | padding:0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | body{ | ||
+ | background: url("img/halftone.png") repeat; | ||
+ | padding:0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | #header{ | ||
+ | margin: 0 auto; | ||
+ | width: 100%; | ||
+ | } | ||
+ | #nav-top{ | ||
+ | width: 960px; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | #nav-bottom { | ||
+ | width: 960px; | ||
+ | margin: 0 auto; | ||
+ | height: 50px; | ||
+ | background: url("img/nav_bg.png"); | ||
+ | } | ||
+ | #nav-bottom ul li{ | ||
+ | float: left; | ||
+ | font-size: 18px; | ||
+ | line-height: 50px; | ||
+ | text-align: center; | ||
+ | position: relative; | ||
+ | } | ||
+ | #nav-bottom li a{ | ||
+ | padding: 0 20px; | ||
+ | } | ||
+ | #nav-bottom li a:hover{ | ||
+ | color: #6166cc; | ||
+ | background: url("img/small_bg.png") repeat-x; | ||
+ | display: block; | ||
+ | transition: all 0.3s; | ||
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #nav-bottom ul li ul li{ | |
- | + | float: none; | |
- | + | background-color: #e7e7e7; | |
+ | } | ||
+ | #nav-bottom ul li ul{ | ||
+ | position: absolute; | ||
+ | top: 50px; | ||
+ | left: 0px; | ||
+ | } | ||
+ | /* | ||
+ | #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; | ||
+ | bottom: 30px; | ||
+ | } | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | <div id="header"> | ||
+ | <div id="nav-top"> | ||
+ | <img src="img/top_bg.png" height="200px" > | ||
- | < | + | </div> |
- | < | + | <div id="nav-bottom"> |
- | < | + | <ul> |
- | </ | + | <li class="menu" style="margin-left: 70px"><a href="#">HOME</a> |
+ | <ul> | ||
+ | <li><a href="#">11111</a></li> | ||
+ | <li><a href="#">22222</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="menu"><a href="#">PROJECT</a></li> | ||
+ | <li class="menu"><a href="#">TEAM</a></li> | ||
+ | <li class="menu"><a href="#">PARTS</a></li> | ||
+ | <li class="menu"><a href="#">PRACTICE</a></li> | ||
+ | <li class="menu"><a href="#">MODELING</a></li> | ||
+ | <li class="menu"><a href="#">SAFETY</a></li> | ||
+ | <li class="menu"><a href="#">EXTRA</a></li> | ||
+ | </ul> | ||
+ | <!-- | ||
+ | <div id="content1" style="width: 720px;margin: 0 auto"> | ||
+ | <a href="/Team:NJU-QIBEBT/Extras" >Extras<img src="img/nav_r.png"></a><a href="/Team:NJU-QIBEBT/Safety">Safety</a><a href="/Team:NJU-QIBEBT/Modeling">Modeling</a><a href="/Team:NJU-QIBEBT/Practice" >Practice<img src="img/nav_r.png"></a><a href="/Team:NJU-QIBEBT/Parts">Parts</a><a href="/Team:NJU-QIBEBT/Team">Team</a><a href="/Team:NJU-QIBEBT/Project">Project</a><a href="/Team:NJU-QIBEBT">Home</a> | ||
+ | </div> | ||
+ | --> | ||
+ | </div> | ||
- | + | </div> | |
- | < | + | <div id="main" style="height: 1900px"> |
- | + | ||
+ | </div> | ||
+ | <div id="footer"> | ||
- | </ | + | </div> |
+ | <a href="#" id="back_to_top"><img src="img/back_to_top.png" width="66px"></a> | ||
+ | </body> | ||
</html> | </html> |