1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Optimize the tooltip position of sharing icons.

This commit is contained in:
Cotes Chung
2020-02-29 21:51:18 +08:00
parent 0425b1058f
commit 01fe877ebb
2 changed files with 19 additions and 11 deletions

View File

@@ -216,16 +216,24 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
.share-wrapper {
vertical-align: middle;
user-select: none;
.share-icon {
.share-icons {
font-size: 1.2rem;
a:hover {
text-decoration: none;
>i {
@extend %btn-share-hovor;
a {
&:not(:last-child) {
margin-right: .25rem;
}
&:hover {
text-decoration: none;
>i {
@extend %btn-share-hovor;
}
}
}
i:hover {
@extend %btn-share-hovor;
>i {
padding-top: .35rem;
&:hover {
@extend %btn-share-hovor;
}
}
.fab {
&.fa-twitter {
@@ -242,7 +250,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
}
}
} // .share-icon
} // .share-icons
.fas.fa-link {
@include btn-sharing-color(rgb(171, 171, 171));