Difference between revisions of "Template:York"
Line 1: | Line 1: | ||
− | |||
− | |||
<!-- 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> | ||
− | + | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
− | + | <style type="text/css"> | |
− | + | #contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/ | |
− | + | .topWikiNavBackground { | |
− | + | height:18px; | |
− | + | margin-top: -32px; | |
− | + | background-color:black; | |
+ | } | ||
− | + | .headerimage { | |
− | + | position: relative; | |
− | + | top:26px; | |
− | + | margin: auto; | |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #globalWrapper, #content { /*-- changes default wiki settings --*/ | |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | border: 0px; | |
− | + | background-color: transparent; | |
− | + | margin: 0px; | |
− | + | padding: 0px; | |
+ | } | ||
− | + | /*Title fonts*/ | |
+ | #title, .subtitle{ | ||
+ | margin: 40px; | ||
+ | text-align: center; | ||
+ | font-family: 'Arial', cursive; | ||
+ | color: black; | ||
+ | } | ||
− | + | .subtitle{ | |
− | + | font-size: 30px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #title{ | |
− | + | font-size: 40px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | /*Text font for regular paragraph text on all pages*/ | |
− | + | .text{ | |
− | + | font-size: 15px; | |
− | + | font-family: 'Arial', sans-serif; | |
+ | } | ||
− | + | html, body, .wrapper { /*-- changes default wiki settings --*/ | |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | background-color: transparent; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | body{ | |
− | + | background-color:rgb(204, 224, 255); | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .navmenu { | |
− | + | position:fixed; | |
− | + | top:16px; | |
− | + | left:0; | |
− | + | right:0; | |
− | + | background:rgb(204, 224, 255); | |
− | + | z-index : 100; | |
− | + | height : 50px; | |
+ | align : center; | ||
+ | } | ||
+ | #mainLogo { | ||
+ | } | ||
+ | #navmenubox { | ||
+ | padding:0; | ||
+ | margin-left:0; | ||
+ | margin-right:0; | ||
+ | width:100%; | ||
+ | height:45px; | ||
+ | } | ||
+ | .sidelogos { | ||
+ | float:left; | ||
+ | display:block; | ||
+ | margin-left:auto; | ||
+ | height:100%; | ||
+ | width:auto; | ||
+ | top : 0; | ||
+ | } | ||
+ | #logos{ | ||
+ | float:right; | ||
+ | } | ||
+ | #logos div{ | ||
+ | display: inline; | ||
+ | } | ||
+ | #home { | ||
+ | width : 40px; | ||
+ | top : 0; | ||
+ | } | ||
+ | #mainpage { | ||
+ | float : left; | ||
+ | margin-left : 50px; | ||
+ | margin-top : 7px; | ||
+ | } | ||
+ | #facebookicon{ | ||
+ | margin-right: 0.75em; | ||
+ | margin-left: 0.5em; | ||
+ | width:1.9em; | ||
+ | } | ||
+ | #instaLogo{ | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | width:1.9em; | ||
+ | } | ||
+ | #twittericon{ | ||
+ | width:2.375em; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | #igemlogo img{ | ||
+ | width:2.3em; | ||
+ | position: relative; | ||
+ | background-color: rgb(204, 224, 255); | ||
+ | } | ||
+ | #twittericon img, #facebookicon img, #igemlogo img, #instaLogo img{ | ||
+ | margin-top:8px; | ||
+ | margin-bottom:2px; | ||
+ | } | ||
+ | #twitapp, #fbapp { | ||
+ | display:none; | ||
+ | width:250px; | ||
+ | height:auto; | ||
+ | } | ||
+ | #fbapp{ | ||
+ | margin-left:-149px; | ||
+ | } | ||
+ | #twitapp{ | ||
+ | margin-left:-111px; | ||
+ | } | ||
+ | #nav, #nav ul{ | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | list-style:none; | ||
+ | text-align : center; | ||
+ | } | ||
+ | #nav li{ | ||
+ | font-family: 'Arial'; | ||
+ | display:inline-block; | ||
+ | color: black; | ||
+ | position:relative; | ||
+ | top : 12px; | ||
+ | font-size : 16px; | ||
+ | height : 40px; | ||
+ | vertical-align : middle; | ||
+ | padding : 0; | ||
+ | margin : 0; | ||
+ | } | ||
+ | #nav li ul{ | ||
+ | vertical-align : bottom; | ||
+ | } | ||
+ | #nav li ul li { | ||
+ | font-family: 'Arial', sans-serif; | ||
+ | height : 60px; | ||
+ | vertical-align : top; | ||
+ | width : 170px; | ||
+ | background : rgb(204, 224, 255); | ||
+ | padding : 15px 0; | ||
+ | color : rgb(0,0,0); | ||
+ | border-bottom: 1px solid rgba(255,255,255,.2); | ||
+ | display: block; | ||
+ | } | ||
+ | #nav ul{ | ||
+ | display : block; | ||
+ | width : 125px; | ||
+ | max-height:0px; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | visibility:hidden; | ||
+ | -moz-transition: .0s all .0s; | ||
+ | -webkit-transition: .0s all .0s; | ||
+ | transition: .0s all .0s; | ||
+ | } | ||
+ | #nav li:hover ul{ | ||
+ | visibility: visible; | ||
+ | overflow: visible; | ||
+ | max-height:30em; | ||
+ | } | ||
+ | #nav a{ | ||
+ | text-decoration:none; | ||
+ | display:block; | ||
+ | font-weight : bold; | ||
+ | color : black; | ||
+ | vertical-align : middle; | ||
+ | } | ||
+ | #nav li:hover a { | ||
+ | color : #067400; | ||
+ | } | ||
+ | #nav li:hover ul .liste { | ||
+ | color : black; | ||
+ | } | ||
+ | #nav li ul li .liste:hover { | ||
+ | color : #067400; | ||
+ | } | ||
+ | .side-by-side{ | ||
+ | display: inline; | ||
+ | } | ||
+ | #nav li ul div{ | ||
+ | display: inline; | ||
+ | } | ||
+ | </style> | ||
+ | <div class="navmenu"> | ||
+ | <div id="navmenubox"> | ||
+ | <div id="logoBox" class="col-md-2"> | ||
+ | <a href="https://2015.igem.org/Team:York"><img src="https://static.igem.org/mediawiki/2015/e/e0/TeamYork_teamLogo.png" height="45px" width="56px"></a> | ||
+ | </div> | ||
+ | <ul id="nav" class = "col-md-8"> | ||
+ | <li><a href="https://2015.igem.org/Team:York">Home</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Project"><span class='caret'></span> Project</a> | ||
+ | <ul> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:YorkDescription">Description</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Transporters">Transporters</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Poly_Phosphate">Poly Phosphate</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Chassis">Chassis</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Modeling">Modeling</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Parts"><span class='caret'></span> Parts</a> | ||
+ | <ul> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:YorkDescription">Parts</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Basic_Part">Basic Parts</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Composite_Part">Composite Parts</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Part_Collection">Part Collection</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Outreach"><span class='caret'></span> Outreach</a> | ||
+ | <ul> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Public Outreach">Public Outreach</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Survey">Survey</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Collaborations">Collaborations</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Notebook"><span class='caret'></span> Notebooks</a> | ||
+ | <ul> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Notebook">Team Notebook</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Protocols">Protocols</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Medals">Medals</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:York/Team"><span class='caret'></span> About Us</a> | ||
+ | <ul> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Team">Team Bios</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Acknowledgements">Acknowledgements</a></li> | ||
+ | <li><a class = liste href="https://2015.igem.org/Team:York/Attributions">Attributions</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
− | + | </ul> | |
− | + | <div class= "col-md-2"> | |
− | + | <div id = "logos"> | |
− | + | <div id="twittericon" class="sidelogos"> | |
− | + | <a href="http://twitter.com/iGEMYork" title="iGEMYork Twitter" target="_blank"> | |
− | + | <img id="twitterimg" src="https://static.igem.org/mediawiki/2015/c/c0/TeamYork_Twitter_Logo_Dark.png" height="30px"> | |
− | + | <!--<div id="twitapp"> | |
− | + | <a class="twitter-timeline" href="https://twitter.com/iGEMYork" data-widget-id="623519556959633408">@iGEMYork</a> | |
− | + | </div>--> | |
− | + | </a> | |
− | + | </div> | |
− | + | <div id="facebookicon" class="sidelogos"> | |
− | + | <a href="https://www.facebook.com/York.igem.2014" title="iGEMYork Facebook" target="_blank"> | |
− | + | <img id="fblogo" src="https://static.igem.org/mediawiki/2015/f/f1/TeamYork_FB_Logo_Dark.png" height="30px"/> | |
− | + | <div id="fbapp"> | |
− | + | <div class="fb-like-box" data-href="https://www.facebook.com/York.igem.2014" data-width="250" data-height="400" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="true" data-show-border="true"></div> | |
− | + | </div> | |
− | + | </a> | |
− | + | </div> | |
− | + | <div id="instaLogo" class="sidelogos"> | |
− | + | <a href="https://instagram.com/igemyork/" title="iGEMYork Instagram" target="_blank"> | |
− | + | <img src="https://static.igem.org/mediawiki/2015/4/43/TeamYork_Insta_logo_Dark.png" height="30px"> | |
− | + | </a> | |
− | + | </div> | |
− | + | <div id="igemlogo" class="sidelogos"> | |
− | + | <a href="https://2015.igem.org/Main_Page" title="iGEM 2015" target="_blank"> | |
− | + | <img src="https://static.igem.org/mediawiki/2015/a/ae/TeamYork_IGEM_logo.png" height="30px"> | |
− | + | </a> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <div id =" | + | |
− | + | ||
− | + | ||
− | <div id=" | + | |
− | <a href="https://2015.igem.org/ | + | |
</div> | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | ||
− | </ | + | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> |
Revision as of 12:59, 8 September 2015