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

web designe #48

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 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 projects/2020/NeonTubes/NeonTubes2.otf
Binary file not shown.
46 changes: 46 additions & 0 deletions projects/2020/New Year.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="NewYear.css">
<link rel="stylesheet" href="animate.css">
<link href="https://fonts.googleapis.com/css?family=Princess+Sofia&display=swap" rel="stylesheet">
<title>2020</title>
</head>
<body>
<audio id="bells" controls autoplay loop>
<source src="https://dl.dropboxusercontent.com/s/3l1ccd1dllgggal/Jingle_Bells.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<div class="wishTitle">
<div class="wish-text">M</div>
<div class="wish-text">e</div>
<div class="wish-text">r</div>
<div class="wish-text">r</div>
<div class="wish-text">y</div>
<div class="wish-text">C</div>
<div class="wish-text">h</div>
<div class="wish-text">r</div>
<div class="wish-text">i</div>
<div class="wish-text">s</div>
<div class="wish-text">t</div>
<div class="wish-text">m</div>
<div class="wish-text">a</div>
<div class="wish-text">s</div>
</div>
<div class="container">
<h5> Tebboune Al C<sub>17</sub>H<sub>21</sub>NO<sub>4</sub></h5>
<h1 class="animated tada delay-5s">Happy New Year</h1>
<h2 class="animated flash infinite slow ">2020</h2>

<div class="line">
<span>< </span><h3 id="txt"></h3><span> ></span>
</div>
<img src="santa.png" alt="santa" class="img1" onclick="playBells(true)">
<img src="arbre.png" alt="arbre" class="img2">

<script src="NewYear.js"></script>
</body>
</html>
230 changes: 230 additions & 0 deletions projects/2020/NewYear.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
@font-face {
font-family: 'neontubes';
src: url("NeonTubes/NeonTubes2.otf")
}
body{
background: radial-gradient(
circle,
rgba(119, 13, 13, 0.92) 80%,
rgba(0, 0, 0, 0.6) 100%
);

color: #ee990f;
font-family: 'neontubes';
overflow: hidden;
}

audio{
visibility: visible;
}
.container{
text-align: center;
line-height: 70px;
height: 100;
}

.container h1{
margin-top: 140px;
font-size: 7em;
text-shadow: 0 0 0 transparent, 0 0 10px #ff003c, 0 0 20px rgba(255, 0, 60, 0.5), 0 0 40px #ff003c, 0 0 100px #ff003c, 0 0 200px #ff003c, 0 0 300px #ff003c, 0 0 500px #ff003c, 0 0 1000px #ff003c;

}

.container h5{
float: right;
position: absolute;
top: -40px;
right: 10px;
color: white;
}

.container h2{

font-size: 5em;
text-shadow: 0 0 0 transparent, 0 0 10px #ff003c, 0 0 20px rgba(255, 0, 60, 0.5), 0 0 40px #ff003c, 0 0 100px #ff003c, 0 0 200px #ff003c, 0 0 300px #ff003c, 0 0 500px #ff003c, 0 0 1000px #ff003c;

}

.line{
text-align: center;
font-size: 3em;
text-shadow: 0 0 0 transparent, 0 0 10px #ff003c, 0 0 20px rgba(255, 0, 60, 0.5), 0 0 40px #ff003c, 0 0 100px #ff003c, 0 0 200px #ff003c, 0 0 300px #ff003c, 0 0 500px #ff003c, 0 0 1000px #ff003c;

}

.container .img1{
float: right;
margin-top: -70px;
margin-right: 100px;
box-shadow: 0px 10px 10px -15px #111;
height: 200px;
width: 200px;
cursor: pointer;
}

.container .img2{
float: left;
margin-top: -70px;
margin-left: 100px;
height: 200px;
width: 200px;
}

h3{
display: inline;
}


@media screen and (max-width: 400px) {
.container{

line-height: 50px;

}
.container h1{
font-size: 5em;
}

.container h2{
font-size: 3em;
margin-top: -10px;
}
.line{
font-size:1em ;
text-align: center;
margin-top: -30px;

}

.container .img1{

height: 150px;
width: 150px;
float: right;
margin-right: -15px;
margin-top: 0px;
cursor: pointer;
}
.container .img2{
height: 150px;
width: 150px;
float: left;
margin-left: -8px;
margin-top: 0px;


}
}

@media screen and (min-width: 400px) and (max-width:900px) {
audio{
height: 40px;
margin-top: 20px;
}
.container{

line-height: 50px;

}
.container h1{
font-size: 4em;
}

.container h2{
font-size: 3em;
margin-top: -20px;
}
.line{
font-size:1.5em ;
text-align: center;
margin-top: -10px;

}

.container .img1{

height: 200px;
width: 200px;
float: right;
margin-right: -5px;
margin-top: 0px;
}
.container .img2{
height: 200px;
width: 200px;
float: left;
margin-left: -8px;
margin-top: 0px;


}
}

audio{
display: none;
}

.wishTitle{
position: absolute;
left:50%;
transform: translateX(-50%);
top: 40px;
font-family: 'Princess Sofia', cursive;
font-size:1.6rem;
font-weight: bold;

display: flex;
}



.wish-text{
padding-left: 0.9rem;
color: rgb(255, 0, 59);

}

.wish-text:nth-of-type(1),.wish-text:nth-of-type(6),.wish-text:nth-of-type(11){
animation: upDown .8s infinite;
color: rgb(255, 0, 59);
}

.wish-text:nth-of-type(2),.wish-text:nth-of-type(7),.wish-text:nth-of-type(12){
animation: upDown .8s.2s infinite;
color: rgb(255, 0, 59);;
}

.wish-text:nth-of-type(3),.wish-text:nth-of-type(8),.wish-text:nth-of-type(13){
animation: upDown .8s .4s infinite;
color: rgb(255, 0, 59);
}

.wish-text:nth-of-type(4),.wish-text:nth-of-type(9),.wish-text:nth-of-type(14){
animation: upDown .8s .5s infinite;
color: rgb(255, 0, 59);
}

.wish-text:nth-of-type(5),.wish-text:nth-of-type(10){
animation: upDown .8s .1s infinite;
color: rgb(255, 0, 59);
}

.wish-text:nth-of-type(6){
padding-left: 2rem;
}

@keyframes upDown{

0%,100%{
transform:translateY(0rem);
}

50%{
transform:translateY(1rem);
}

}




Loading