Difference between revisions of "Template:SCUT-China"
(Prototype team template page) |
|||
(36 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
+ | {{SCUT-China-default}} | ||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
<html> | <html> | ||
Line 7: | Line 7: | ||
<style type="text/css"> | <style type="text/css"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /*MENU STYLING */ |
− | + | @charset "utf-8"; | |
− | + | /* CSS Document */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | *{ | |
− | + | font-family:Myriad Pro,Segoe UI Symbol !important; | |
− | + | letter-spacing:1px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | html,body{ | |
− | + | width:100%; | |
− | + | background-color:#f8f8f8; | |
− | + | margin:0; | |
− | + | padding:0; | |
− | + | position:relative; | |
− | + | } | |
− | + | #menuContainer{ | |
+ | width:100%; | ||
+ | background-color:#fff; | ||
+ | border-bottom:3px solid #fff; | ||
+ | opacity:0.9; | ||
+ | text-align:center; | ||
+ | position:fixed; | ||
+ | height:60px; | ||
+ | padding:0; | ||
+ | z-index:99999; | ||
+ | top:16px; | ||
+ | font-size:16px; | ||
+ | box-shadow:0 3px 10px #7d7d7d; | ||
+ | } | ||
− | + | #menuContainer>ul{ | |
− | + | margin:0px auto; | |
− | + | text-align:center; | |
− | + | position:relative; | |
− | + | height: 60px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | p{ | |
− | + | line-height:25px; | |
− | + | word-spacing:4px; | |
− | + | letter-spacing:1px; | |
− | + | text-indent:1.5em; | |
+ | text-align:justify; | ||
+ | text-justify:inter-ideograph; | ||
+ | } | ||
− | + | #menuContainer ul li{ | |
− | + | list-style:none; | |
− | + | float:left; | |
− | + | display:block; | |
+ | font-weight:thin; | ||
+ | |||
+ | line-height:60px; | ||
+ | transition:0.3s ease; | ||
+ | font-size:17px; | ||
+ | color:#343434; | ||
+ | } | ||
+ | #menuContainer>ul >li:hover{ | ||
+ | color:#e5004f; | ||
+ | border-bottom:3px solid #e5004f; | ||
+ | opacity:1; | ||
+ | } | ||
+ | #menuContainer a{ | ||
+ | padding:0 15px; | ||
+ | color:#343434; | ||
+ | transition:0.4s ease; | ||
+ | text-decoration:none; | ||
+ | height:60px; | ||
+ | display:block; | ||
+ | } | ||
+ | #menuContainer a:hover{ | ||
+ | color:#e50044; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #menuContainer ul li ul{ | |
− | + | margin-top:3px; | |
− | + | margin-left:-20px; | |
− | + | position:absolute; | |
− | + | background:#fff; | |
− | + | display:none; | |
− | + | padding:0px; | |
+ | z-index:9999; | ||
+ | box-shadow:0 3px 10px #7d7d7d; | ||
+ | } | ||
− | + | #menuContainer ul li ul li{ | |
− | + | float:none; | |
− | + | background:#fff; | |
− | + | transition:0.1s linear; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
+ | #menuContainer ul li ul li:hover{ | ||
+ | opacity:1; | ||
+ | color:#e5004f; | ||
+ | } | ||
+ | #menuLogo{ | ||
+ | display:inline-block; | ||
+ | line-height:60px; | ||
+ | } | ||
+ | #menuLogo:hover{ | ||
+ | border:0 !important; | ||
+ | } | ||
+ | #menuLogo img{ | ||
+ | width:50px; | ||
+ | padding:5px; | ||
+ | } | ||
− | + | .divide-line { | |
+ | width: 90%; | ||
+ | height: 1px; | ||
+ | background: #ccc; | ||
+ | margin: 30px auto; | ||
+ | } | ||
− | + | #menuNav{ | |
− | + | display:inline-block; | |
− | + | padding:0px; | |
− | + | margin:0 auto; | |
− | + | } | |
− | + | ||
− | + | #loadingLayer { | |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | z-index: 999; | |
− | + | position: fixed; | |
+ | background: #34495E; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | #loadingContainer { | ||
+ | width: 16%; | ||
+ | position: fixed; | ||
+ | left: 42%; | ||
+ | top: 40%; | ||
+ | display: block; | ||
+ | } | ||
− | + | #loadingContainer img{ | |
− | + | display:block; | |
− | + | width:60%; | |
− | + | margin:0 auto; | |
− | + | } | |
− | + | #loadingLayer h1 { | |
− | + | text-align: center; | |
− | + | margin:20px auto; | |
+ | width:100%; | ||
+ | color:#fff; | ||
+ | } | ||
− | + | .nav-active{ | |
− | + | color:#e5004f; | |
− | + | border-bottom:3px solid #e5004f; | |
− | + | } | |
− | + | ||
− | + | .pic-preLoad{ | |
− | + | display:none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | .pic-preLoad img{ | |
− | + | display:none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .pic_three { | |
− | + | width: 100%; | |
− | + | min-height: 200px; | |
− | + | position: relative; | |
− | + | margin: 20px auto; | |
− | + | } | |
− | + | .pic_three img { | |
− | + | width: 80%; | |
− | + | box-shadow: 0 3px 10px #7d7d7d; | |
− | + | display: block; | |
− | + | margin: 10px auto; | |
+ | max-width: 330px; | ||
+ | } | ||
+ | .pic_three .pic_left { | ||
+ | position: absolute; | ||
+ | display:inline-block; | ||
+ | left: 0; | ||
+ | width: 33%; | ||
+ | } | ||
+ | .pic_three .pic_middle { | ||
+ | position: relative; | ||
+ | |||
+ | display:inline-block; | ||
+ | left: 33%; | ||
+ | width: 33%; | ||
+ | } | ||
+ | .pic_three .pic_right { | ||
+ | position: absolute; | ||
+ | display:inline-block; | ||
+ | left: 66%; | ||
+ | width: 33%; | ||
+ | } | ||
− | + | .pic_two { | |
+ | width: 100%; | ||
+ | min-height: 200px; | ||
+ | position: relative; | ||
+ | margin: 20px auto; | ||
+ | } | ||
+ | .pic_two img { | ||
+ | width: 80%; | ||
+ | box-shadow: 0 3px 10px #7d7d7d; | ||
+ | display: block; | ||
+ | margin: 10px auto; | ||
+ | max-width: 330px; | ||
+ | } | ||
+ | .pic_two .pic_left { | ||
+ | position: relative; | ||
+ | left: 0; | ||
+ | width: 50%; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | .pic_two .pic_right { | ||
+ | position: absolute; | ||
+ | left: 50%; | ||
+ | display: inline-block; | ||
+ | width: 50%; | ||
+ | } | ||
− | + | .pic_three .smallIntroduction{ | |
− | + | width:80%; | |
− | + | margin:10px auto; | |
− | + | } | |
− | + | ||
+ | .part { | ||
+ | width: 80%; | ||
+ | margin: 0 auto; | ||
+ | padding: 20px; | ||
+ | } | ||
+ | .part-head h2 { | ||
+ | padding: 0 0px; | ||
+ | margin: 20px 0; | ||
+ | } | ||
+ | .part-head h3 { | ||
+ | padding: 0 30px; | ||
+ | margin: 20px 0; | ||
+ | } | ||
+ | .part-head h4 { | ||
+ | padding: 0 60px; | ||
+ | margin: 20px 0; | ||
+ | } | ||
+ | .part .img { | ||
+ | display: block; | ||
+ | width: 60%; | ||
+ | margin: 30px auto; | ||
+ | } | ||
+ | .part h3 { | ||
+ | font-size: 26px; | ||
+ | } | ||
+ | .part h4 { | ||
+ | font-size: 22px; | ||
+ | font-weight: normal; | ||
+ | padding: 10px 20px; | ||
+ | } | ||
+ | .part p { | ||
+ | font-size: 18px; | ||
+ | padding:0 20px; | ||
+ | } | ||
+ | .source_link { | ||
+ | display: block; | ||
+ | text-align: right; | ||
+ | text-decoration: none; | ||
+ | color: #343434; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | a { | ||
+ | text-decoration: none; | ||
+ | color: #343434; | ||
+ | } | ||
+ | a:hover { | ||
+ | text-decoration: underline; | ||
+ | color: #00b4ed; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | p.smallIntroduction { | |
− | + | text-align: center; | |
+ | font-weight: normal; | ||
+ | font-size: 15px; | ||
+ | text-indent:0; | ||
+ | } | ||
− | + | .pic_three .smallIntroduction{ | |
− | + | width:80%; | |
+ | margin:10px auto; | ||
+ | position:relative; | ||
+ | bottom:0; | ||
+ | } | ||
+ | .underline{ | ||
+ | text-decoration:underline; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </style> | |
− | + | <div id="loadingLayer"> | |
+ | <div id="loadingContainer"> <img src="https://static.igem.org/mediawiki/2015/6/6d/2015-SCUT-China-loading2.svg" /> | ||
+ | <h1>Loading</h1> | ||
+ | </div> | ||
+ | </div> | ||
− | + | <!-- Start of the template html elements. --> | |
− | + | <div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.--> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | + | <nav id="menuContainer"> | |
− | + | ||
− | + | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | |
+ | <ul id="menuNav"> | ||
+ | <li id="menuLogo"> <img src="https://static.igem.org/mediawiki/2015/b/b9/2015-SCUT-China-logo.png" /></li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China">HOME</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Team">TEAM</a> | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Team"><li>Team Members</li></a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Attributions"> <li>Attribution</li></a> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="Description">PROJECT</a> | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Description"> | ||
+ | <li>Description</li> | ||
+ | </a> <a href="https://2015.igem.org/Team:SCUT-China/Experiments"> | ||
+ | <li>Experiments & Results</li> | ||
+ | </a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Protocols"> | ||
+ | <li>Protocols</li> | ||
+ | </a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>Notebook</li></a> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Parts">PARTS</a> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Collaborations">COLLABORATIONS</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Practices">HUMAN PRACTICES</a> | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Practices"> | ||
+ | <li>Overview</li> | ||
+ | </a> <a href="https://2015.igem.org/Team:SCUT-China/hospitalInterview"> | ||
+ | <li>Hospital Interview</li> | ||
+ | </a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Conference"> | ||
+ | <li>Seminar & Conference</li> | ||
+ | </a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/dataAnalysis"><li>Data Analysis</li></a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/criticalThinking"><li>Law & Regulation</li></a> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Safety">SAFETY</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:SCUT-China/Modeling">MODELING</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </nav> | ||
+ | <!-- End of menu --> | ||
− | + | <script> | |
− | + | $(function(){ | |
+ | |||
+ | $("#menuNav").children("li").mouseenter(function(){ | ||
+ | $(this).children("ul").stop(true); | ||
+ | $(this).children("ul").fadeIn(300); | ||
+ | //$(this).children("a").css("color","#e5004f"); | ||
+ | }); | ||
+ | |||
+ | $("#menuNav").children("li").mouseleave(function(){ | ||
+ | $(this).children("ul").fadeOut(300); | ||
+ | //$(this).children("a").css("color","#343434"); | ||
+ | }); | ||
+ | |||
+ | $("#loadingLayer").fadeOut(500); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Latest revision as of 02:18, 19 September 2015