ajout de deux pages : appel à un ami ou suite après QTE de rapidité
這個提交存在於:
父節點
462db59a32
當前提交
d1a6a07cca
共有 4 個檔案被更改,包括 367 行新增 和 0 行删除
169
CSS/aide_ami.css
一般檔案
169
CSS/aide_ami.css
一般檔案
|
@ -0,0 +1,169 @@
|
||||||
|
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 {
|
||||||
|
width: 95vw;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content aside {
|
||||||
|
display : flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-around;
|
||||||
|
width: 33vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.textRotate1 {
|
||||||
|
font-size: 0.75vw;
|
||||||
|
transform: rotate(12deg);
|
||||||
|
animation: flotter 2s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.textRotate2 {
|
||||||
|
transform: rotate(-10deg);
|
||||||
|
font-size: 1.2vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.textRotate3{
|
||||||
|
transform: rotate(-18deg);
|
||||||
|
font-size: 1vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes flotter {
|
||||||
|
50% {
|
||||||
|
transform: translate3D(0,-5vh,0);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translate3D(0,0,0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
font-family: 'Special Elite', cursive;
|
||||||
|
font-size: 1.8vw;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
width: 60vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#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;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#pseudoInput:focus{
|
||||||
|
outline:none;
|
||||||
|
font-family:'Special Elite',cursive;
|
||||||
|
font-size:1.5vw;
|
||||||
|
border-radius:1vw;
|
||||||
|
padding:0.5vw 0.7vw 0.3vw 0.7vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#buttons {
|
||||||
|
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%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 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;
|
||||||
|
}
|
112
CSS/couloir.css
一般檔案
112
CSS/couloir.css
一般檔案
|
@ -0,0 +1,112 @@
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
#buttons {
|
||||||
|
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%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 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;
|
||||||
|
}
|
50
HTML/aide_ami.html
一般檔案
50
HTML/aide_ami.html
一般檔案
|
@ -0,0 +1,50 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>INSAïde</title>
|
||||||
|
<link rel="stylesheet" href="../CSS/aide_ami.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
|
||||||
|
<script defer type="text/javascript" src="../JAVASCRIPT/aide_ami.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>L'union fait la force</h1>
|
||||||
|
<nav><a href='./menu.html'>Retourner au menu</a></nav>
|
||||||
|
</header>
|
||||||
|
<main id="main">
|
||||||
|
<section id="content">
|
||||||
|
<aside id=leftQuestions>
|
||||||
|
<p class="textRotate1">Dois-je vraiment m'occuper de cette affaire ?</p>
|
||||||
|
<p class="textRotate2">C'était quand même bizarre d'être capuché dans le sous-sol</p>
|
||||||
|
</aside>
|
||||||
|
<article id="text">
|
||||||
|
<p>
|
||||||
|
La photo est.. correcte. Au moins vous n'avez pas oublié de retirer le flash !
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Vous avez passé une nuit mouvementée par des questionnements incessants
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
En même temps, c'est compréhensible vu ce que vous venez de vivre. <span>On dirait que l'aventure n'est pas finie pour autant...</span>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Le lendemain, vous vous hâtez vers votre plus fidèle ami <input id="pseudoInput" type="text"/> pour tout lui expliquer.
|
||||||
|
</p>
|
||||||
|
</article>
|
||||||
|
<aside id="rightQuestions">
|
||||||
|
<p class="textRotate3">Peut-être devrais-je laisser tomber et oublier cette histoire</p>
|
||||||
|
<p class="textRotate1">Il me reste du taboulé pour demain midi au fait ?</p>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section id="buttons">
|
||||||
|
<button id="button1" class="button">Suivant</button>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
36
HTML/couloir.html
一般檔案
36
HTML/couloir.html
一般檔案
|
@ -0,0 +1,36 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>INSAïde</title>
|
||||||
|
<link rel="stylesheet" href="../CSS/couloir.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
|
||||||
|
<script defer type="text/javascript" src="../JAVASCRIPT/couloir.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>Sur les traces</h1>
|
||||||
|
<nav><a href='./menu.html'>Retourner au menu</a></nav>
|
||||||
|
</header>
|
||||||
|
<main id="main">
|
||||||
|
<section id="content">
|
||||||
|
<article id="text">
|
||||||
|
<p>
|
||||||
|
Il ne vous a pas vu, vous êtes un as en réflexe !
|
||||||
|
Il est maintenant au fond du couloir et se tourne vers une porte...
|
||||||
|
Une personne capuchée l'accueille, ils se saluent, que faire ?
|
||||||
|
</p>
|
||||||
|
</article>
|
||||||
|
<div id="buttons">
|
||||||
|
<button id="safeButton" class="button">Prendre une photo, vous en parlerez à quelqu'un plus tard</button>
|
||||||
|
<button id="riskyButton" class="button">Attendre qu'ils rentrent, prendre son courage à deux mains, et s'aventurer jusqu'à cette salle</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
載入中…
新增問題並參考