diff --git a/front/easterEggEtoile.html b/front/easterEggEtoile.html
index 8cf0638..f3bace3 100644
--- a/front/easterEggEtoile.html
+++ b/front/easterEggEtoile.html
@@ -17,20 +17,55 @@
}
h1 {
- font-family: 'Manrope', extrabold;
+ font-family: 'Manrope', sans-serif;
+ font-weight: 400;
font-size: 64px;
- color: white;
- text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+ color: #0E3B43;
}
p {
- font-size: 18px;
- margin-bottom: 30px;
+ 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);
+ }
}
@@ -40,10 +75,13 @@
En cette période festive, pensons à la nature et à la durabilité.
Faites un geste écologique pendant les fêtes ! 🌲
-→ 🎅 ←
-
+
diff --git a/front/index.html b/front/index.html
index 1790c5d..80c10a8 100644
--- a/front/index.html
+++ b/front/index.html
@@ -30,10 +30,11 @@
distinguons la réalité
des idées reçues.
Défiez les idées reçues sur l'écologie avec notre quiz captivant !
+
Testez-vous dès maintenant pour une expérience éducative et
amusante.
-
+
diff --git a/front/jouer.html b/front/jouer.html
index 587daff..0ab9b5c 100644
--- a/front/jouer.html
+++ b/front/jouer.html
@@ -45,11 +45,13 @@
+ Votre texte ici
+ Votre texte ici
@@ -85,10 +87,10 @@
leftSection.classList.remove('hide');
});
- let score = 20;
+ let score = 0;
function augmenterCompteur() {
- score += 5;
+ score++;
if (score >= 5) {
document.getElementById('star1').style.visibility = 'visible';
diff --git a/front/style/easter eggs b/front/style/easter eggs
new file mode 100644
index 0000000..f6133aa
--- /dev/null
+++ b/front/style/easter eggs
@@ -0,0 +1,4 @@
+Liste des easter eggs :
+
+- Joyeux noël écologique ! : Répondez juste à toutes les questions du quizz
+ et une nouvelle page s'ouvre.
\ No newline at end of file
diff --git a/front/style/jeu.css b/front/style/jeu.css
index b670788..708420f 100644
--- a/front/style/jeu.css
+++ b/front/style/jeu.css
@@ -93,14 +93,18 @@ section a {
/*background-image: url('');*/
}
-.answer {
- margin-top: 50vh;
- text-align: center;
+.text-overlay {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ font-size: 24px;
font-family: 'inter', sans-serif;
font-weight: 400;
- font-size: 40px;
- text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+ text-align: center;
+ padding: 10px;
color: white;
+
}
.question {
@@ -108,8 +112,6 @@ section a {
top: 0;
left: 50%;
transform: translateX(-50%);
-
-
background-color: #FFF1DD;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
border-radius: 10px;
@@ -122,14 +124,14 @@ section a {
.question h2 {
font-family: 'inter', sans-serif;
font-weight: 400;
- font-size: 40px;
+ font-size: 35px;
color: black;
margin: 0;
}
.question p {
font-family: 'Manrope', sans-serif;
- font-size: 20px;
+ font-size: 25px;
color: black;
}
diff --git a/front/style/main.css b/front/style/main.css
index db5c07b..6017ee8 100644
--- a/front/style/main.css
+++ b/front/style/main.css
@@ -17,7 +17,8 @@ main {
}
h1 {
- font-family: 'Manrope', extrabold;
+ font-family: 'Manrope', sans-serif;
+ font-weight: 400;
font-size: 64px;
color: white;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
@@ -25,14 +26,16 @@ h1 {
}
h2 {
- font-family: 'Manrope', extrabold;
+ font-family: 'Manrope', sans-serif;
+ font-weight: 400;
font-size: 48px;
color: white;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#sous-pres {
- font-family: 'Manrope', bold;
+ font-family: 'Manrope', sans-serif;
+ font-weight: 300;
font-size: 20px;
color: white;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
@@ -45,7 +48,7 @@ h2 {
height: 59px;
padding: 10px 20px;
margin-top: 90px;
- font-family: 'Manrope', bold;
+ font-family: 'Manrope', sans-serif;
font-size: 20px;
border: none;
border-radius: 10px;