1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 11:35:32 -04:00

add actual text next to navigation emojis (#89)

This commit is contained in:
2020-03-24 11:02:36 -04:00
committed by GitHub
parent 4a69557a1f
commit a37e749064
2 changed files with 27 additions and 8 deletions

View File

@@ -53,19 +53,27 @@ header {
list-style: none;
display: flex;
align-items: center;
font-size: 1.5em;
font-size: 1.2em;
line-height: 1;
li {
width: 2.5em;
text-align: right;
margin-left: 1.45em;
a {
display: inline-block;
color: $color-medium;
transition: transform 0.15s ease-in-out;
&:hover {
transform: scale(1.4);
transform: scale(1.15);
color: $color-links;
}
span.text {
font-size: 0.8em;
font-weight: 500;
margin-left: 0.55em;
}
}
}
@@ -95,7 +103,18 @@ header {
font-size: 1.7em;
li {
width: 2em;
margin-left: 1em;
a {
// hide text next to emojis on mobile
span.text {
display: none;
}
&:hover {
transform: scale(1.4);
}
}
}
}
}