SiteWebAstrolabe/src/scss/components/_site-head.scss
2020-07-19 22:55:29 +02:00

71 lines
1.1 KiB
SCSS

.site-head {
padding-top: 3rem;
padding-bottom: 1.5rem;
&__inner {
display: flex;
justify-content: space-between;
align-items: center;
}
&__site-name {
font-weight: 700;
text-decoration: none;
color: var(--color-text);
&:focus {
outline-color: var(--color-secondary);
}
+ .menu-toggle {
display: none;
}
}
}
@media (min-width: 768px) and (max-width: 1199.98px) {
.site-head {
&__inner {
display: block;
}
&__site-name {
display: inline-block;
margin: 0 auto;
}
}
}
@media (max-width: 767.98px) {
.site-head {
padding-top: 2rem;
&__inner {
display: flex;
flex-wrap: wrap;
}
&__site-name {
display: inline-block;
+ .menu-toggle {
display: inline-flex;
flex-direction: column;
align-items: center;
background-color: var(--color-white);
border: 0;
margin-left: auto;
padding-right: 0;
#icon-close {
display: none;
}
&:hover {
cursor: pointer;
}
}
}
}
}