mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 20:08:29 -04:00
37 lines
560 B
CSS
37 lines
560 B
CSS
.link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: var(--medium-dark);
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
padding: 0.6em;
|
|
}
|
|
|
|
.link:hover,
|
|
.link.current {
|
|
border-bottom: 0.2em solid;
|
|
margin-bottom: -0.2em;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|