Add labels & titles to contact links.
This commit is contained in:
parent
2d2778df9d
commit
a89419f3b9
|
@ -20,10 +20,19 @@
|
|||
background-color: var(--background-1);
|
||||
border: 2px solid var(--foreground-1);
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--foreground-1);
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: attr(data-label);
|
||||
font-size: 50%;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,13 @@
|
|||
|
||||
<main class="page-main">
|
||||
<div class="contact-links">
|
||||
<a target="_blank" href="mailto:me@bauke.xyz">
|
||||
<a target="_blank" href="mailto:me@bauke.xyz" title="Email"
|
||||
data-label="email">
|
||||
me@bauke.xyz
|
||||
</a>
|
||||
|
||||
<a target="_blank" href="https://matrix.to/#/@baukexyz:matrix.org">
|
||||
<a target="_blank" href="https://matrix.to/#/@baukexyz:matrix.org"
|
||||
title="Matrix Username" data-label="matrix">
|
||||
@baukexyz:matrix.org
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue