Difference between revisions of "Template:Navbar"

Line 11: Line 11:
  
 
body {margin:0;}
 
body {margin:0;}
 
.navbar {
 
  overflow: hidden;
 
  background-color: #333;
 
  position: fixed;
 
  top: 0;
 
  width: 100%;
 
}
 
 
.navbar a {
 
  float: left;
 
  display: block;
 
  color: #f2f2f2;
 
  text-align: center;
 
  padding: 14px 16px;
 
  text-decoration: none;
 
  font-size: 17px;
 
}
 
 
.main {
 
  padding: 16px;
 
  margin-top: 30px;
 
  height: 1500px; /* Used in this example to enable scrolling */
 
}
 
  
  
Line 41: Line 17:
 
     background-color: purple;
 
     background-color: purple;
 
     font-family: Arial;
 
     font-family: Arial;
 +
    overflow: hidden;
 +
  position: fixed;
 +
  top: 0;
 +
  width: 100%;
 
        
 
        
 
}
 
}

Revision as of 19:23, 8 August 2017

Northwestern Template