Making things look a little nicer hopefully
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user