Difference between revisions of "Template:Team:William and Mary/HEADER3"

Line 156: Line 156:
  
  
/* Style the links inside the sidenav */
 
 
#mySidenav a {
 
#mySidenav a {
     position: absolute; /* Position them relative to the browser window */
+
     position: absolute;
     left: -80px; /* Position them outside of the screen */
+
     left: -80px;
     transition: 0.3s; /* Add transition on hover */
+
     transition: 0.3s;
     padding: 15px; /* 15px padding */
+
     padding: 15px;
     width: 100px; /* Set a specific width */
+
     width: 100px;
     text-decoration: none; /* Remove underline */
+
     text-decoration: none;
     font-size: 20px; /* Increase font size */
+
     font-size: 20px;
     color: white; /* White text color */
+
     color: white;
     border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
+
     border-radius: 0 5px 5px 0;
 
}
 
}
  
 
#mySidenav a:hover {
 
#mySidenav a:hover {
     left: 0; /* On mouse-over, make the elements appear as they should */
+
     left: 0;
 
}
 
}
  
/* The about link: 20px from the top with a green background */
 
 
#about {
 
#about {
 
     top: 20px;
 
     top: 20px;
Line 181: Line 179:
 
#blog {
 
#blog {
 
     top: 80px;
 
     top: 80px;
     background-color: #2196F3; /* Blue */
+
     background-color: #2196F3;
 
}
 
}
  
 
#projects {
 
#projects {
 
     top: 140px;
 
     top: 140px;
     background-color: #f44336; /* Red */
+
     background-color: #f44336;
 
}
 
}
  
 
#contact {
 
#contact {
 
     top: 200px;
 
     top: 200px;
     background-color: #555 /* Light Black */
+
     background-color: #555
 
}
 
}
  

Revision as of 21:13, 1 August 2017