mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 16:05:33 -04:00
add actual text next to navigation emojis (#89)
This commit is contained in:
@@ -53,19 +53,27 @@ header {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1.5em;
|
font-size: 1.2em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
width: 2.5em;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
margin-left: 1.45em;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
color: $color-medium;
|
||||||
transition: transform 0.15s ease-in-out;
|
transition: transform 0.15s ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&: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;
|
font-size: 1.7em;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
width: 2em;
|
margin-left: 1em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
// hide text next to emojis on mobile
|
||||||
|
span.text {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: scale(1.4);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -5,10 +5,10 @@
|
|||||||
<h1 id="name">{{ .Site.Title }}</h1>
|
<h1 id="name">{{ .Site.Title }}</h1>
|
||||||
</a>
|
</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a class="no-underline" href="{{ .Site.BaseURL }}" title="Home">🏠</a></li>
|
<li><a class="no-underline" href="{{ .Site.BaseURL }}" title="Home"><span class="emoji">🏠</span><span class="text">Home</span></a></li>
|
||||||
<li><a class="no-underline" href="{{ "notes/" | absURL }}" title="Notes">📝</a></li>
|
<li><a class="no-underline" href="{{ "notes/" | absURL }}" title="Notes"><span class="emoji">📝</span><span class="text">Notes</span></a></li>
|
||||||
{{ with .Site.Author.github }}<li><a class="no-underline" href="https://github.com/{{ . }}" title="GitHub" target="_blank" rel="me noopener">👨‍💻</a></li>{{ end }}
|
{{ with .Site.Author.github }}<li><a class="no-underline" href="https://github.com/{{ . }}" title="GitHub" target="_blank" rel="me noopener"><span class="emoji">👨‍💻</span><span class="text">GitHub</span></a></li>{{ end }}
|
||||||
<li><a class="no-underline" href="mailto:jake@jarv.is" title="Email Me">💌</a></li>
|
<li><a class="no-underline" href="mailto:jake@jarv.is" title="Email Me"><span class="emoji">📬</span><span class="text">Email</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
Reference in New Issue
Block a user