mirror of
https://git.theinfopunk.com/punk/thewwwdotcom-blog.git
synced 2026-05-13 11:39:16 -04:00
41 lines
721 B
SCSS
41 lines
721 B
SCSS
.navbar-burger {
|
|
cursor: pointer;
|
|
display: block;
|
|
height: 3.25rem;
|
|
position: relative;
|
|
width: 3.25rem;
|
|
margin-left: auto;
|
|
padding: 6px;
|
|
&__line {
|
|
display: block;
|
|
height: 1px;
|
|
left: calc(50% - 8px);
|
|
position: absolute;
|
|
transform-origin: center;
|
|
transition-duration: 86ms;
|
|
transition-property: background-color, opacity, transform;
|
|
transition-timing-function: ease-out;
|
|
width: 16px;
|
|
|
|
@include themed() {
|
|
background-color: t('primary');
|
|
}
|
|
|
|
&:nth-child(1) {
|
|
top: calc(50% - 6px);
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
top: calc(50% - 1px);
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
top: calc(50% + 4px);
|
|
}
|
|
}
|
|
|
|
@include desktop {
|
|
display: none;
|
|
}
|
|
}
|