DIDS-Coursework/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/nav.css
2022-12-09 04:51:56 +00:00

39 lines
612 B
CSS

@import "template.css";
nav {
background-color: var(--primary);
}
nav ul {
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin: 0;
padding: 1.5em 1em;
}
nav ul li {
padding: 0 1em;
}
nav ul li a {
color: #FFFFFF;
text-decoration: none;
}
nav ul li a.active, nav ul li a:hover {
padding: 1.5em 1.75em;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
nav ul li a:hover {
background: var(--mutedBlack);
}
nav ul li a.active {
background-color: var(--hover);
}