minor cosmetic changes in the nav

This commit is contained in:
cnachtigall1991
2021-10-08 17:02:29 +02:00
parent aa0aef9483
commit 3c0e2108a4

View File

@@ -113,13 +113,15 @@ nav {
li { li {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: lighter; font-weight: lighter;
margin: 15px 5px 0 5px; margin: 22px 10px 0 10px;
cursor: pointer; cursor: pointer;
transition: 100ms ease-in-out; transition: 100ms ease-in-out;
&:first-child { &:first-child {
font-size: 1.5rem; font-size: 2rem;
font-weight: bold; font-weight: bold;
margin-top: 17px;
margin-left: 0;
} }
&:hover { &:hover {
@@ -162,36 +164,50 @@ nav {
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
nav { nav {
button {
outline: 1px solid var(--bs-primary);
&:focus {
box-shadow: none;
outline: 1px solid var(--bs-primary);
}
}
.navbar-collapse { .navbar-collapse {
background: var(--bs-secondary); background: var(--bs-secondary);
border-radius: 5px;
border: 1px solid var(--bs-primary)
} }
ul { #mainNav {
display: flex;
flex-direction: column;
text-align: center;
width: 100%;
li { ul {
line-height: 1; display: flex;
padding: 0 0 20px 0; flex-direction: column;
border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center;
}
}
form {
label {
display: none;
}
input[type="search"] {
margin-bottom: 15px;
width: 100%; width: 100%;
li {
line-height: 1;
padding: 0 0 20px 0;
border-bottom: 1px solid rgba(255, 255, 255, .1);
}
} }
button { form {
display: block; label {
margin-top: -15px; display: none;
}
input[type="search"] {
margin-bottom: 15px;
width: 100%;
}
button {
display: block;
margin-top: -15px;
}
} }
} }
} }