Team:WHU-China/Team
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
- | < | + | <body> |
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | ||
<script> | <script> | ||
Line 188: | Line 188: | ||
} | } | ||
body { | body { | ||
- | background: url("https://static.igem.org/mediawiki/2012/ | + | background: url("https://static.igem.org/mediawiki/2012/2/22/Body-bg.jpg") center center fixed; |
} | } | ||
a { | a { | ||
Line 205: | Line 205: | ||
*/ | */ | ||
div.center { | div.center { | ||
- | width: | + | width: 1000px; |
- | + | ||
- | + | ||
- | + | ||
margin: 0 auto; | margin: 0 auto; | ||
+ | position: relative; | ||
} | } | ||
div.header { | div.header { | ||
- | width: | + | width: 1000px; |
- | height: | + | height: 380px; |
- | background: url("https://static.igem.org/mediawiki/2012/ | + | background: url("https://static.igem.org/mediawiki/2012/1/12/Header-bg.png") no-repeat; |
+ | position: relative; | ||
+ | z-index: 50; | ||
} | } | ||
div.nav { | div.nav { | ||
- | position: | + | position: absolute; |
- | + | height: 80px; | |
- | height: | + | top: 185px; |
- | + | left: 245px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | left: | + | |
} | } | ||
li.nav-outerLi { | li.nav-outerLi { | ||
display: block; | display: block; | ||
float: left; | float: left; | ||
- | width: | + | width: 80px; |
height: 80px; | height: 80px; | ||
- | margin: 0 | + | margin: 0 6px; |
cursor: pointer; | cursor: pointer; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
h2.nav-h21,h2.nav-h22,h2.nav-h23,h2.nav-h24,h2.nav-h25,h2.nav-h26 { | h2.nav-h21,h2.nav-h22,h2.nav-h23,h2.nav-h24,h2.nav-h25,h2.nav-h26 { | ||
- | display: | + | display: block; |
background: url("https://static.igem.org/mediawiki/2012/9/91/Nav-tabs.png") no-repeat; | background: url("https://static.igem.org/mediawiki/2012/9/91/Nav-tabs.png") no-repeat; | ||
width: 80px; | width: 80px; | ||
Line 255: | Line 237: | ||
background-position: 0 0; | background-position: 0 0; | ||
z-index: 150; | z-index: 150; | ||
- | position: | + | position: relative; |
- | + | ||
} | } | ||
h2.nav-h22 { | h2.nav-h22 { | ||
Line 311: | Line 292: | ||
ul.nav-innerUl{ | ul.nav-innerUl{ | ||
position: absolute; | position: absolute; | ||
- | top: | + | top: 40px; |
padding-top: 40px; | padding-top: 40px; | ||
width: 76px; | width: 76px; | ||
Line 357: | Line 338: | ||
background: rgba(230,222,184,0.5); | background: rgba(230,222,184,0.5); | ||
position: absolute; | position: absolute; | ||
- | top: | + | top: 300px; |
- | + | left: 30px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | left: | + | |
} | } | ||
div.aside { | div.aside { | ||
- | width: | + | width: 160px; |
- | + | height: 380px; | |
- | height: | + | background: url("https://static.igem.org/mediawiki/2012/b/b3/Aside-bg.png") no-repeat; |
- | background: url("https://static.igem.org/mediawiki/2012/ | + | margin-left: 20px; |
- | + | margin-top: 100px; | |
- | + | float: left; | |
- | + | padding: 20px; | |
- | + | ||
- | + | ||
} | } | ||
ul.aside-outerUl { | ul.aside-outerUl { | ||
- | margin: | + | margin: 15px; |
} | } | ||
li.aside-outerLi { | li.aside-outerLi { | ||
- | margin: | + | margin: 15px 0; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
background: #fff1a9; | background: #fff1a9; | ||
- | font-size: | + | padding: 5px 10px; |
- | line-height: | + | color: #725718; |
+ | font-size: 16px; | ||
+ | line-height: 24px; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
- | li.aside-outerLi:hover | + | li.aside-outerLi:hover { |
background: #fff8d3; | background: #fff8d3; | ||
} | } | ||
- | + | div.main { | |
- | + | width: 640px; | |
+ | height: 400px; | ||
+ | border: 5px solid #333; | ||
+ | background: #fff; | ||
+ | float: right; | ||
+ | margin: 100px 30px 30px 0; | ||
} | } | ||
- | + | div.footer { | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | /* | |
+ | * picSlider Css | ||
+ | */ | ||
+ | #picSlider { | ||
+ | width: 640px; | ||
+ | height: 320px; | ||
} | } | ||
- | + | .momo { | |
- | + | background: #000; | |
- | + | ||
- | background: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .momo .pic li { | |
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | overflow: hidden; | ||
+ | position: absolute; | ||
display: none; | display: none; | ||
- | |||
} | } | ||
- | + | .momo .txt li { | |
+ | position: absolute; | ||
+ | padding: 5px 10px; | ||
+ | z-index: 2; | ||
+ | bottom: 0; | ||
+ | height: 28px; | ||
+ | background: #DBDBDB; | ||
+ | display: none; | ||
+ | } | ||
+ | .momo .txt li a { | ||
display: block; | display: block; | ||
+ | position: relative; | ||
+ | z-index: 1; | ||
+ | color: #333; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | text-decoration: none; | ||
} | } | ||
- | + | .momo .num { | |
- | + | position: absolute; | |
- | + | z-index: 3; | |
- | + | bottom: 5px; | |
+ | right: 5px; | ||
} | } | ||
- | + | .momo .num li { | |
- | + | float: left; | |
- | + | ||
- | + | ||
} | } | ||
- | + | .momo .num li a { | |
- | + | color: #333; | |
- | margin: | + | float: left; |
+ | margin-left: 3px; | ||
+ | width: 15px; | ||
+ | height: 15px; | ||
+ | line-height: 15px; | ||
+ | *line-height: 14px; | ||
+ | overflow: hidden; | ||
+ | border: 1px solid #AEC1CC; | ||
+ | text-align: center; | ||
+ | cursor: pointer; | ||
+ | background: #fff; | ||
+ | text-decoration: none; | ||
} | } | ||
- | + | .momo .num li.current a, .momo .num li.hover a { | |
+ | color: #fff; | ||
+ | background: #f60; | ||
+ | -webkit-transition: all 0.4s; | ||
+ | -moz-transition: all 0.4s; | ||
+ | -o-transition: all 0.4s; | ||
+ | } | ||
+ | .momo_picSlider .txt li{ | ||
+ | width: 620px; | ||
+ | } | ||
+ | .momo_picSlider .txt li a{ | ||
+ | font-size: 16px; | ||
+ | line-height: 24px; | ||
} | } | ||
#p-logo { | #p-logo { | ||
Line 494: | Line 491: | ||
border:0; | border:0; | ||
padding: 0; | padding: 0; | ||
- | |||
- | |||
- | |||
} | } | ||
.left-menu:hover { | .left-menu:hover { | ||
Line 502: | Line 496: | ||
} | } | ||
</style> | </style> | ||
- | |||
- | |||
<div class="center"> | <div class="center"> | ||
- | <div class="header" | + | <div class="header"> |
- | + | <div class="nav"> | |
- | + | <ul class="nav-outerUl"> | |
- | + | <li class="nav-outerLi"> | |
- | + | <a href="https://2012.igem.org/Team:WHU-China"><h2 class="nav-h21 nav-h21on" title="Home"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl1" name="Home"></ul> | |
- | + | </li> | |
- | + | <li class="nav-outerLi"> | |
- | + | <a href="https://2012.igem.org/Team:WHU-China/Team"><h2 class="nav-h22" title="Team"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl2" name="Team"></ul> | |
- | + | </li> | |
- | <ul class="nav-innerUl nav-innerUl2" name=" | + | <li class="nav-outerLi"> |
- | + | <a href="https://2012.igem.org/Team:WHU-China/Project"><h2 class="nav-h23" title="Project"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl3" name="Project"></ul> | |
- | + | </li> | |
- | + | <li class="nav-outerLi"> | |
- | + | <a href="https://2012.igem.org/Team:WHU-China/Standard"><h2 class="nav-h24" title="Standard"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl4" name="Standard"></ul> | |
- | + | </li> | |
- | + | <li class="nav-outerLi"> | |
- | + | <a href="https://2012.igem.org/Team:WHU-China/Notes"><h2 class="nav-h25" title="Notes"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl5" name="Notes"></ul> | |
- | + | </li> | |
- | + | <li class="nav-outerLi"> | |
- | + | <a href="https://2012.igem.org/Team:WHU-China/humanPractice"><h2 class="nav-h26" title="Human Practice"></h2></a> | |
- | + | <ul class="nav-innerUl nav-innerUl6" name="HumanPractice"></ul> | |
- | + | </li> | |
- | + | </ul> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
</div> | </div> | ||
- | <div class=" | + | <div class="middle"> |
- | < | + | <div class="aside"> |
- | + | <ul class="aside-outerUl"></ul> | |
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
- | <div class=" | + | <div class="main"></div> |
- | + | <div class="clear"></div> | |
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
<div class="footer"></div> | <div class="footer"></div> | ||
</div> | </div> | ||
- | <script src="http://www.yichengliu.com/code/igem/ | + | <script src="http://www.yichengliu.com/code/igem/home.js"></script> |
</body> | </body> | ||
</html> | </html> |
Revision as of 12:31, 24 September 2012