website/assets/partials/_nav.scss

45 lines
824 B
SCSS
Raw Normal View History

2020-09-14 16:24:02 +02:00
nav {
background: rgb(60, 60, 90);
2020-09-21 10:59:52 +02:00
white-space: nowrap;
overflow-x: auto;
2020-09-14 16:24:02 +02:00
.container {
display: flex;
align-items: center;
2020-09-21 10:59:52 +02:00
.website-name {
2020-09-14 16:24:02 +02:00
a {
color: rgb(245, 245, 245);
text-decoration: none;
background: rgb(255, 130, 130);
padding: 5px 10px;
border-radius: 20px;
text-shadow: rgb(255, 100, 100) 2px 2px;
}
}
.website-nav {
margin-left: auto;
ul {
display: flex;
padding: 0;
}
li {
list-style-type: none;
2020-09-21 10:59:52 +02:00
padding: 10px 0 10px 30px;
2020-09-14 16:24:02 +02:00
}
a {
color: rgb(245, 245, 245);
text-decoration: none;
}
}
}
}
2020-09-21 10:59:52 +02:00
@media (max-width: 600px) {
nav {
.container {
max-width: none;
2020-09-21 10:59:52 +02:00
.website-nav {
padding: 0 20px;
}
}
}
}