mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-28 02:30:28 -04:00
46 lines
615 B
CSS
46 lines
615 B
CSS
.menu {
|
|
display: inline-flex;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.link {
|
|
list-style: none;
|
|
display: inline-flex;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.icon {
|
|
width: 1.25em;
|
|
height: 1.25em;
|
|
vertical-align: -0.3em;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.menu {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.link {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.icon {
|
|
width: 1.8em;
|
|
height: 1.8em;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 380px) {
|
|
.menu {
|
|
margin-left: 1.4em;
|
|
}
|
|
|
|
/* the home icon is redundant when space is SUPER tight */
|
|
.link:first-of-type {
|
|
display: none;
|
|
}
|
|
}
|