Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.2 KiB

4 years ago
.menu {
background: #fafafa;
border-right: 1px solid;
margin-right: 18px;
z-index: 9999;
4 years ago
.dark-theme & {
background: #252627;
4 years ago
}
@media #{$media-size-phone} {
position: absolute;
top: 50px;
right: 0;
border: none;
4 years ago
margin: 0;
padding: 10px;
4 years ago
}
&__inner {
display: flex;
align-items: center;
justify-content: flex-start;
max-width: 100%;
margin: 0 auto;
padding: 0 15px;
font-size: 1rem;
list-style: none;
li {
margin: 0 12px;
}
4 years ago
@media #{$media-size-phone} {
flex-direction: column;
align-items: flex-start;
padding: 0;
4 years ago
li {
margin: 0;
padding: 5px;
}
}
4 years ago
}
&-trigger {
width: 24px;
height: 24px;
fill: currentColor;
margin-left: 10px;
cursor: pointer;
}
a {
display: inline-block;
margin-right: 15px;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&:last-of-type {
margin-right: 0;
}
4 years ago
}
}