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 #2565

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
33 changes: 33 additions & 0 deletions Art/Espadamation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Olympic Rings Animation</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="rings">
<div class="ring blue"></div>
<div class="ring black"></div>
<div class="ring red"></div>
<div class="ring yellow"></div>
<div class="ring green"></div>
</div>
<div class="text">
<span class="letter blue">P</span>
<span class="letter black">A</span>
<span class="letter red">R</span>
<span class="letter yellow">I</span>
<span class="letter green">S</span>
<span>&nbsp;&nbsp;</span>
<span class="number gold">2</span>
<span class="number silver">0</span>
<span class="number bronze1">2</span>
<span class="number bronze2">4</span>
</div>
</div>
</body>
</html>
Binary file added Art/Espadamation/olympics.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 123 additions & 0 deletions Art/Espadamation/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #ffffff;
margin: 0;
overflow: hidden;
font-family: 'Montserrat', sans-serif;
}

.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}

.rings {
display: flex;
flex-wrap: wrap;
width: 260px;
height: 160px;
position: relative;
}

.ring {
width: 100px;
height: 100px;
border: 10px solid;
border-radius: 50%;
position: absolute;
animation: connect 5s ease-in-out;
animation-delay: 1s;
opacity: 0;
}

.ring.blue {
border-color: #005bbb;
left: 0;
top: 0;
}

.ring.black {
border-color: #000;
left: 80px;
top: 0;
}

.ring.red {
border-color: #d52b1e;
left: 160px;
top: 0;
}

.ring.yellow {
border-color: #f4c300;
left: 40px;
top: 60px;
}

.ring.green {
border-color: #009e49;
left: 120px;
top: 60px;
}

@keyframes connect {
0%, 20% {
transform: scale(0);
opacity: 0;
}
30%, 70% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0);
opacity: 0;
}
}

.text {
font-size: 3em;
font-weight: bold;
display: flex;
opacity: 0;
animation: textAppear 3s ease-in-out forwards;
animation-delay: 6s;
position: absolute;
top: 50%;
transform: translateY(-50%);
}

.letter, .number {
display: inline-block;
}

.letter.blue { color: #005bbb; }
.letter.black { color: #000; }
.letter.red { color: #d52b1e; }
.letter.yellow { color: #f4c300; }
.letter.green { color: #009e49; }
.number.gold { color: #ffd700; }
.number.silver { color: #c0c0c0; }
.number.bronze1 { color: #cd7f32; }
.number.bronze2 { color: #cd7f32; }

@keyframes textAppear {
0% {
opacity: 0;
transform: translateY(20px);
}
50% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 1;
transform: translateY(0);
}
}