Files
jarv.is/components/MenuLink/MenuLink.module.css
T
jakeandGitHub 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

36 lines
531 B
CSS

.link {
display: inline-flex;
align-items: center;
color: var(--medium-dark);
line-height: 1;
padding: 0.6em;
}
.link:hover,
.link.current {
border-bottom: 3px solid;
margin-bottom: -3px;
}
.link:hover {
border-color: var(--kinda-light);
}
.link.current {
border-color: var(--link-underline);
}
.label {
font-size: 0.95em;
font-weight: 500;
margin-top: 0.1em;
margin-left: 0.8em;
}
@media screen and (max-width: 768px) {
/* hide text next to emojis on mobile */
.label {
display: none;
}
}