Difference between revisions of "Template:Manchester/CSS1"

Line 88: Line 88:
 
     height: 40px;
 
     height: 40px;
 
     z-index: 100;
 
     z-index: 100;
 +
    margin: auto;
 
}
 
}
  
Line 438: Line 439:
 
         <li><a href="https://2016.igem.org/Team:Manchester/Description">Description</a></li>
 
         <li><a href="https://2016.igem.org/Team:Manchester/Description">Description</a></li>
 
         <li><a href="https://2016.igem.org/Team:Manchester/Results">Result</a></li>
 
         <li><a href="https://2016.igem.org/Team:Manchester/Results">Result</a></li>
         <li><a href="https://2016.igem.org/Team:Manchester/Notebook">Notebook</a></li>
+
         <li><a href="https://2016.igem.org/Team:Manchester/Notebook">Notebook</a
      </ul>
+
 
+
  </li>
+
 
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Parts"><strong>Parts</strong></a>
+
 
+
      <ul>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Parts">Parts</a></li>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Basic_Part">Basic Part</a></li>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Composite_Part">Composite part</a></li>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Part_Collection">Parts collection</a></li>     
+
      </ul>
+
 
+
  </li>
+
 
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Safety"><strong>Safety</strong></a></li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Attributions"><strong>Attributions</strong></a></li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Human_Practices"><strong>Human Practices</strong></a>
+
 
+
      <ul>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Human_Practices">Human Practices</a></li>
+
        <li><a href="https://2016.igem.org/Team:Manchester/HP/Gold">Gold</a></li>
+
        <li><a href="https://2016.igem.org/Team:Manchester/HP/Silver">Sliver</a></li> 
+
      </ul>
+
 
+
 
+
  </li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Model"><strong>Awards</strong></a>
+
   
+
    <ul>
+
        <li><a href="https://2016.igem.org/Team:Manchester/Model">Modelling</a></li>
+
 
+
  </li>
+
</ul>
+
 
+
</nav>
+
 
+
 
+
 
+
<!-- MathJax (LaTeX for the web) -->
+
<script type="text/x-mathjax-config">
+
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
+
</script>
+
<script type="text/javascript" src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+
 
+
<script>
+
 
+
$(document).ready(function(){
+
  // Add smooth scrolling to all links
+
  $("a").on('click', function(event) {
+
 
+
    // Make sure this.hash has a value before overriding default behavior
+
    if (this.hash !== "") {
+
      // Prevent default anchor click behavior
+
      event.preventDefault();
+
 
+
      // Store hash
+
      var hash = this.hash;
+
 
+
      // Using jQuery's animate() method to add smooth page scroll
+
      // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
+
      $('html, body').animate({
+
        scrollTop: $(hash).offset().top
+
      }, 800, function(){
+
 
+
        // Add hash (#) to URL when done scrolling (default click behavior)
+
        window.location.hash = hash;
+
      });
+
    } // End if
+
  });
+
});
+
</script>
+
 
+
 
+
<script>
+
$(document).ready(function(){
+
        $(".box-shadow-menu").click(function(){
+
            $("#nav_bar").toggle();
+
        });
+
$( window ).resize(function() {
+
$("#nav_bar").show();
+
});
+
});
+
</script>
+
 
+
 
+
 
+
</html>
+

Revision as of 00:05, 23 August 2016