diff --git a/CSS/aide_ami.css b/CSS/aide_ami.css index 2477947..1023530 100644 --- a/CSS/aide_ami.css +++ b/CSS/aide_ami.css @@ -57,6 +57,12 @@ body { max-width: 25vw; } + #firstText { + opacity:0; + animation: fade 2s forwards; + animation-delay: 1s; + } + .textWillAppear { opacity: 0; } @@ -105,17 +111,22 @@ body { #text p { margin: 0.1vh 0 0.1vh 0; } - - #pseudoInput{ - font-family:'Special Elite',cursive; - font-size:1.5vw; - border-radius:1vw; - width: 15vw; - padding:0.5vw 0.7vw 0.3vw 0.7vw; - + + #inputBox { + display: flex; + flex-direction: column; + align-items: center; } - #pseudoInput:focus{ + #friendInput{ + font-family:'Special Elite',cursive; + font-size:1.5vw; + border-radius:1vw; + width: 15vw; + padding:0.5vw 0.7vw 0.3vw 0.7vw; + } + + #friendInput:focus{ outline:none; font-family:'Special Elite',cursive; font-size:1.5vw; @@ -123,12 +134,40 @@ body { padding:0.5vw 0.7vw 0.3vw 0.7vw; } + #arrowBlock{ + display:flex; + justify-content: flex-end; + height: 2vh; + width: 45vw; + } + + #space{ + font-size: 1vw; + font-family: 'Special Elite', cursive; + padding-right: 1vw; + } + + #arrow{ + animation: bounce 1s forwards; + animation-iteration-count:infinite; + } + + @keyframes bounce { + 50% {transform: translate(0, -1em);} + } + + @keyframes fade-reverse { + 0% {opacity :1} + 100% {opacity:0} + } + #buttons { display: flex; justify-content: space-around; } .button { + opacity: 0; outline: none; border:0.2vw solid #b9b9b9; border-radius: 4vw; @@ -136,6 +175,8 @@ body { width: 20vw; padding: 1vw 1.2vw 1vw 1.2vw; color: black; + text-decoration: none; + text-align: center; font-family: 'Special Elite', cursive; font-size: 0.8vw; background-image: linear-gradient(to top, black -50%, #BF0909 80%); @@ -151,25 +192,6 @@ body { background-image: linear-gradient(to top, #BF0909 20%, black 150%); } - /* Test d'animation */ - @keyframes oscille { - from { - transform: rotate(0); - } - - 25% { - transform: rotate(8deg); - } - - 75% { - transform: rotate(-8deg); - } - - to { - transform: rotate(0); - } - } - footer{ flex:0.5; display:flex; diff --git a/CSS/couloir.css b/CSS/couloir.css index 6a37f74..f9ed864 100644 --- a/CSS/couloir.css +++ b/CSS/couloir.css @@ -78,35 +78,16 @@ body { background-image: linear-gradient(to top, #BF0909 20%, black 150%); } - /* Test d'animation */ - @keyframes oscille { - from { - transform: rotate(0); - } - - 25% { - transform: rotate(8deg); - } - - 75% { - transform: rotate(-8deg); - } - - to { - transform: rotate(0); - } - } - - footer{ - flex:0.5; - display:flex; - flex-direction: column; - justify-content:flex-end; - align-items: center; - font-size:1vw; - margin-top:2vw; - } - - #names{ - margin : 0; - } + footer{ + flex:0.5; + display:flex; + flex-direction: column; + justify-content:flex-end; + align-items: center; + font-size:1vw; + margin-top:2vw; + } + + #names{ + margin : 0; + } diff --git a/CSS/couloir_ami.css b/CSS/couloir_ami.css new file mode 100644 index 0000000..8895aea --- /dev/null +++ b/CSS/couloir_ami.css @@ -0,0 +1,130 @@ +body { + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + color:white; + font-family: 'Special Elite', cursive; + background-color: black; + height: 95vh; +} + + header { + color: #BF0909; + font-family: 'Special Elite', cursive; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + flex: 1; + } + h1 { + font-size: 4vw; + } + + header a { + text-decoration: none; + color: #494949; + } + + header a:hover { + color: white; + } + + #main { + display: flex; + flex: 4; + } + + #content { + display: flex; + flex-direction: column; + justify-content: space-around; + width: 50vw; + } + + #text { + font-family: 'Special Elite', cursive; + font-size: 1.8vw; + text-align: center; + color: white; + } + + .textWillAppear { + opacity: 0; + } + + @keyframes fade { + 100% {opacity: 1;} + } + + #arrowBlock{ + display: flex; + justify-content: flex-end; + height: 2vh; + width: 45vw; + } + + #space{ + font-size: 1vw; + font-family: 'Special Elite', cursive; + padding-right: 1vw; + } + + #arrow{ + height: 2vh; + animation: bounce 1s forwards; + animation-iteration-count:infinite; + } + + @keyframes bounce { + 50% {transform: translate(0, -1em);} + } + + @keyframes fade-reverse { + 0% {opacity :1} + 100% {opacity:0} + } + + #buttons { + opacity: 0; + display: flex; + justify-content: space-around; + } + + .button { + outline: none; + border:0.2vw solid #b9b9b9; + border-radius: 4vw; + min-width: 15vw; + width: 20vw; + padding: 1vw 1.2vw 1vw 1.2vw; + color: black; + font-family: 'Special Elite', cursive; + font-size: 0.8vw; + background-image: linear-gradient(to top, black -50%, #BF0909 80%); + cursor : pointer; + } + + .button:hover { + border: 0.2vw solid white; + box-shadow: 0 0 3vw #B0C4DE; + } + + .button:active { + background-image: linear-gradient(to top, #BF0909 20%, black 150%); + } + + footer{ + flex:0.5; + display:flex; + flex-direction: column; + justify-content:flex-end; + align-items: center; + font-size:1vw; + margin-top:2vw; + } + + #names{ + margin : 0; + } diff --git a/HTML/aide_ami.html b/HTML/aide_ami.html index bdccf39..1ec0067 100644 --- a/HTML/aide_ami.html +++ b/HTML/aide_ami.html @@ -21,10 +21,14 @@

C'était quand même bizarre d'être capuché dans le sous-sol

-

La photo est.. correcte. Au moins vous n'avez pas oublié de retirer le flash !

+

La photo est.. correcte. Au moins vous n'avez pas oublié de retirer le flash !

Vous avez passé une nuit mouvementée par des questionnements incessants

En même temps, c'est compréhensible vu ce que vous venez de vivre. On dirait que l'aventure n'est pas finie pour autant...

-

Le lendemain, vous vous hâtez vers votre plus fidèle ami pour tout lui expliquer.

+

Le lendemain, vous vous hâtez vers votre plus fidèle ami pour tout lui expliquer.

+
+

Press enter

+ Texte suivant +
- + Suivant