Difference between revisions of "Template:UNSW Australia/Navbar"

Line 14: Line 14:
 
<div class="main-menu">
 
<div class="main-menu">
 
<button id="project" class="dropbutton">Project</button>
 
<button id="project" class="dropbutton">Project</button>
<div id="project-sub" class="sub-menu">
+
<div id="project-sub">
<a href="https://2018.igem.org/Team:UNSW_Australia/Description">Description</a>
+
<a href="https://2018.igem.org/Team:UNSW_Australia/Description" class="sub-menu-a">Description</a>
<a href="https://2018.igem.org/Team:UNSW_Australia/Design">Design</a>
+
<a href="https://2018.igem.org/Team:UNSW_Australia/Design" class="sub-menu-a">Design</a>
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Experiments">Experiments</a>
+
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Experiments"class="sub-menu-a">Experiments</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab" class="submenu-header">Lab Work</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab" class="submenu-header">Lab Work</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Cloning" class="submenu-sub submenu-sub-first">Cloning</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Cloning" class="submenu-sub submenu-sub-first">Cloning</a>
Line 25: Line 25:
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Assays" class="submenu-sub">Assays</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Assays" class="submenu-sub">Assays</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Plants" class="submenu-sub submenu-sub-last">Plants</a>
 
                 <a href="https://2018.igem.org/Team:UNSW_Australia/Lab/Plants" class="submenu-sub submenu-sub-last">Plants</a>
<a href="https://2018.igem.org/Team:UNSW_Australia/Results">Results</a>
+
<a href="https://2018.igem.org/Team:UNSW_Australia/Results" class="sub-menu-a">Results</a>
                 <a href="https://2018.igem.org/Team:UNSW_Australia/InterLab">Interlab</a>
+
                 <a href="https://2018.igem.org/Team:UNSW_Australia/InterLab" class="sub-menu-a">Interlab</a>
 
</div>
 
</div>
 
</div>
 
</div>
Line 264: Line 264:
  
 
.sub-menu a {
 
.sub-menu a {
 +
padding: 5px 10px;
 +
clear: both;
 +
display: block;
 +
background-color: #f0f0f0;
 +
width: 200px !important;
 +
margin: 0px;
 +
text-decoration: none;
 +
}
 +
 +
.sub-menu-a {
 
padding: 5px 10px;
 
padding: 5px 10px;
 
clear: both;
 
clear: both;

Revision as of 01:34, 15 October 2018