1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 09:05:22 -04:00
jarv.is/components/Menu/Menu.module.css
Jake Jarvis 283eb62446
less corny header and note meta icons (#746)
* less corny header and note meta icons

* swap out more twemojis

* indicate active page in nav bar

* update favicons

* extract `<MenuLink />` into its own component

* change hover effect to an underline

* cropped header photo
2022-01-27 10:06:26 -05:00

45 lines
626 B
CSS

.menu {
display: inline-flex;
padding: 0;
margin: 0;
}
.menu_item {
list-style: none;
display: inline-flex;
margin-left: 1em;
}
.menu_item .icon {
width: 1.25em;
height: 1.25em;
}
@media screen and (max-width: 768px) {
.menu {
width: 100%;
justify-content: space-between;
margin-left: 1em;
}
.menu_item {
margin-left: 0;
}
.menu_item .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 */
.menu_item:first-of-type {
display: none;
}
}