mirror of
https://github.com/LucasVbr/nuitdelinfo-2023.git
synced 2026-05-13 17:21:56 +00:00
91 lines
2.1 KiB
HTML
91 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Noël Écologique</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background-color: #A3BBAD;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'Manrope', sans-serif;
|
|
font-weight: 400;
|
|
font-size: 64px;
|
|
color: #0E3B43;
|
|
}
|
|
|
|
p {
|
|
font-family: 'Manrope', sans-serif;
|
|
font-weight: 300;
|
|
font-size: 20px;
|
|
color: #0E3B43;
|
|
}
|
|
|
|
#santa {
|
|
font-size: 72px;
|
|
cursor: pointer;
|
|
color: darkred;
|
|
}
|
|
|
|
.arrow-container {
|
|
display: flex;
|
|
}
|
|
|
|
.arrow_right {
|
|
font-size: 36px;
|
|
animation: swing_arrow_right 1s infinite alternate;
|
|
}
|
|
|
|
.arrow_left {
|
|
font-size: 36px;
|
|
animation: swing_arrow_left 1s infinite alternate;
|
|
}
|
|
|
|
@keyframes swing_arrow_right {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(10px);
|
|
}
|
|
}
|
|
|
|
@keyframes swing_arrow_left {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(-10px);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Joyeux Noël Écologique !</h1>
|
|
<p>En cette période festive, pensons à la nature et à la durabilité.</p>
|
|
<p>Faites un geste écologique pendant les fêtes ! 🌲</p>
|
|
|
|
<div class="arrow-container">
|
|
<p class="arrow_right">→</p>
|
|
<div id="santa" onclick="showEasterEgg()">🎅</div>
|
|
<p class="arrow_left">←</p>
|
|
</div>
|
|
<script>
|
|
const showEasterEgg = () => {
|
|
alert("Easter Egg : C'est le moment de penser à des cadeaux éco-friendly !");
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|