Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
erinnmclaughlin committed Nov 24, 2023
1 parent dafe018 commit 8f1bdae
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 109 deletions.
2 changes: 0 additions & 2 deletions PersonalWebsite/Components/ZZZ.razor

This file was deleted.

102 changes: 0 additions & 102 deletions PersonalWebsite/Components/ZZZ.razor.css

This file was deleted.

3 changes: 2 additions & 1 deletion PersonalWebsite/Layout/WomanWithCat.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div class="cat-container">
<div class="snoring-container">
<ZZZ />
<div class="z">z</div>
<div class="zz">z</div>
</div>
<lottie-player src="lottie/cat_sleeping.json" background="transparent" speed="1" loop autoplay></lottie-player>
</div>
Expand Down
107 changes: 105 additions & 2 deletions PersonalWebsite/Layout/WomanWithCat.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
height: 100px;
width: 100px;
right: 50px;
bottom: 50px;
bottom: 33px;
opacity: 0.6;
}

Expand All @@ -31,4 +31,107 @@
.cat-container {
margin-right: 200px;
}
}
}

/* zzz animations from CodePen: https://codepen.io/gorenburg/pen/MWwmLYM */

.z {
position: absolute;
bottom: 50%;
right: 10%;
animation-name: zzz;
animation-duration: 4s;
animation-delay: 0;
animation-iteration-count: infinite;
animation-timing-function: linear;
}

.zz {
opacity: 0;
position: absolute;
bottom: 50%;
right: 10%;
animation-name: zzz-2;
animation-duration: 4s;
animation-delay: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}

@keyframes zzz {
0% {
bottom: 50%;
right: 10%;
opacity: 0;
}

20% {
bottom: 65%;
right: 13%;
}

40% {
bottom: 80%;
right: 10%;
}

50% {
opacity: 1;
}

60% {
bottom: 95%;
right: 13%;
}

80% {
bottom: 110%;
right: 10%;
}

100% {
bottom: 125%;
right: 13%;
opacity: 0;
font-size: 20px;
}
}

@keyframes zzz-2 {
0% {
bottom: 50%;
right: 0;
opacity: 0;
}

20% {
bottom: 65%;
right: 3%;
}

40% {
bottom: 80%;
right: 0;
}

50% {
opacity: 1;
}

60% {
bottom: 95%;
right: 3%;
}

80% {
bottom: 110%;
right: 0;
}

100% {
bottom: 125%;
right: 3%;
opacity: 0;
font-size: 20px;
}
}
2 changes: 0 additions & 2 deletions PersonalWebsite/Pages/Index.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@page "/"



<StartupProgram />

0 comments on commit 8f1bdae

Please sign in to comment.