added mastodon icon for top icon links as svg; added support for svg icons

This commit is contained in:
Gabriele Musco 2021-01-26 09:06:01 +01:00
parent f2e2af6f92
commit 282c64b62f
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
4 changed files with 20 additions and 2 deletions

View file

@ -203,6 +203,17 @@ h1, h2, h3, h4, h5, h6 {
color: $fg_color;
border-bottom: none;
position: relative;
width: 1em;
height: 1.2em;
display: inline-flex;
align-items: center;
justify-content: center;
.pseudofont {
fill: $fg_color;
display: inline;
position: relative;
top: 1px;
}
span {
position: absolute;
top: 1.5em;
@ -215,6 +226,9 @@ h1, h2, h3, h4, h5, h6 {
display: none;
}
&:hover {
.pseudofont {
fill: $accent_color;
}
color: $accent_color;
text-decoration: none;
border-bottom: none;