mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-10 20:00:09 +02:00
77 lines
1.1 KiB
CSS
77 lines
1.1 KiB
CSS
.header {
|
|
padding: 0 calc(var(--spacer) / var(--line-height));
|
|
}
|
|
|
|
@media (min-width: 40rem) {
|
|
.header {
|
|
padding: 0 calc(var(--spacer) * 2);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 40rem) and (min-height: 500px) {
|
|
.header {
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 1;
|
|
top: 0;
|
|
border: 0;
|
|
will-change: transform;
|
|
}
|
|
}
|
|
|
|
.headerContent {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (min-width: 40rem) {
|
|
.headerContent {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
/* Logo
|
|
///////////////////////////////////// */
|
|
|
|
.title {
|
|
margin: 0;
|
|
}
|
|
|
|
.title a {
|
|
display: block;
|
|
font: 0/0 a;
|
|
color: transparent;
|
|
text-shadow: none;
|
|
background-color: transparent;
|
|
border: 0;
|
|
|
|
width: 60px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (min-width: 40rem) {
|
|
.title a {
|
|
width: 212px;
|
|
}
|
|
}
|
|
|
|
.title a:hover svg,
|
|
.title a:focus svg {
|
|
fill: var(--link-color);
|
|
}
|
|
|
|
.logo {
|
|
width: 191px;
|
|
height: 36px;
|
|
max-width: unset;
|
|
fill: var(--text-color-light);
|
|
margin: 0;
|
|
transition: 0.2s var(--easing);
|
|
}
|
|
|
|
.nav {
|
|
display: inline-block;
|
|
}
|