Skip to content

Commit

Permalink
link to gh
Browse files Browse the repository at this point in the history
  • Loading branch information
MixelTe committed Dec 31, 2023
1 parent 534a758 commit 9f3f0ad
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
7 changes: 7 additions & 0 deletions wwwroot/imgs/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
<span>Пуск!</span>
</button>
</div>
<a class="btn-gh" href="https://github.com/MixelTe/fireworks" target="_blank">
<img src="./imgs/github.svg" alt="Github">
</a>
</div>
</body>

Expand Down
23 changes: 22 additions & 1 deletion wwwroot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,25 @@ canvas {
position: fixed;
z-index: 10;
pointer-events: none;
}
}

.btn-gh {
position: fixed;
left: min(1rem, 2vw);
bottom: min(1rem, 2vw);
padding: 0;
cursor: pointer;
transition: opacity 750ms 2.5s;
opacity: 0.5;
}
.btn-gh img {
width: min(2.2rem, 8vw);
height: auto;
}
.hidden .btn-gh {
opacity: 0;
}
.hide .btn-gh {
transition-delay: 0s;
opacity: 0;
}

0 comments on commit 9f3f0ad

Please sign in to comment.