|
|
(11 intermediate revisions not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
| <head> | | <head> |
- |
| |
- | <!-- JAVASCRIPTS -->
| |
- | <!-- *********** -->
| |
- |
| |
- | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
| |
- | <!--[if lt IE 9]>
| |
- | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
| |
- | <![endif]-->
| |
- |
| |
- | <script type="text/javascript">
| |
- | $(window).scroll(function () {
| |
- | var scrollPos = $(window).scrollTop();
| |
- | if (scrollPos > 110) {
| |
- | $(".navigation").addClass("stickToTop");
| |
- | } else {
| |
- | $(".navigation").removeClass("stickToTop");
| |
- | }
| |
- | if (scrollPos > 180) {
| |
- | $(".toc").addClass("stickBelowNavigation");
| |
- | } else {
| |
- | $(".toc").removeClass("stickBelowNavigation");
| |
- | }
| |
- | });
| |
- | </script>
| |
- |
| |
- | <!-- MathJax (LaTeX for the web) -->
| |
- | <script type="text/x-mathjax-config">
| |
- | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
| |
- | MathJax.Hub.Config({
| |
- | TeX: {
| |
- | equationNumbers: { autoNumber: "AMS" }
| |
- | }
| |
- | });
| |
- | </script>
| |
- | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
| |
- |
| |
- | <!-- Sexy Drop Down (drop down navigation) -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(
| |
- | function(){
| |
- | $("ul.subnav").parent().find("> a").append("<span> ▼</span>");
| |
- | $("ul.topnav li").hover(
| |
- | function() {
| |
- | // Hover over
| |
- | $(this).parent().find("ul.subnav").hide();
| |
- | $(this).find("ul.subnav").show();
| |
- | // Hover out
| |
- | $(this).hover(
| |
- | function() {
| |
- | },
| |
- | function(){
| |
- | $(this).find("ul.subnav").hide();
| |
- | }
| |
- | );
| |
- | },
| |
- | function(){
| |
- | $(this).find("ul.subnav").hide();
| |
- | }
| |
- |
| |
- | );
| |
- | }
| |
- | );
| |
- | </script>
| |
- |
| |
- | <!-- iGem wiki hacks -->
| |
- | <!-- Remove all empty <p> tags -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(function() {
| |
- | $("p").filter( function() {
| |
- | return $.trim($(this).html()) == '';
| |
- | }).remove();
| |
- | });
| |
- | </script>
| |
- |
| |
- | <!-- Remove "team" from the menubar -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(function() {
| |
- | $("menubar > ul > li:last-child").remove();
| |
- | });
| |
- | </script>
| |
- |
| |
- | <!-- Empty heading? - Then remove it.. -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(function() {
| |
- | if ("" == "</html>{{{1}}}<html>") {
| |
- | $("#heading").remove();
| |
- | }
| |
- | });
| |
- | </script>
| |
- |
| |
| | | |
| <style type="text/css"> | | <style type="text/css"> |
Line 150: |
Line 60: |
| | | |
| .navbar-header{ | | .navbar-header{ |
- | width:960px; | + | width:1070px; |
| margin: 0 auto; | | margin: 0 auto; |
| + | padding-top:19px; |
| } | | } |
| | | |
Line 177: |
Line 88: |
| .nav li a:hover{color:#7bedab;} | | .nav li a:hover{color:#7bedab;} |
| .nav li a:focus, | | .nav li a:focus, |
- | .nav li a:active{color:2ecc71;} | + | .nav li a:active{color:#22780F;} |
| | | |
| /*deroulement du menu*/ | | /*deroulement du menu*/ |
Line 242: |
Line 153: |
| <!-- Bar Header --> | | <!-- Bar Header --> |
| <div class="l-header"> | | <div class="l-header"> |
- |
| + | |
- | <div class="navbar-header">
| + | <div class="navbar-header"> |
- | <a href="" class="logo-head"><img src="https://static.igem.org/mediawiki/2014/1/18/Template-igem2014-logo.png" alt="logo-igem"/></a>
| + | |
- | <!-- Navigation bar -->
| + | <!--Lien vers iGEM--> |
| + | <a href="https://igem.org/Main_Page"><img style="width:50px; float:left;margin-top:15px;margin-right:10px" src="https://static.igem.org/mediawiki/2014/9/94/Igemlogo_officiallogo.png"></a> |
| + | |
| + | <a href="https://2014.igem.org/Team:Toulouse" class="logo-head"><img href="https://static.igem.org/mediawiki/2014/1/18/Template-igem2014-logo.pn" src="https://static.igem.org/mediawiki/2014/1/18/Template-igem2014-logo.png" alt="logo-igem"/></a> |
| + | |
| + | |
| + | |
| + | <!-- Navigation bar --><div style="width:100%; height:19px;"></div> |
| </html>{{:Team:Toulouse/template/navigation}}<html> | | </html>{{:Team:Toulouse/template/navigation}}<html> |
- | </div>
| + | </div> |
| | | |
| <div class="clear"></div> | | <div class="clear"></div> |