Skip to content

Commit

Permalink
have some fun with bootlegger logo
Browse files Browse the repository at this point in the history
  • Loading branch information
catskull committed Jun 9, 2024
1 parent 2538ce2 commit 21af9b7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<li><a href="/feed.xml">atom</a></li>
</ul>
</nav>
<img onclick="this.style.display='none'" src="/assets/img/bootlegger.png" aria-hidden="true" id="spinner">
<img onclick="this.classList.length ? this.style.display='none' : this.classList.add('explode')" src="/assets/img/bootlegger.png" aria-hidden="true" id="spinner">
</footer>
38 changes: 34 additions & 4 deletions _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ footer {
padding-left: 0.5em;
padding-right: 0.5em;
border-top: 1px solid;
border-right: 1px solid;
border-radius: 0 10px 0 0;

nav > ul{
padding-inline-start: 0;
Expand Down Expand Up @@ -109,13 +111,41 @@ footer {
position: fixed;
bottom: 10px;
right: 10px;
width: 150px;
height: 150px;
animation: rotate 10s linear infinite;
@keyframes rotate {
to {
transform: rotate(360deg);
}
}

.explode {
animation: rotate 3s linear infinite, explode 10s forwards !important;
}

.explode:hover {
opacity: 25%;
animation: rotate 3s linear infinite, explode 10s forwards !important;
}

@keyframes explode {
from {
bottom: 10px;
right: 10px;
width: 150px;
height: 150px;
}
to {
bottom: calc(50% - 300px);
right: calc(50% - 300px);
width: 600px;
height: 600px;
}
}

@keyframes rotate {
to {
transform: rotate(360deg);
}
}


@import "mobile";
@import "theme";

0 comments on commit 21af9b7

Please sign in to comment.