SiteWebAstrolabe/src/scss/components/_site-head.scss

71 lines
1.1 KiB
SCSS
Raw Normal View History

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