Difference between revisions of "Template:Melbourne"

(Edit Font size and add border colour on navbar)
(Modifying the navbar)
Line 78: Line 78:
  
  
 +
.nav_text{
 +
font-size: 18px;
 +
width: 15%;
 +
margin-top: 20px;
 +
text-align: left;
 +
padding-left:25px;
 +
}
 +
 +
.nav_icon{
 +
padding-top: 10px;
 +
padding-bottom: 5px;
 +
padding-left:25px;
 +
}
  
  
Line 86: Line 99:
 
     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) */
    padding-left: 50px;
+
 
    font-size: 10px;
+
    border-left-color: white;
+
    border-right-color: white;
+
 
}
 
}
  
Line 97: Line 107:
 
     display: block;
 
     display: block;
 
     color: white;
 
     color: white;
    text-align: center;
 
    padding: 25px;
 
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
Line 562: Line 570:
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<div id="navbar">
 
<div id="navbar">
   <a href="#home">Home</a>
+
   <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="#news">Team</a>
+
  <a href="#home" class="nav_text">Home</a>
   <a href="#contact">Project</a>
+
   <a href="#home" class="nav_text">Team</a>
   <a href="#news">Parts</a>
+
   <a href="#home" class="nav_text">Project</a>
   <a href="#contact">Safety</a>
+
   <a href="#home" class="nav_text">Parts</a>
  <a href="#contact">Human Practices</a>
+
   <a href="#home" class="nav_text">Safety</a>
   <a href="#news">Awards</a>
+
<a href="#home" class="nav_text">Awards</a>
  <a href="#contact">Judging Form</a>
+
   <a href="#home" class="nav_text">Human Practices</a>
 +
<a href="#home" class="nav_text">Judging Form</a>
 +
 
 
</div>
 
</div>
  

Revision as of 14:31, 6 October 2018