mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:28:27 -04:00
37 lines
508 B
CSS
37 lines
508 B
CSS
.menu {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.item {
|
|
display: block;
|
|
margin-left: 1em;
|
|
list-style: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.menu {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.item {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 380px) {
|
|
.menu {
|
|
margin-left: 1.4em;
|
|
}
|
|
|
|
/* the home icon is kinda redundant when space is SUPER tight */
|
|
.item:first-of-type {
|
|
display: none;
|
|
}
|
|
}
|