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 artsyness to the project #2549

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions Art/spinner/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loading Spinner Animation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="background">
<div class="spinner"></div>
</div>
</body>
</html>
Binary file added Art/spinner/spinner.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Art/spinner/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.background {
background-color: #f2f2f2;
background-image:
linear-gradient(45deg, #dddddd 25%, transparent 25%, transparent 75%, #dddddd 75%, #dddddd),
linear-gradient(45deg, #dddddd 25%, transparent 25%, transparent 75%, #dddddd 75%, #dddddd);
background-size: 20px 20px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.spinner {
width: 50px;
height: 50px;
border: 5px solid rgba(0, 0, 0, 0.1);
border-left-color: #333;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: auto;
}

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

7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2903,6 +2903,13 @@ let cards = [
author: 'Kalliran',
githubLink: 'https://github.com/Kalliran'
},
{
artName: 'Animatron',
pageLink: './Art/spinner/index.html',
imageLink: './Art/spinner/spinner.gif',
author: 'Ian',
githubLink: 'https://github.com/Ianpack'
},
];

/* -------------------------------------------------------------------------- */
Expand Down