Files
WEBSITE_hugulumu/styles/elements/nav.css

31 lines
446 B
CSS

nav {
display: flex;
flex-direction: row;
justify-content: center;
position: sticky;
top: 0;
background-color: #f6f6f6;
z-index: 1;
width: 100vw;
font-size: min(4vw, 1.5rem);
}
nav a {
position: relative;
padding: 10px min(5%, 20px);
height: fit-content;
text-decoration: none;
color: inherit;
}
nav a:before {
content: "•";
position: absolute;
left: 0px;
}
nav a:after {
content: "•";
position: absolute;
right: 0px;
}