Difference between revisions of "Template:Pasteur Paris"

 
(486 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<html>
 
  
<style>
+
<html></div></div></div></div></div>
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 
  
#sideMenu, #top_title {display:none;}
+
<html></div></div></div></div></div><head>
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
+
<style>
body {background color:white; }
+
#top_title, #sideMenu, .action-view #content { display: none; }
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
#top_menu_14{height:auto;}
 +
#globalWrapper { padding: 0; }
 +
#sideMenu, #sideMenu * { box-sizing: content-box; }
 +
#sideMenu { position: fixed; }
 +
a { text-decoration: none; }
 +
a:hover, a:focus { text-decoration: none; }
  
/********************************* MENU ********************************/
+
body {
/* Wrapper for the menu */
+
font-size: medium;
.menu_wrapper {
+
font-weight: 500;
width:150px;  
+
        background: #fff;
height:100vh;  
+
margin: 0;
position:fixed;  
+
padding: 0;
padding:0px;
+
}
float:top;
+
background-color:#f2f2f2;
+
text-align:left;
+
}
+
  
/* styling for the menu items */
+
#HQ_page p {
.menu_item {
+
    font-family: inherit;
width:100%;
+
    font-size: inherit;
margin:-2px 0px 0px -20px;
+
    text-align: inherit;
padding: 10px 10px;
+
}
border-bottom: 1px solid #d3d3d3;  
+
font-weight:bold;
+
color:#000000;
+
cursor: pointer;  
+
}
+
  
/* when hovering on a menu item */
+
li { margin-bottom: 0; }
.menu_item:hover {  
+
color:#000000;
+
background-color: #72c9b6;
+
}
+
  
/* decoration icon for the menu buttons*/
+
#content {
.icon {
+
    width: 100%;
float:right;
+
    padding: 0;
font-size:16px;  
+
    border: none;
font-weight:bold;  
+
    color: black;
}
+
    margin: 0;
+
    background-color: transparent;
/* this is the icon for when the content is collapsed */
+
    background-attachment:fixed;
.plus::before {
+
    position: static;
content: "+";  
+
}
}
+
h1, h2, h3, h4, h5, h6 {
/* this is the icon for when the content is expanded */
+
font: medium 'Raleway', sans-serif;
.less::before {
+
font-weight: 400;
content: "–";  
+
font-style: normal;
}
+
color:inherit;
 +
background:none;
 +
margin:0;
 +
padding:0;
 +
border:0;
 +
}  
  
/* styling for the ul that creates the buttons */
+
*  
ul.menu_items {
+
body {
width:100%;  
+
  front-family: 'Bebas Neue', sans-serif, Greorgia ;
margin-left:0px;  
+
  margin : 30px ;
padding:0px;
+
  padding :30px ;margin: 0;
list-style: none;  
+
  padding: 0;
}
+
  text-align: center;
 +
 
 +
}
 +
.container{
 +
  display:flex;
 +
}
  
/* styling for the li that are the menu items */
+
.item{
.menu_items li {  
+
  font-size:2em;
width:90%;  
+
  margin:15px;
margin-top:-2px;  
+
  padding:10px;
padding: 15px 0px 15px 15px ;  
+
  text-align:center;
display:block;
+
}
border-bottom: 1px solid #d3d3d3; 
+
text-align:left;
+
font-weight:bold;
+
text-decoration:none;
+
color:#000000;
+
list-style-type:none;
+
cursor:pointer;
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
}
+
  
.menu_item a {
 
width: 100%;
 
margin-left: -20px;
 
padding: 11px 90px 12px 20px;
 
text-decoration: none;
 
color:black;
 
}
 
  
/* When hovering on a menu item */
 
.menu_items li:hover {
 
background-color:#72c9b6;
 
color: #000000;
 
}
 
  
/* styling for the submenus */
+
div#position-menu2{
.submenu {
+
position: relative;
width:100%;  
+
  z-index: 1000;
display: none;  
+
font-weight:bold;
+
cursor:pointer;  
+
  
}
+
 +
}
 +
#menu2, #menu2 ul{
 +
padding:0;
 +
