hugo-theme-hello-amigo/assets/scss/_header.scss

44 lines
713 B
SCSS
Raw Normal View History

2019-07-25 21:13:27 +00:00
.header {
background: $light-background-secondary;
2019-07-25 21:13:27 +00:00
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 20px;
.dark-theme & {
2019-07-25 21:19:26 +00:00
background: $dark-background-secondary;
2019-07-25 21:13:27 +00:00
}
&__right {
display: flex;
flex-direction: row;
align-items: center;
@media #{$media-size-phone} {
flex-direction: row-reverse;
}
}
&__inner {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
width: 760px;
max-width: 100%;
}
}
.theme-toggle {
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
cursor: pointer;
}
.theme-toggler {
fill: currentColor;
}