Difference between revisions of "Template:UIUC Illinois STYLE2"

Line 3: Line 3:
  
  
/* Add a black background color to the top navigation */
 
.topnav {
 
    background-color: #333;
 
    overflow: hidden;
 
    left:0;
 
    right:0;
 
    top:0;
 
    padding-right: 15px;
 
    clear:both;
 
}
 
  
/* Style the links inside the navigation bar */
 
.topnav a {
 
    float:left;
 
    display: block;
 
    color: #f2f2f2;
 
    text-align: center;
 
    padding: 14px 16px;
 
    text-decoration: none;
 
    font-size: 17px;
 
}
 
 
/* Change the color of links on hover */
 
.topnav a:hover {
 
    background-color: #ddd;
 
    color: black;
 
}
 
 
/* Hide the link that should open and close the topnav on small screens */
 
.topnav .icon {
 
    display: none;
 
}
 
  
  

Revision as of 19:23, 24 July 2017