Difference between revisions of "Template:Newcastle/navbar2"

 
(99 intermediate revisions by 5 users not shown)
Line 28: Line 28:
 
     href="https://2018.igem.org/Template:Newcastle/CSSbase?action=raw&ctype=text/css" />
 
     href="https://2018.igem.org/Template:Newcastle/CSSbase?action=raw&ctype=text/css" />
 
     <link rel="stylesheet" type="text/css"  
 
     <link rel="stylesheet" type="text/css"  
     href="https://2018.igem.org/Template:Newcastle/CSSvendor?action=raw&ctype=text/css" />
+
     href="https://2018.igem.org/Template:Newcastle/CSSvendorNoReveal?action=raw&ctype=text/css" />
     <link rel="stylesheet" type="text/css"  
+
     <link rel="stylesheet" type="text/css"
 
     href="https://2018.igem.org/Template:Newcastle/CSSmain?action=raw&ctype=text/css" />
 
     href="https://2018.igem.org/Template:Newcastle/CSSmain?action=raw&ctype=text/css" />
 
<!--    <link rel="stylesheet" type="text/css"  
 
<!--    <link rel="stylesheet" type="text/css"  
Line 78: Line 78:
 
.navbar_li {
 
.navbar_li {
 
     float: left;
 
     float: left;
 +
    font-size: 20px;
 
}
 
}
  
  
.navbar_li a {
+
.navbar_li a, .navbar_dropdown_li a {
 
     display: block;
 
     display: block;
 
     color: white;
 
     color: white;
 
     text-align: center;
 
     text-align: center;
     padding: 14px 16px;
+
     padding: 18px 14px;
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
  
li a:hover:not(.active) {
+
.navbar_li a:hover:not(.active) {
     background-color: #111;
+
     background-color: #39b54a;
 
}
 
}
  
.active {
+
.navbar_dropdown_content {
     background-color: #4CAF50;
+
     display: none;
 +
    position: absolute;
 +
    background-color: #333;
 +
    z-index: 1;
 +
}
 +
 
 +
.navbar_dropdown_content a:hover {
 +
    background-color: #39b54a;
 +
}
 +
 
 +
.navbar_dropdown_content a {
 +
    color: white;
 +
    text-align: center;
 +
    padding: 18px 14px;
 +
    text-decoration: none;
 +
}
 +
 
 +
.navbar_li:hover .navbar_dropdown_content {
 +
    display: block;
 +
}
 +
 
 +
#expand_btn {
 +
    z-index: 0;
 +
    position: fixed;
 +
    right: 0px;
 +
}
 +
 
 +
.toggle {
 +
    background-color: #333;
 +
    color: white;
 +
    text-indent: 0px;
 +
 
 +
}
 +
 
 +
.toggle:hover {
 +
  background-color: #39b54a;
 
}
 
}
  
  
 
</style>
 
</style>
 +
 +
<script>
 +
 +
function myFunction() {
 +
    var x = document.getElementById("navbar");
 +
    if (x.style.display === "none") {
 +
        x.style.display = "block";
 +
    } else {
 +
        x.style.display = "none";
 +
    }
 +
}
 +
 +
</script>
  
 
</head>
 
</head>
Line 104: Line 153:
 
<body id="top">
 
<body id="top">
  
    <!-- header
 
    ================================================== -->
 
    <header class="s-header">
 
  
        <div class="header-logo">
+
<div style="position: fixed; top: 16px; left:0px; width:100%; height:50px; z-index:100">
            <a class="site-logo" href="https://2018.igem.org/Team:Newcastle">
+
<ul id="navbar" class="navbar_ul" style="margin:0px">
                 <img src="https://static.igem.org/mediawiki/2018/thumb/2/22/T--Newcastle--RoundLogo.png/555px-T--Newcastle--RoundLogo.png" alt="Homepage">
+
  <li class="navbar_li"><a class="site-logo" style="padding:7px" href="https://2018.igem.org/Team:Newcastle">
             </a>
+
                 <img src="https://static.igem.org/mediawiki/2018/thumb/2/22/T--Newcastle--RoundLogo.png/555px-T--Newcastle--RoundLogo.png" width=50px alt="Homepage">
        </div>  
+
             </a></li>
  
        <nav class="header-nav">
 
  
            <a href="#0" class="header-nav__close" title="close"><span>Close</span></a>
+
  <li class="navbar_li"><a href="https://2018.igem.org/Team:Newcastle">Home</a></li>
  
            <div class="header-nav__content">
+
  <li class="navbar_li"><a href="#">Project</a>
                <h3>Navigation</h3>
+
      <div class="navbar_dropdown_content">
               
+
          <a href="https://2018.igem.org/Team:Newcastle/Description">Description</a>
                <ul class="header-nav__list" class="">
+
          <a href="https://2018.igem.org/Team:Newcastle/Safety">Safety</a>
                    <li class="current"><a href="https://2018.igem.org/Team:Newcastle" title="home">Home</a></li>
+
          <a href="https://2018.igem.org/Team:Newcastle/Parts">Parts Used</a>
                    <li class="dropdown"><a href="https://2018.igem.org/Team:Newcastle/Description" class="dropbtn" title="project">Project</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Part_Collection">New Parts Collection</a>                
<div class="dropdown-content">
+
      </div>
<a href="https://2018.igem.org/Team:Newcastle/Description">Description</a>
+
  </li>
<a href="https://2018.igem.org/Team:Newcastle/Design">Design</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Experiments">Experiments</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Parts">Parts Overview</a>
+
<a href="https://2018.igem.org/Team:Newcastle/InterLab">Interlab</a>
+
+
<a href="https://2018.igem.org/Team:Newcastle/Results">Results</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Demonstrate">Demonstrate</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Improve">Improve</a>
+
                                                        <a href="https://2018.igem.org/Team:Newcastle/Safety" title="safety">Safety</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Software">Software</a>
+
</div>
+
</li>
+
  
                <li class="dropdown"><a href="https://2018.igem.org/Team:Newcastle/Results" class="dropbtn" title="Results">Results</a>
+
  <li class="navbar_li"><a href="#">Human Practices</a>
<div class="dropdown-content">
+
      <div class="navbar_dropdown_content">
<a href="https://2018.igem.org/Team:Newcastle/Results/Hardware">Hardware</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Human_Practices">Integrated HP</a>
<a href="https://2018.igem.org/Team:Newcastle/Results/Endophyte">Endophyte</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Public_Engagement">Outreach and Public Engagement</a>
<a href="https://2018.igem.org/Team:Newcastle/Results/Chemotaxis">Chemotaxis</a>
+
      </div>
<a href="https://2018.igem.org/Team:Newcastle/Results/Operon">Operon</a>
+
  </li>
  
</div>
+
  <li class="navbar_li"><a href="#">Hardware</a>
</li>
+
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Hardware">Hardware Overview</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Circuitry">Circuitry</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results">Results</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Developments">Future Developments</a>
 +
      </div>
 +
  </li>
  
                <li class="dropdown"><a href="javascript:void(0)" class="dropbtn" title="Notebook">Notebook</a>
+
  <li class="navbar_li"><a href="#">Software</a>
<div class="dropdown-content">
+
      <div class="navbar_dropdown_content">
<a href="https://2018.igem.org/Team:Newcastle/Notebook">General</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Software">Software Overview</a>
<a href="https://2018.igem.org/Team:Newcastle/Notebook/Endophyte">Endophyte</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Software/NH1">NH-1</a>
<a href="https://2018.igem.org/Team:Newcastle/Notebook/Chemotaxis">Chemotaxis</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Software/OT">Opentrons</a>
<a href="https://2018.igem.org/Team:Newcastle/Notebook/Operon">Operon</a>
+
      </div>
 +
  </li>
  
</div>
+
  <li class="navbar_li"><a href="#">Wetware</a>
</li>
+
      <div class="navbar_dropdown_content">
 +
         
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Endophyte1">Root Colonisation</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Endophyte">Endophytic Chassis</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Chemotaxis">Chemotaxis</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Operon">Naringenin Operon</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Protocols">Protocols</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Experiments">Lab Book</a>
 +
      </div>
  
                <li class="dropdown"><a href="javascript:void(0)" class="dropbtn" title="Modelling">Modelling</a>
+
  </li>
<div class="dropdown-content">
+
<a href="https://2018.igem.org/Team:Newcastle/Model/Pathway/Main">Pathway</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Modelling/Community">Community</a>
+
 
+
</div>
+
</li>
+
+
                    <li class="dropdown"><a href="https://2018.igem.org/Team:Newcastle/Team" class="dropbtn" title="team">Team</a>
+
<div class="dropdown-content">
+
<a href="https://2018.igem.org/Team:Newcastle/Team">Team</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Collaborations">Collaborations</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Attributions">Attributions</a>
+
</div>
+
</li>
+
+
  
                    <li class="dropdown"><a href="https://2018.igem.org/Team:Newcastle/Hardware" class="dropbtn" title="Hardware">Hardware</a>
+
  <li class="navbar_li"><a href="#">Modelling</a>
<div class="dropdown-content">
+
      <div class="navbar_dropdown_content">
<a href="https://2018.igem.org/Team:Newcastle/Hardware">Overview</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Model">Modelling Overview</a>
<a href="https://2018.igem.org/Team:Newcastle/Circuitry">Circuitry</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Modelling/Community">Microbial Community Modelling</a>
<a href="https://2018.igem.org/Team:Newcastle/Code">Code</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Naringenin_Pathway">Naringenin Pathway</a>
<a href="https://2018.igem.org/Team:Newcastle/Results">Results</a>
+
      </div>
<a href="https://2018.igem.org/Team:Newcastle/Developments">Developments</a>
+
  </li>
</div>
+
  
</li>     
+
  <li class="navbar_li"><a href="#">Measurement</a>
             
+
      <div class="navbar_dropdown_content">
                    <li class="dropdown HP"><a href="https://2018.igem.org/Team:Newcastle/Human_Practices" class="dropbtn" title="human practices">Human Practices</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/InterLab">InterLab Study</a>
<div class="dropdown-content">
+
          <a href="https://2018.igem.org/Team:Newcastle/Measurement">Measurement, Automation & Reproducibility</a>
<a href="https://2018.igem.org/Team:Newcastle/Human_Practices">Human Practices</a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Measurement/Methods">Materials and Methods</a>
<a href="https://2018.igem.org/Team:Newcastle/Public_Engagement">Outreach</a>
+
      </div>
</div>
+
  </li>
</li>                   
+
                    <li class="dropdown"><a href="javascript:void(0)" class="dropbtn" title="awards">Judging</a>
+
<div class="dropdown-content">
+
<a href="https://2018.igem.org/Team:Newcastle/Medals">Medals</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Hardware">Hardware</a>
+
<a href="https://2018.igem.org/Team:Newcastle/Measurement">Measurement</a>
+
</div>
+
</li>
+
</ul>   
+
                <p>Newcastle iGEM 2018</p>
+
   
+
             
+
  
            </div> <!-- end header-nav__content -->
+
  <li class="navbar_li"><a href="#">Team</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Team">Members</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Collaborations">Collaborations</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Attributions">Attributions</a>
 +
      </div>
 +
  </li>
  
        </nav> <!-- end header-nav -->
+
  <li class="navbar_li"><a href="https://2018.igem.org/Team:Newcastle/Notebook">Notebook</a></li>
  
        <a class="header-menu-toggle" href="#0">
+
  <li class="navbar_li"><a href="#">Judging</a>
            <span class="header-menu-text">Menu</span>
+
      <div class="navbar_dropdown_content">
            <span class="header-menu-icon"></span>
+
          <a href="https://2018.igem.org/Team:Newcastle/Medals">Medals</a>
        </a>
+
          <a href="https://2018.igem.org/Team:Newcastle/Improve">Improve</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Demonstrate">Demonstrate</a>
 +
      </div>
 +
  </li>
 +
 
 +
</ul>
  
    </header> <!-- end s-header -->
+
<div id="expand_btn"><button class="toggle" onclick="myFunction()">Hide/Show</button></div>
  
 +
</div>
  
    <!-- preloader
 
    ==================================================
 
    <div id="preloader">
 
        <div id="loader">
 
            <div class="line-scale-pulse-out">
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
            </div>
 
        </div>
 
    </div> -->
 
 
      
 
      
 
</body>
 
</body>
  
 
</html>
 
</html>

Latest revision as of 22:32, 17 October 2018