Skip to content

Commit

Permalink
(CI) Run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 1, 2024
1 parent 2f7fc2a commit c934571
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 109 deletions.
143 changes: 71 additions & 72 deletions Art/jeffwiatt-GoldenStars/index.html
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Star Animation</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div id="main">
<div class="mainStar"></div>
<div class="starOuter">
<div class="starInner"></div>
</div>
<div class="starOuter" style="animation-delay: -.5s;">
<div class="starInner" style="animation-delay: -.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -1s;">
<div class="starInner" style="animation-delay: -1s;"></div>
</div>
<div class="starOuter" style="animation-delay: -1.5s;">
<div class="starInner" style="animation-delay: -1.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -2s;">
<div class="starInner" style="animation-delay: -2s;"></div>
</div>
<div class="starOuter" style="animation-delay: -2.5s;">
<div class="starInner" style="animation-delay: -2.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -3s;">
<div class="starInner" style="animation-delay: -3s;"></div>
</div>
<div class="starOuter" style="animation-delay: -3.5s;">
<div class="starInner" style="animation-delay: -3.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -4s;">
<div class="starInner" style="animation-delay: -4s;"></div>
</div>
<div class="starOuter" style="animation-delay: -4.5s;">
<div class="starInner" style="animation-delay: -4.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -5s;">
<div class="starInner" style="animation-delay: -5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -5.5s;">
<div class="starInner" style="animation-delay: -5.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -6s;">
<div class="starInner" style="animation-delay: -6s;"></div>
</div>
<div class="starOuter" style="animation-delay: -6.5s;">
<div class="starInner" style="animation-delay: -6.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -7s;">
<div class="starInner" style="animation-delay: -7s;"></div>
</div>
<div class="starOuter" style="animation-delay: -7.5s;">
<div class="starInner" style="animation-delay: -7.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -8s;">
<div class="starInner" style="animation-delay: -8s;"></div>
</div>
<div class="starOuter" style="animation-delay: -8.5s;">
<div class="starInner" style="animation-delay: -8.5s;"></div>
</div>
<div class="starOuter" style="animation-delay: -9s;">
<div class="starInner" style="animation-delay: -9s;"></div>
</div>
<div class="starOuter" style="animation-delay: -9.5s;">
<div class="starInner" style="animation-delay: -9.5s;"></div>
</div>

</div>
</body>
</html>
<head>
<meta charset="UTF-8" />
<title>Star Animation</title>
<link href="styles.css" rel="stylesheet" />
</head>
<body>
<div id="main">
<div class="mainStar"></div>
<div class="starOuter">
<div class="starInner"></div>
</div>
<div class="starOuter" style="animation-delay: -0.5s">
<div class="starInner" style="animation-delay: -0.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -1s">
<div class="starInner" style="animation-delay: -1s"></div>
</div>
<div class="starOuter" style="animation-delay: -1.5s">
<div class="starInner" style="animation-delay: -1.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -2s">
<div class="starInner" style="animation-delay: -2s"></div>
</div>
<div class="starOuter" style="animation-delay: -2.5s">
<div class="starInner" style="animation-delay: -2.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -3s">
<div class="starInner" style="animation-delay: -3s"></div>
</div>
<div class="starOuter" style="animation-delay: -3.5s">
<div class="starInner" style="animation-delay: -3.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -4s">
<div class="starInner" style="animation-delay: -4s"></div>
</div>
<div class="starOuter" style="animation-delay: -4.5s">
<div class="starInner" style="animation-delay: -4.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -5s">
<div class="starInner" style="animation-delay: -5s"></div>
</div>
<div class="starOuter" style="animation-delay: -5.5s">
<div class="starInner" style="animation-delay: -5.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -6s">
<div class="starInner" style="animation-delay: -6s"></div>
</div>
<div class="starOuter" style="animation-delay: -6.5s">
<div class="starInner" style="animation-delay: -6.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -7s">
<div class="starInner" style="animation-delay: -7s"></div>
</div>
<div class="starOuter" style="animation-delay: -7.5s">
<div class="starInner" style="animation-delay: -7.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -8s">
<div class="starInner" style="animation-delay: -8s"></div>
</div>
<div class="starOuter" style="animation-delay: -8.5s">
<div class="starInner" style="animation-delay: -8.5s"></div>
</div>
<div class="starOuter" style="animation-delay: -9s">
<div class="starInner" style="animation-delay: -9s"></div>
</div>
<div class="starOuter" style="animation-delay: -9.5s">
<div class="starInner" style="animation-delay: -9.5s"></div>
</div>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion Art/jeffwiatt-GoldenStars/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"artName": "GoldenStars",
"githubHandle": "jeffwiatt"
}
}
76 changes: 40 additions & 36 deletions Art/jeffwiatt-GoldenStars/styles.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,60 @@
body {
background-color: #0f105e;
background-color: #0f105e;
}

#main {
position: absolute;
width: 500px;
height: 500px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
width: 500px;
height: 500px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.mainStar {
position: absolute;
top: 150px;
left: 150px;
width: 200px;
height: 200px;
aspect-ratio: 1;
background: #F8CA00;
clip-path: polygon(50% 0,79% 90%,2% 35%,98% 35%,21% 90%);
transform-origin: 50% 50%;
animation: spin-right 10s infinite linear;
position: absolute;
top: 150px;
left: 150px;
width: 200px;
height: 200px;
aspect-ratio: 1;
background: #f8ca00;
clip-path: polygon(50% 0, 79% 90%, 2% 35%, 98% 35%, 21% 90%);
transform-origin: 50% 50%;
animation: spin-right 10s infinite linear;
}

.starOuter {
position: absolute;
left: 225px;
top: 0;
width: 50px;
height: 50px;
transform-origin: 25px 250px;
animation: spin-left 10s infinite linear;
position: absolute;
left: 225px;
top: 0;
width: 50px;
height: 50px;
transform-origin: 25px 250px;
animation: spin-left 10s infinite linear;
}

.starInner {
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 50px;
aspect-ratio: 1;
background: #F8CA00;
clip-path: polygon(50% 0,79% 90%,2% 35%,98% 35%,21% 90%);
transform-origin: 50% 50%;
animation: spin-right 10s infinite linear;
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 50px;
aspect-ratio: 1;
background: #f8ca00;
clip-path: polygon(50% 0, 79% 90%, 2% 35%, 98% 35%, 21% 90%);
transform-origin: 50% 50%;
animation: spin-right 10s infinite linear;
}

@keyframes spin-right {
100% { transform: rotateZ( -360deg); }
100% {
transform: rotateZ(-360deg);
}
}

@keyframes spin-left {
100% { transform: rotateZ( 360deg); }
100% {
transform: rotateZ(360deg);
}
}

0 comments on commit c934571

Please sign in to comment.