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-15 23:08:49 +02:00
|
|
|
margin: auto 5px;
|
|
|
|
cursor: pointer;
|
2022-10-03 01:19:43 +02:00
|
|
|
|
2022-10-16 00:05:44 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 300px) {
|
|
|
|
.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-16 00:05:44 +02:00
|
|
|
.spacer {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.themeSwitch {
|
|
|
|
.lightTheme {
|
|
|
|
display: var(--blog_dark-el-display)
|
|
|
|
}
|
|
|
|
.darkTheme {
|
|
|
|
display: var(--blog_light-el-display)
|
2022-10-15 23:08:49 +02:00
|
|
|
}
|
2022-10-03 01:19:43 +02:00
|
|
|
}
|
|
|
|
}
|