Difference between revisions of "Template:China Tongji"
(Prototype team template page) |
|||
Line 1: | Line 1: | ||
− | {{ | + | __NOTOC__<html lang="en"> |
+ | <head> | ||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $('p:empty').css('display','none'); | ||
+ | }); | ||
+ | </script> | ||
+ | </head> | ||
+ | <!-- wiki hacks --><style type="text/css"><!-- | ||
+ | /*------------------------------------*\ | ||
+ | RESET | ||
+ | \*------------------------------------*/ | ||
+ | table{ | ||
+ | border-collapse:collapse; | ||
+ | border-spacing:0; | ||
+ | background-color:transparent; | ||
+ | } | ||
+ | a { | ||
+ | color:teal; | ||
+ | } | ||
+ | a:visited { | ||
+ | color:teal; | ||
+ | } | ||
+ | fieldset,img{ | ||
+ | border:0; | ||
+ | } | ||
+ | address,caption,cite,code,dfn,th,var{ | ||
+ | font-style:normal; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | caption,th{ | ||
+ | text-align:left; | ||
+ | } | ||
+ | q:before,q:after{ | ||
+ | content:''; | ||
+ | } | ||
+ | abbr,acronym{ | ||
+ | border:0; | ||
+ | } | ||
+ | /*End reset*/ | ||
− | + | OL { | |
− | + | padding-left:2em; | |
+ | } | ||
− | + | #top-section | |
− | + | { | |
+ | height: 1em; | ||
+ | background-color: #FFFFFF; | ||
+ | } | ||
+ | #search-controls | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
− | + | #globalwrapper { | |
+ | width:1000px; | ||
+ | padding:20px 0px; | ||
+ | margin: 0 auto; | ||
+ | /*background-color:#ffffff;*/ | ||
+ | height:100%; | ||
+ | } | ||
+ | #footer-box { | ||
+ | width:990px; | ||
+ | } | ||
+ | .firstHeading { | ||
+ | height:0px; | ||
+ | display:none; | ||
+ | } | ||
+ | body { | ||
+ | background: #404040; | ||
+ | background-position: center; | ||
+ | background-repeat: repeat-y; | ||
+ | height:100%; | ||
+ | } | ||
+ | /*page title*/ | ||
+ | h1 { | ||
+ | font-weight:bold; | ||
+ | padding-top:20px; | ||
+ | } | ||
+ | /*page sections*/ | ||
+ | h2 { | ||
+ | } | ||
+ | /*title on header*/ | ||
+ | h5 { | ||
+ | font-size:20pt; | ||
+ | } | ||
− | + | #p-logo { | |
− | + | height:1px; overflow:hidden; display: none; | |
− | + | } | |
− | + | ||
− | + | #content { | |
− | + | border-left-width:0px; | |
− | + | border-right-width:0px; | |
− | + | padding:0; | |
− | + | padding-top: 0; | |
− | + | width:1000px; | |
− | + | border-top: none; | |
− | + | background: #f3f3f3; | |
− | + | height:100%; | |
− | + | font-family: verdana; | |
− | + | font-weight: 300; | |
− | + | } | |
− | + | #menubar { | |
− | + | background-color: #FFFFFF; | |
+ | } | ||
+ | #menubar ul li a { | ||
+ | color: #999999; } | ||
+ | .right-menu li a { | ||
+ | color: black; | ||
+ | background-color: #FFFFFF; | ||
+ | } | ||
− | + | .nav{ | |
− | + | float:left; | |
− | + | width:100%; | |
− | + | margin:0; | |
− | + | color:#FFFFFF; | |
− | + | list-style:none; | |
− | + | position:relative; | |
− | + | z-index:5; | |
+ | text-align:center; | ||
+ | /*CHANGE THIS TO CENTER*/ | ||
+ | padding:0 0px; /*12px;*/ | ||
+ | } | ||
− | + | .nav table{ | |
− | + | background-color:#505050; | |
− | + | clear:both; | |
− | + | align:center; | |
− | + | } | |
− | + | .nav tr{ | |
− | + | background-color:#505050; | |
− | + | } | |
− | + | .nav tbody tr td{ | |
− | + | float:left; | |
− | + | position:relative; | |
− | + | display:inline; | |
+ | width:16%; | ||
+ | line-height: 2.2em; | ||
+ | } | ||
− | + | .nav a{ | |
− | + | height:1.5em; | |
− | + | padding: 0.2em; | |
− | + | color:#FFF;; | |
− | + | font-size:13pt; | |
− | + | background-color:#505050; | |
− | + | border-right:0px solid white; | |
+ | white-space:nowrap; | ||
+ | text-decoration:none; | ||
+ | display:block; | ||
+ | width:100%; | ||
+ | } | ||
− | + | .nav a:hover{ | |
+ | background-color:#303030!important; | ||
+ | } | ||
− | + | /*--- DROPDOWN ---*/ | |
− | + | .nav ul{ | |
− | + | background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */ | |
− | + | background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */ | |
− | + | list-style:none; | |
− | + | position:absolute; | |
− | + | left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | |
− | + | margin-top: 0; | |
− | + | margin-left:0; | |
− | + | margin-right:0; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | + | .nav ul li{ | |
− | + | padding-top:1px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .nav ul a{ | |
− | + | padding-top: 0px; | |
− | + | float:left; | |
− | + | padding-bottom:0px; /*Introducing a padding between the li and the a give the illusion spaced items */ | |
− | + | white-space:normal; | |
− | + | text-decoration:none; | |
− | + | height:auto; | |
+ | width: 13em; | ||
+ | line-height: 1.5em; | ||
+ | } | ||
− | + | .nav td:hover ul{ /* Display the dropdown on hover */ | |
− | + | left:0; /* Bring back on-screen when needed */ | |
− | + | text-decoration:none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .nav td:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */ | ||
+ | background:#505050; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | .nav td:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */ | ||
+ | text-decoration:none; | ||
+ | } | ||
− | + | .nav td:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */ | |
+ | background:#000; | ||
+ | text-decoration:none; | ||
+ | } | ||
− | + | .links { | |
− | + | background-color:#c5c5c5; | |
− | + | float:left; | |
− | + | width:125px; | |
− | + | height:100%; | |
− | + | padding-top:10px; | |
+ | } | ||
+ | .links ul{ | ||
+ | width:100%; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #long { | |
− | + | width:10em; | |
− | + | } | |
− | + | #project_title a:hover { text-decoration: none; } | |
− | + | #project_title { margin: 0; padding: 0; } | |
+ | --></style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <body> | |
− | + | <div style="margin-top:-50px;Background-color:#FFF"> <br><br><br></div> | |
− | + | <div id="project_header" style="margin-top: -1em; position:relative;align:center;"> | |
− | + | <img id="headerImage" src="https://static.igem.org/mediawiki/2015/9/95/Team_China_Tongji_banner.jpg" border="0" width="980" height="200" orgWidth="980" orgHeight="200" usemap="#image-maps-2015-10-16-234534" alt="" /> | |
− | + | <map name="image-maps-2015-10-16-234534" id="ImageMapsCom-image-maps-2015-10-16-234534"> | |
− | + | <area alt="" title="" href="https://2015.igem.org" shape="rect" coords="797,7,874,69" style="outline:none;" target="_self" /> | |
− | + | <area alt="" title="" href="https://2015.igem.org/Team:China_Tongji" shape="rect" coords="0,0,794,77" style="outline:none;" target="_self" /> | |
− | + | <area shape="rect" coords="998,75,1000,77" alt="Image Map" style="outline:none;" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_0" /> | |
− | + | </map> | |
+ | </div> | ||
− | + | <div style="float:left; clear:left; margin-top: -2.5em; z-index:1; position:relative;"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | </div> | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <div id="project_title" style="text-align: center; margin-top: -0.8em; float:left; z-index:1; position:relative; | ||
+ | margin-left:3em;"> | ||
+ | <a href="https://2015.igem.org/Team:China_Tongji"> | ||
+ | <!--<h5 style="border: none; line-height: 1.2em; margin: 0; padding: 0; padding-top: 0.7em;"> | ||
− | + | Genetic Diagnosis and Treatment of Alzheimer's Disease | |
− | + | </h5>--> | |
− | + | </a> | |
− | + | </div></div> | |
− | + | <table class="nav"> | |
− | + | <tr> | |
− | + | <td><a href="https://2015.igem.org/Team:China_Tongji">Home</a></td> | |
− | + | <td><a href="https://2015.igem.org/Team:China_Tongji/Project"><img src="https://2015.igem.org/File:China_Tongji_2015_dropdown_arrow.png"> Project</a> | |
− | + | <ul> | |
− | + | <li><a href="https://2015.igem.org/Team:China_Tongji/Project">Overview</a></li> | |
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Background">Background</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Design">Design</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Protocol">Protocol</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/SAR">Summary and Result</a></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | <td><a href="https://2015.igem.org/Team:China_Tongji/Notebook"><img src="https://2015.igem.org/File:China_Tongji_2015_dropdown_arrow.png"> Notebook</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Notebook">Record</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Timeline">Timeline</a></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | <td><a href="https://2015.igem.org/Team:China_Tongji/Achivement"><img src="https://2015.igem.org/File:China_Tongji_2015_dropdown_arrow.png"> Achivement</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Achivement">Parts</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Equipment">Equipment</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Modeling">Modeling</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/JF">Judging Form</a></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | <td><a href="https://2015.igem.org/Team:China_Tongji/Team"><img src="https://2015.igem.org/File:China_Tongji_2015_dropdown_arrow.png"> Team</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Team">Members</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Attributions">Attributions</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Adviser">Adviser</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Sponsor">Sponsor</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Contact">Contact</a></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | <td><a href="https://2015.igem.org/Team:China_Tongji/Outreach"><img src="https://2015.igem.org/File:China_Tongji_2015_dropdown_arrow.png"> Outreach</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Outreach">Human Practice</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:China_Tongji/Collaboration">Collaboration</a></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | <td><a href="https://2015.igem.org/Team:China_Tongji/Safety">Safety</a> | ||
+ | </td> | ||
+ | <tr> | ||
+ | </table> | ||
− | + | <br /> | |
− | + | ||
− | + | </body> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Revision as of 21:23, 11 July 2015
Home | Project | Notebook | Achivement | Team | Outreach | Safety |