margin:0px;
 +
list-style:none;
 +
text-align:center;
 +
}
 +
#menu2 li{
 +
display:inline-block;
 +
position:relative;
 +
border-radius:5px 5px 0 0;
 +
}
 +
#menu2 ul li{
 +
display:inherit;
 +
border-radius:0;
 +
}
 +
#menu2 ul li:hover{
 +
border-radius:0;
 +
}
 +
#menu2 ul li:nth-child(6){
 +
border-radius:0 0 8px 8px;
 +
}
 +
#menu2 ul{
 +
position:absolute;
 +
z-index: 1000;
 +
max-height:0;
 +
left: 0;
 +
right: 0;
 +
overflow:hidden;
 +
-moz-transition: .8s all .3s;
 +
-webkit-transition: .8s all .3s;
 +
transition: .8s all .3s;
 +
}
 +
#menu2 li:hover ul{
 +
max-height:14em;
 +
}
 +
/* background des liens menus */
  
/* moving the margin for the submenu ul list */
 
ul.submenu {
 
width: 100%;
 
margin: 10px 0px -11px 0px;
 
list-style: none;
 
}
 
  
/*styling for the submenu buttons */
+
/* background des liens sous menus */
.submenu li {  
+
#menu2 li:first-child li{
width: 100%;  
+
background:#FFD700;
margin-left: 10px;
+
}
margin-bottom: 0px;
+
#menu2 li:nth-child(2) li{
}
+
background:#FFA500;
 +
}
 +
#menu2 li:nth-child(3) li{
 +
background:#BC8F8F;
 +
}
 +
#menu2 li:nth-child(4) li{
 +
background:#F08080;
 +
}
 +
#menu2 li:nth-child(5) li{
 +
background:#ADD8E6;
 +
}
 +
#menu2 li:nth-child(6) li{
 +
background:#00CED1;
 +
}
  
 +
#menu2 li:nth-child(7) li{
 +
background:#CD5C5C;
 +
}
  
/* hover state for the submenu buttons */
+
/* les a href */
.submenu li a {
+
#menu2 a{
width: 100%;  
+
text-decoration:none;
padding: 5px 10px;  
+
display:block;
display: inline-block;
+
padding:10px 25px;
border-bottom: 1px solid #d3d3d3;
+
color:#fff;
background-color:white;  
+
font-family:'Bebas Neue', sans-serif;
text-decoration:none;
+
}
color:#000000;  
+
#menu2 ul a{
}
+
padding:5px 0;
 +
}
 +
#menu2 li:hover li a{
 +
color:#fff;
 +
text-transform:inherit;
 +
}
 +
#menu2 li:hover a, #menu2 li li:hover a{
 +
color:#000;
 +
}
  
  
  
.submenu li a:hover  {
+
/*logo de communication */
background-color:#000000;
+
#logocom a{
color: #72c9b6;
+
}
+
  
 +
display:block;
 +
padding:8px 2px;
 +
}
  
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
+
#logocom{
.collapsable_menu_control {  
+
list-style-type= none;
width:100%;
+
display: inline;
padding: 15px 0px;
+
position: relative;
display:none;
+
padding:1px;
background-color:#000000;
+
left:40%;
text-align:center;
+
font-weight:bold;  
+
color:#72c9b6;
+
cursor:pointer;  
+
-webkit-transition: all 0.4s ease;  
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* when hovering on that button */
 
.collapsable_menu_control:hover {
 
background-color: #72c9b6;
 
color:#000000; 
 
}
 
  
/********************************* CONTENT OF THE PAGE ********************************/
+
}
  
/* Wrapper for the content */
 
.content_wrapper {
 
width: 85%;
 
margin-left:150px;
 
padding:10px 0px;
 
float:left;
 
background-color:white;
 
}
 
  
/*LAYOUT */
 
.column  {
 
padding: 10px 0px;
 
float:left;
 
background-color:white;
 
}
 
  
.full_size {
+
.logotwitterfb {
width:100%;  
+
list-style-type= none;
}
+
width: 20px;
 +
height: 20px;
 +
}
  
