blob: 23583b7e92e91f1a7cdbcbca383e2a8164ce9247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* Add a black background color to the top navigation */
nav {
display: block;
background-color: #333;
position: relative;
z-index: 10;
}
/* Style the links inside the navigation bar */
nav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
nav a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
nav a.active {
background-color: #4CAF50;
color: white;
}
|