Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding my art to ze project #2572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Art/BradXIII/Orbit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions Art/BradXIII/bxi-orbit-symphony.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body, html {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #0d0d0d;
}

.animation-container {
position: relative;
width: 300px;
height: 300px;
}

.center-dot {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
background-color: #61dafb;
border-radius: 50%;
transform: translate(-50%, -50%);
animation: moveCenterDot 2s linear infinite;
}

.orbit {
position: absolute;
top: 50%;
left: 50%;
width: 200px;
height: 200px;
border-radius: 50%;
border: 2px solid transparent;
border-top-color: #fff;
animation: spin 4s linear infinite;
}

.orbit1 {
animation-duration: 4s;
}

.orbit2 {
width: 150px;
height: 150px;
animation-duration: 6s;
}

.orbit3 {
width: 100px;
height: 100px;
animation-duration: 8s;
}

.counter-orbit1 {
animation: counterSpin 4s linear infinite;
animation-duration: 4s;
}

.counter-orbit2 {
width: 150px;
height: 150px;
animation: counterSpin 6s linear infinite;
animation-duration: 6s;
}

.counter-orbit3 {
width: 100px;
height: 100px;
animation: counterSpin 8s linear infinite;
animation-duration: 8s;
}

@keyframes spin {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}

@keyframes counterSpin {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(-360deg);
}
}

@keyframes moveCenterDot {
0% {
transform: translate(-50%, -50%) scale(1);
}
50% {
transform: translate(-50%, -50%) scale(1.5);
}
100% {
transform: translate(-50%, -50%) scale(1);
}
}
20 changes: 20 additions & 0 deletions Art/BradXIII/bxi-orbit-symphony.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BXI Orbit Symphony</title>
<link rel="stylesheet" href="bxi-orbit-symphony.css">
</head>
<body>
<div class="animation-container">
<div class="center-dot"></div>
<div class="orbit orbit1"></div>
<div class="orbit orbit2"></div>
<div class="orbit orbit3"></div>
<div class="orbit counter-orbit1"></div>
<div class="orbit counter-orbit2"></div>
<div class="orbit counter-orbit3"></div>
</div>
</body>
</html>
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2914,6 +2914,13 @@ let cards = [
imageLink: './Art/nyame100/trafficLight.gif',
author: 'Nyame Richmond',
githubLink: 'https://github.com/nyame100'
},
{
artName: 'BXI Orbit Symphony',
pageLink: './Art/BradXIII/bxi-orbit-symphony.html',
imageLink: './Art/BradXIII/Orbit.gif',
author: 'Brad',
githubLink: 'https://github.com/BradXIII'
}
];

Expand Down