.full_size img {  
+
#grayscale img {
padding: 10px 15px;
+
list-style-type= none;
width:96.5%;  
+
display: inline;
}
+
position: relative;
 +
}
  
.half_size {
+
.grayscale img
width: 50%;  
+
{
}
+
        filter: grayscale(1);
.half_size img {
+
        -webkit-filter: grayscale(1);
padding: 10px 15px;
+
        -moz-filter: grayscale(1);
width: 93%;  
+
        -o-filter: grayscale(1);
}
+
        -ms-filter: grayscale(1);
 +
}
  
 +
.grayscale img:hover
 +
{
 +
        filter: grayscale(0);
 +
        -webkit-filter: grayscale(0);
 +
        -moz-filter: grayscale(0);
 +
        -o-filter: grayscale(0);
 +
        -ms-filter: grayscale(0);
 +
}
 +
.hue-rotate img
 +
{
 +
        filter: hue-rotate(180deg);
 +
        -webkit-filter: hue-rotate(180deg);
 +
        -moz-filter: hue-rotate(180deg);
 +
        -o-filter: hue-rotate(180deg);
 +
        -ms-filter: hue-rotate(180deg);
 +
}
 +
.hue-rotate img:hover
 +
{
 +
        filter: hue-rotate(0);
 +
        -webkit-filter: hue-rotate(0);
 +
        -moz-filter: hue-rotate(0);
 +
        -o-filter: hue-rotate(0);
 +
        -ms-filter: hue-rotate(0);
 +
}
  
.clear {
 
clear:both;
 
}
 
  
.highlight {
 
width: 90%;
 
margin: auto;
 
padding: 15px 5px;
 
background-color: #f2f2f2;
 
}
 
  
.judges-will-not-evaluate {
+
#toparrow{
border: 4px solid #72c9b6;
+
  position:fixed;
display: block;
+
  z-index:2000;
margin: 5px 15px;
+
  font-size:0;
width: 95%;
+
  margin-top:20%;
font-weight:bold;
+
  margin-left:87%;  
}
+
}
  
 +
</style>
 +
<body>
  
/*STYLING */
+
          <div class="container">
 +
    <div class="header item"><a href=" https://2016.igem.org/Team:Pasteur_Paris " id=mainpage><img src="https://static.igem.org/mediawiki/2016/a/a7/T--Pasteur_Paris--LOGO-definitif.png" class="logo" width="135"></img></a></div>
 +
    <div class="menuLeft item"><a href=" https://2016.igem.org/Team:Pasteur_Paris " id=mainpage><img class="GIF" alt="http://imagizer.imageshack.us/a/img922/9439/1kY2Ez.gif" src="http://imagizer.imageshack.us/a/img922/9439/1kY2Ez.gif" height="100px" width="130px"></img></a></div>
  
/* styling for the titles */
+
    <div class="content item"></div>
.content_wrapper h1, .content_wrapper h2 {
+
padding:5px 15px;
+
border-bottom:0px;
+
color:#72c9b6;
+
  
}
 
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color: #000000; 
 
}
 
  
 +
  <div id="position-menu2" >
 +
    <ul id="menu2" >
 +
  <li><a href=" https://2016.igem.org/Team:Pasteur_Paris/AboutUs "><center><img src="https://static.igem.org/mediawiki/2016/0/0c/T--Pasteur_Paris--Logo_team.png" height="40px" width="40px"></center><b></b><FONT size ="3pt"color=#8B8378><br>About us</br></FONT></a >
 +
    <ul>
 +
      <li><a href=" https://2016.igem.org/Team:Pasteur_Paris/AboutUs " href "#about us">Our team</a></li> 
 +
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Attributions">Attribution</a></li>
 +
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Sponsors">Sponsors</a></li>
 +
    </ul>
 +
  </li>
 +
<li><a href="https://2016.igem.org/Team:Pasteur_Paris/Context"><center><img src="https://static.igem.org/mediawiki/2016/c/c2/T--Pasteur_Paris--Science.png" height="40px" width="40px"></center><b></b><FONT size ="3pt" color=#8B8378><br>Project</br></FONT></a >
 +
    <ul>
 +
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Context">Context</a></li>
 +
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Overview">Overview</a></li>   
 +
    </ul>
 +
  </li>
  
