2022-10-03 01:19:43 +02:00
|
|
|
.navigation {
|
2022-10-16 00:05:44 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
2022-10-03 01:19:43 +02:00
|
|
|
max-width: 1000px;
|
2022-10-16 00:05:44 +02:00
|
|
|
/*min-width: 300px;*/
|
2022-10-15 23:08:49 +02:00
|
|
|
position: relative;
|
|
|
|
height: calc(1em + 40px);
|
|
|
|
|
2022-10-03 01:19:43 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
2022-10-15 23:08:49 +02:00
|
|
|
|
2022-10-03 01:19:43 +02:00
|
|
|
font-size: 120%;
|
2022-10-15 23:08:49 +02:00
|
|
|
/* height / 2 */
|
2022-10-03 01:19:43 +02:00
|
|
|
border-radius: calc((1em + 40px) / 2);
|
2022-10-15 23:08:49 +02:00
|
|
|
border: 1px solid var(--blog_nav-border);
|
|
|
|
background: var(--blog_nav-background);
|
|
|
|
backdrop-filter: blur(var(--blog_content-blur));
|
|
|
|
box-shadow: 0px 2px 5px gray;
|
2022-10-03 01:19:43 +02:00
|
|
|
|
2022-10-16 00:05:44 +02:00
|
|
|
.imgContainer {
|
|
|
|
align-self: flex-start;
|
2022-10-15 23:08:49 +02:00
|
|
|
margin-top: -10px;
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
2022-10-16 00:05:44 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
height: calc(1em + 40px - 20px);
|
2022-10-15 23:08:49 +02:00
|
|
|
}
|
2022-10-03 01:19:43 +02:00
|
|
|
|
2022-10-15 23:08:49 +02:00
|
|
|
.navLink {
|
2022-10-16 00:05:44 +02:00
|
|
|
transition: text-decoration 0.3s ease-in-out;
|
|
|
|
display: block;
|
2022-10-18 17:09:03 +02:00
|
|
|
margin-right: 10px;
|
2022-10-15 23:08:49 +02:00
|
|
|
cursor: pointer;
|
2022-10-03 01:19:43 +02:00
|
|
|
|
2022-10-16 00:05:44 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-16 19:56:31 +02:00
|
|
|
.navIcon {
|
|
|
|
margin-right: 15px;
|
2022-10-18 17:09:03 +02:00
|
|
|
height: 1.8em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navLink .linkIcon {
|
2022-10-16 19:56:31 +02:00
|
|
|
cursor: pointer;
|
2022-10-18 17:09:03 +02:00
|
|
|
height: 1.8em;
|
2022-10-16 19:56:31 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2022-10-18 17:09:03 +02:00
|
|
|
.navLink {
|
|
|
|
.linkText {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.linkIcon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 450px) {
|
2022-10-16 00:05:44 +02:00
|
|
|
.imgContainer {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.navLink:nth-of-type(1) {
|
2022-10-15 23:08:49 +02:00
|
|
|
margin-left: calc((501 / 204) * (1em + 40px - 20px) + 15px);
|
|
|
|
}
|
2022-10-16 00:05:44 +02:00
|
|
|
}
|
2022-10-03 01:19:43 +02:00
|
|
|
|
2022-10-18 17:09:03 +02:00
|
|
|
@media screen and (min-width: 350px) {
|
|
|
|
.navLink {
|
|
|
|
.linkText {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.linkIcon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-16 00:05:44 +02:00
|
|
|
.spacer {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
2022-10-03 01:19:43 +02:00
|
|
|
}
|