Add share

This commit is contained in:
Fundor333
2025-08-22 23:35:06 +02:00
parent d7bfe0cc23
commit b7c5abdcd5
7 changed files with 75 additions and 26 deletions

View File

@@ -8,3 +8,4 @@
@import "mastodon";
@import "link";
@import "weeknote";
@import "share-button";

View File

@@ -0,0 +1,43 @@
$color_1: #fff;
$background-color_1: #0c9;
share-button {
position: fixed;
width: 60px;
height: 60px;
bottom: 40px;
left: 40px;
color: $color_1;
background-color: $background-color_1;
border-radius: 50px;
text-align: center;
button {
background-color: transparent;
border: none;
margin: 0;
padding: 0;
text-align: inherit;
font: inherit;
border-radius: 0;
appearance: none;
}
&:not(:defined) {
button {
display: none;
}
display: none;
}
&:defined {
a {
display: none;
}
display: none;
}
}
.my-float {
margin-top: 22px;
}