/* font and text */
 
.content_wrapper p {
 
padding:0px 15px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
  
/* Links */
+
  <li><a href=" https://2016.igem.org/Team:Pasteur_Paris/Design"><center><img src="https://static.igem.org/mediawiki/2016/5/53/T--Pasteur_Paris--DESIGN_PART1.png" height="50px" width="40px" alt=""></center><b></b><FONT size ="3pt" color=#8B8378><br>Design </br></FONT></a>
.content_wrapper a {
+
    <ul>
font-weight: bold;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Science">Science </a></li>
text-decoration: underline;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Moskit_devices">Devices</a></li>
text-decoration-color:#72c9b6;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Research">Research & development</a></li>
color: #72c9b6;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Methodology">Methodology</a></li>
-webkit-transition: all 0.4s ease;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Design_Biology">Design vs Biology</a></li>
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* hover for the links */
 
.content_wrapper a:hover {
 
text-decoration:none;
 
color:#000000;
 
}
 
  
/* non numbered lists */
+
    </ul>
.content_wrapper ul {
+
  </li>
padding:0px 20px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
  
/* numbered lists */
 
.content_wrapper ol {
 
padding:0px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
  
/* Table */
 
.content_wrapper table {
 
width: 97%;
 
margin:15px 10px;
 
border: 1px solid #d3d3d3;
 
border-collapse: collapse;
 
}
 
  
/* table cells */
+
  <li><a href=" https://2016.igem.org/Team:Pasteur_Paris/Labwork "><center><img src="https://static.igem.org/mediawiki/2016/b/b2/T--Pasteur_Paris--WetLab.png" height="40px" width="40px" alt=""></center><b></b><FONT size ="3pt" color=#8B8378><br>Labwork </br></FONT></a>
.content_wrapper  td {
+
    <ul>
padding: 10px;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Safety_Security">Safety & Security</a></li>
vertical-align: text-top;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Protocol ">Protocol</a></li>
border: 1px solid #d3d3d3;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Netbook ">Notebook</a></li>
border-collapse: collapse;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Results ">Results</a></li>
}
+
    </ul>
 +
  </li>
  
/* table headers */
+
.content_wrapper th {
+
<li><a href="https://2016.igem.org/Team:Pasteur_Paris/Human_Pactrice"><center><img src="https://static.igem.org/mediawiki/2016/f/ff/T--Pasteur_Paris--1HP.png" height="40px" width="40px"><b></b><FONT size ="3pt" color=#8B8378></center><br>Human Practice</br></FONT></a>   
padding: 10px;
+
  <ul>
vertical-align: text-top;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Integrated_Practices">Integrated Practices</a></li>
border: 1px solid #d3d3d3;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Collaborations ">Collaborations</a></li>
border-collapse: collapse;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Scenarios">Scenarios</a></li>
background-color:#f2f2f2;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Meet-up ">Meet-up</a></li>
}
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Engagement">Communication</a></li>
 +
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Law"> Law</a></li>
 +
    </ul>
 +
</li>
  
/* Button class */
+
<li><a href=" https://2016.igem.org/Team:Pasteur_Paris/Parts  "><center><img src="https://static.igem.org/mediawiki/2016/2/21/T--Pasteur_Paris--BB1.png" height=" class="space"40px" width="40px"></center><b></b><FONT size ="3pt" color=#8B8378><br>Parts</br></FONT> </a>
.button_click {
+
    <ul>
margin: 10px auto;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Description">Description</a></li>
padding: 15px; width:12%; 
+
    </ul>
text-align:center;
+
  </li>
font-weight:bold;
+
background-color: #72c9b6;
+
cursor:pointer; 
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* button class on hover */
+
<li><a href=" https://2016.igem.org/Team:Pasteur_Paris/Eligibility"><center><img src="https://static.igem.org/mediawiki/2016/b/b1/T--Pasteur_Paris--Achievements_Pasteur_2016.png"  class="space"height="40" width="40"></center><b></b><FONT size ="3pt" color=#8B8378><br>Achievements</br></FONT> </a>
.button_click:hover { 
+
    <ul>
background-color:#000000;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/medals">Medals</a></li>
color:#72c9b6;
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/Prizes"> Special Prizes</a></li>
}
+
      <li><a href="https://2016.igem.org/Team:Pasteur_Paris/rewards"> Awards obtained!</a></li>
 +
    </ul>
 +
  </li>
  
/********************************* RESPONSIVE STYLING ********************************/
 
  
/* IF THE SCREEN IS LESS THAN 1000PX */
 
  
@media only screen and (max-width: 1000px) {
+
<div id="logocom">
 +
                              <section class="grayscale">
 +
                  <li><a href=" https://twitter.com/igem_pasteur " target="_blank"><img class="logotwitterfb" src="https://static.igem.org/mediawiki/2016/e/e2/T--Pasteur_Paris--Twitter_institut_pasteur_2016.jpg"/></a> </li> </a>
 +
                  </li>
  
#content {width:100%; }
+
                  <li >
.menu_wrapper {width:15%;}
+
                    <a href=" https://www.facebook.com/igem.pasteur/" target="_blank"><img class="logotwitterfb" src="https://static.igem.org/mediawiki/2016/7/75/T--Pasteur_Paris--FB_institut_pasteur_2016.jpg"/></a>
.content_wrapper {margin-left: 15%;}
+
</li>
.menu_item {display:block;}
+
   
.icon {display:none;}
+
                                    <li >
.highlight {padding:10px 0px;}
+
                    <a href="http://www.pasteur.fr/fr/enseignement/stages-etudiants/igem" target="_blank"><img class="logotwitterfb" src="https://static.igem.org/mediawiki/2016/3/3a/T--Pasteur_Paris--LOGO_Pasteur_2016.png"/></a>
}
+
                  </li>
 
+
                                 
 
+
                      <li>          
/* IF THE SCREEN IS LESS THAN 680PX */
+
                    <a href=" mailto:igem.pasteur@gmail.com " target="_blank"><img class="logotwitterfb" src="https://static.igem.org/mediawiki/2016/d/dc/T--Pasteur_Paris--Email_Pasteur_2016.jpg"/></a>
 
+
                  </li>
@media only screen and (max-width: 680px) {
+
<li>
.collapsable_menu_control { display:block;}
+
<a href=" https://2016.igem.org/Main_Page" target="_blank"><img src="https://static.igem.org/mediawiki/2016/1/1e/T--Pasteur_Paris--IGEM_officiel.png" width="50"/></a>
.menu_item {display:none;}
+
</li>
.menu_wrapper { width:100%; height: 15%; position:relative;}
+
                                 
.content_wrapper {width:100%; margin-left:0px;}
+
.column.half_size {width:100%; }
+
.column img { width: 100%; padding: 5px 0px;}
+
.icon {display:block;}
+
.highlight {padding:15px 5px;}
+
}
+
 
+
</style>
+
 
+
 
+
 
+
 
+
<!--- THIS IS WHERE THE HTML BEGINS --->
+
 
+
 
+
<!-- This tells the browser that your page is responsive -->
+
 
+
<head>
+
<meta name="viewport" content="width=device-width, initial-scale=1">
+
</head>
+
 
+
 
+
 
+
 
+
<div class="menu_wrapper" >
+
 
+
 
+
 
+
 
+
<div class="collapsable_menu_control"> MENU ▤ </div>
+
 
+
<ul id="accordion" class="accordion">
+
 
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pasteur_Paris">HOME </a> </li>
+
 
+
 
+
<li class="menu_item"> <div class="icon plus"></div> TEAM
+
<ul class="submenu">
+
<li> <a href=" https://2016.igem.org/Team:Pasteur_Paris/Team"> Team  </a> </li>
+
                                <li> <a href=" https://2016.igem.org/Team:Pasteur_Paris/Science_Department"> Science Department  </a> </li>
+
                                <li> <a href=" https://2016.igem.org/Team:Pasteur_Paris/Law_Department"> Law Department </a> </li>
+
                                <li> <a href=" https://2016.igem.org/Team:Pasteur_Paris/Design_Department"> Design Department  </a> </li>
+
                                <li> <a href=" https://2016.igem.org/Team:Pasteur_Paris/Communication_Department"> Communication Department  </a> </li>                 
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Collaborations">★  Collaborations </a> </li>
+
                    </ul>
+
                </li>
+
 
+
<li class="menu_item"> <div class="icon plus"></div> PROJECT 
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Description"> ★  Description </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Design"> ★ Design </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Experiments"> Experiments </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Proof"> ★ Proof of Concept </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Demonstrate"> ★ Demonstrate </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Results"> Results </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Notebook"> Notebook </a></li>
+
                    </ul>
+
                </li>
+
 
+
<li class="menu_item"> <div class="icon plus"></div> PARTS  
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Parts">Parts </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Basic_Part"> ★ Basic Parts </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Composite_Part"> ★ Composite Parts </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Part_Collection"> ★ Part Collection </a></li>
+
                    </ul>
+
                </li>
+
 
+
 
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pasteur_Paris/Safety"> SAFETY </a> </li>
+
 
+
 
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pasteur_Paris/Attributions">★  ATTRIBUTIONS </a></li>
+
 
+
 
+
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Human_Practices"> Human Practices </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/HP/Silver">★ Silver </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/HP/Gold">★ Gold </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Integrated_Practices"> ★ Integrated Practices </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Engagement">★ Engagement </a></li>
+
                    </ul>
+
                </li>
+
 
+
 
+
<li class="menu_item"> <div class="icon plus"></div> AWARDS
+
<ul class="submenu">
+
<li><a href="https://2016.igem.org/Team:Pasteur_Paris/Entrepreneurship"> ★ Entrepreneurship </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Hardware"> ★ Hardware </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Software">★ Software </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Measurement">★  Measurement </a></li>
+
<li> <a href="https://2016.igem.org/Team:Pasteur_Paris/Model">★ Model </a></li>
+
 
+
                    </ul>
+
                </li>
+
</ul>
+
  
 +
 
 +
                                      </section>
 +
</div>     
 +
</div>
 +
</div>     
 
</div>
 
</div>
  
  
  
 +
<div id="toparrow">
 +
    <a href="#"><img src = "https://static.igem.org/mediawiki/2016/3/3c/T--Pasteur_Paris--Arrow_Achievements1.png" width= 47% alt=""><a/>       
 +
  </div>
  
  
<div class="content_wrapper">
+
</body>
 
+
<p style="display:none">
 
+
 
+
<h1 id="team_name">  </h1>
+
<h4 id="page_name">  </h4>
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
<script>
+
 
+
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
+
 
+
$(document).ready(function() {
+
 
+
$("#HQ_page").attr('id','');
+
+
 
+
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
+
$("#team_name").html( wgPageName );
+
}
+
 
+
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
+
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
+
}
+
 
+
else {
+
// this adds the team's name as an h1
+
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
+
 
+
// this adds the page's title as an h4
+
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
+
}
+
 
+
 
+
 
+
 
+
$('#accordion').find('.menu_item').click(function(){
+
 
+
//Expand or collapse this panel
+
submenu = $(this).find('.submenu');
+
submenu.toggle();
+
 
+
icon = $(this).find('.icon');
+
 
+
if ( !$( submenu ).is(':visible') ) {
+
icon.removeClass("less").addClass("plus");
+
}
+
else {
+
icon.removeClass("plus").addClass("less");
+
}
+
 
+
//Hide the other panels
+
$(".submenu").not(submenu).hide();
+
$(".icon").not(icon).removeClass("less").addClass("plus");
+
});
+
 
+
 
+
$(".collapsable_menu_control").click(function() {
+
$(".menu_item").toggle();
+
});
+
 
+
$( window ).resize(function() {
+
$(".menu_item").show();
+
});
+
 
+
 
+
});
+
 
+
 
+
 
+
 
+
</script>
+
 
+
 
+
 
</html>
 
</html>

Latest revision as of 16:47, 28 November 2016