diff --git a/CSS/etrange_decouverte.css b/CSS/etrange_decouverte.css index 80b0c58..3013488 100644 --- a/CSS/etrange_decouverte.css +++ b/CSS/etrange_decouverte.css @@ -20,6 +20,7 @@ body { } h1 { font-size: 4vw; + margin-bottom:0.5vw; } header a { @@ -45,14 +46,86 @@ body { #text { font-family: 'Special Elite', cursive; - font-size: 2vw; + font-size: 1.8vw; text-align: center; color: white; + cursor: pointer; + } + + + + + .phrase{ + opacity:0; + margin:0.1vh 0vw 0.1vh 0vw; + + } + + #p1{ + animation: fade 2s forwards; + } + + #p{ + animation: fade 2s forwards; + } + + @keyframes fade { + 0% {opacity :0} + 100% {opacity:1} + } + + #p1{animation-delay:0.5s} + + + + + .mot{ + margin:0; + } + + #boisson{ + color:white; + font-weight: bold; + font-size: 1.8vw; + font-family: 'Special Elite', cursive; + background:black; + border:none; + } + + #boisson:focus{ + outline:none + } + + #boisson option{ + background:#494949; + border:none; + font: -moz-pull-down-menu; + } + + #arrowBlock{ + height:2vh; + width:50vw; + + } + + #arrow{ + height:2vh; + width:auto; + position:relative; + right:-25vw; + top:-3vh; + animation: bounce 1s forwards; + animation-iteration-count:infinite; + } + + @keyframes bounce { + 50% {top:-6vh} } #buttons { display: flex; justify-content: space-around; + } .button { @@ -97,6 +170,8 @@ body { } } + + footer{ flex:0.5; display:flex; diff --git a/CSS/menu.css b/CSS/menu.css index ab8d238..ee0cc83 100644 --- a/CSS/menu.css +++ b/CSS/menu.css @@ -63,6 +63,7 @@ main section { #logoBlock{ margin-bottom:5vh; height:20vh; + min-height:100px; width:50vw; display:block; opacity:0; diff --git a/HTML/etrange_decouverte.html b/HTML/etrange_decouverte.html index 9b3a970..9f20876 100644 --- a/HTML/etrange_decouverte.html +++ b/HTML/etrange_decouverte.html @@ -18,10 +18,24 @@
-

- Vous sortez de cours de chinois à 20h30 et vous passez faire un tour au STPI vous prendre un petit café pour réviser toute la nuit. - Vous apercevez un étudiant qui se dirige vers le sous-sol, vous trouvez ça bizarre. -

+

Il est 21h30, nous sommes en décembre,

+

la nuit est tombée depuis longtemps.

+

La Lune éclaire la pelouse du R1 alors que vous sortez tout juste de votre réunion du Pôle Huma.

+

Vous ressentez l'envie d'un petit +

+ + pour réviser la Thermo.

+

Votre écocup rempli de ,

+

vous apercevez un étudiant qui se dirige tout droit +

vers le sous sol !

+

Bizarre à cette heure...

+
+ Texte suivant +
diff --git a/Images/Lecture.png b/Images/Lecture.png new file mode 100644 index 0000000..de549af Binary files /dev/null and b/Images/Lecture.png differ diff --git a/JAVASCRIPT/etrange_decouverte.js b/JAVASCRIPT/etrange_decouverte.js index 33e76e9..ca25d92 100644 --- a/JAVASCRIPT/etrange_decouverte.js +++ b/JAVASCRIPT/etrange_decouverte.js @@ -1,3 +1,33 @@ +// select elements let safeButton = document.getElementById("safeButton"); +let boisson = document.getElementById("boisson"); +let selectedDrink = document.getElementById("selectedDrink"); +let text = document.getElementById("text") -console.log(safeButton); \ No newline at end of file +let counter_p = 1 +let childs = [] + +console.log(text.childNodes); + +selectedDrink.innerText = boisson.value; +// for (let i=0;i