[WIP] Structure page de choix

This commit is contained in:
Florian Ehr 2020-12-04 12:19:35 +01:00
parent 249e59a6e4
commit 3bcdf44558
2 changed files with 88 additions and 0 deletions

54
CSS/choix1.css Normal file
View file

@ -0,0 +1,54 @@
body {
border: 8px solid;
color: blue;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: black;
height: 95vh;
}
header {
border: 8px solid;
color: purple;
display: flex;
flex: 1;
}
#main {
display: flex;
flex: 4;
}
#content {
border: 8px solid;
color: blue;
display: flex;
flex-direction: column;
justify-content: space-around;
width: 50vw;
}
#text {
border: 8px solid;
font-family: 'Special Elite', cursive;
text-align: center;
color: white;
}
#buttons {
border: 8px solid;
color: red;
display: flex;
justify-content: space-around;
}
footer {
border: 8px solid;
color: green;
display: flex;
flex : 1;
}

34
HTML/choix1.html Normal file
View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="../CSS/choix1.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1></h1>
<nav></nav>
</header>
<main id="main">
<section id="content">
<article id="text">
<p>
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.
</p>
</article>
<div id="buttons">
<button id="safeButton">Aller dormir, ça fait trop peur</button>
<button id="riskyButton">Le suivre</button>
</div>
</section>
</main>
<footer>
</footer>
</body>
</html>