DIDS-Coursework/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/nav.css

43 lines
652 B
CSS
Raw Permalink Normal View History

@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);
}
nav ul li.admin {
display: none;
}