blog/themes/hello-friend/assets/css/header.scss

40 lines
620 B
SCSS
Raw Normal View History

2023-06-11 11:34:59 +02:00
.header {
background: var(--header);
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 20px;
&__right {
display: flex;
flex-direction: row;
align-items: center;
@media ($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;
}