Making things look a little nicer hopefully

This commit is contained in:
William Miceli
2019-12-03 05:44:33 -05:00
parent a71ea11075
commit e8a40fc89b
2 changed files with 26 additions and 20 deletions

View File

@@ -1,24 +1,26 @@
/* Add a black background color to the top navigation */
.topnav {
background-color: #333;
.topNavBar ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
position: fixed;
top: 0px;
width: 100%;
}
/* Style the links inside the navigation bar */
.topnav a {
.topNavBar li {
float: left;
color: #f2f2f2;
}
.topNavBar li a {
display: block;
color: white;
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;
.topNavBar li a:hover {
background-color: #111;
}
/* Add a color to the active/current link */
.topnav a.active {
.topNavBar .active {
background-color: #4CAF50;
color: white;
}