Better navbar styling support

This commit is contained in:
2022-02-03 15:34:15 +02:00
parent b46b283bf2
commit b5dcc44ecb
7 changed files with 67 additions and 24 deletions

View File

View File

@@ -0,0 +1,35 @@
ul {
list-style-type: none;
margin: 2px;
padding: 0;
overflow: hidden;
background-color: #333;
border-radius: 25px;
float: center;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 15px 35px;
text-decoration: none;
font-size: 3.0vmin;
}
@media only screen and (max-width: 1000px) {
li a {
display: block;
color: white;
text-align: center;
padding: 15px 35px;
text-decoration: none;
font-size: 3.0vmax;
}
}
.active li a {
background-color: #04AA6D;
}