Added hover effects and setting apart of the current page in the navbar
parent
4218eccb11
commit
2170facb22
|
@ -26,6 +26,7 @@ nav li {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li a {
|
nav li a {
|
||||||
|
transition: background-color 1s;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #a52a2a;
|
background-color: #a52a2a;
|
||||||
|
@ -35,6 +36,18 @@ nav li a {
|
||||||
font-family: "M PLUS 1", sans-serif;
|
font-family: "M PLUS 1", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav li a:hover {
|
||||||
|
background-color: #d2691e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.current {
|
||||||
|
background-color: #ff8f61;
|
||||||
|
}
|
||||||
|
|
||||||
|
.current:hover {
|
||||||
|
background-color: #ee6e40;
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
Loading…
Reference in New Issue