Difference between revisions of "Template:Melbourne"

(Modifying the navbar)
 
(45 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<script>
 
<script>
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 +
 +
 +
  
 
// When the user scrolls down 20px from the top of the document, slide down the navbar
 
// When the user scrolls down 20px from the top of the document, slide down the navbar
Line 80: Line 83:
 
.nav_text{
 
.nav_text{
 
font-size: 18px;
 
font-size: 18px;
width: 15%;
+
margin-top: 10px;
margin-top: 20px;
+
padding-top: 35px;
text-align: left;
+
padding-bottom: 35px;
padding-left:25px;
+
 
}
 
}
  
.nav_icon{
+
.nav_icon {
 
padding-top: 10px;
 
padding-top: 10px;
 
padding-bottom: 5px;
 
padding-bottom: 5px;
padding-left:25px;
 
 
}
 
}
 +
  
  
Line 99: Line 101:
 
     width: 100%; /* Full width */
 
     width: 100%; /* Full width */
 
     transition: top 0.3s; /* Transition effect when sliding down (and up) */
 
     transition: top 0.3s; /* Transition effect when sliding down (and up) */
 
 
}
 
}
  
Line 108: Line 109:
 
     color: white;
 
     color: white;
 
     text-decoration: none;
 
     text-decoration: none;
 +
width: 20%;
 +
text-align: center;
 +
 
}
 
}
  
Line 114: Line 118:
 
     color: black;
 
     color: black;
 
}
 
}
 +
 +
 +
 +
 +
 +
  
  
Line 569: Line 579:
 
<!--- Menu --->
 
<!--- Menu --->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
 +
 
<div id="navbar">
 
<div id="navbar">
  <a href="#home" class="nav_icon"><img src="http://www.ampc.ms.unimelb.edu.au/srg/index_files/UOM.png" width="115px", height="95px"></a>
+
 
  <a href="#home" class="nav_text">Home</a>
+
 
   <a href="#home" class="nav_text">Team</a>
+
 
  <a href="#home" class="nav_text">Project</a>
+
 
  <a href="#home" class="nav_text">Parts</a>
+
<a href="https://2018.igem.org/Team:Melbourne" class="nav_item, nav_text">Home</a>
  <a href="#home" class="nav_text">Safety</a>
+
   <a href="https://2018.igem.org/Team:Melbourne/Team" class="nav_item, nav_text">Team</a>
<a href="#home" class="nav_text">Awards</a>
+
<a href="https://igem.org/2018_Judging_Form?team=Melbourne" class="nav_item, nav_icon">
   <a href="#home" class="nav_text">Human Practices</a>
+
<img src="http://www.ampc.ms.unimelb.edu.au/srg/index_files/UOM.png" width="115px", height="95px">
<a href="#home" class="nav_text">Judging Form</a>
+
</a>
 +
   <a href="https://2018.igem.org/Team:Melbourne/Project" class="nav_item, nav_text">Project</a>
 +
  <a href="https://2018.igem.org/Team:Melbourne/Experiment" class="nav_item, nav_text">Experiment</a>
 +
 
 +
 
  
 
</div>
 
</div>
Line 587: Line 603:
 
<!--- Content of the page  --->
 
<!--- Content of the page  --->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
 
<div class="igem_2018_team_content">
 
<div class="igem_2018_team_column_wrapper">
 
<div class="clear extra_space"></div>
 
<div class="clear extra_space"></div>
 

Latest revision as of 13:15, 17 October 2018