[WIP] Structure page de choix
This commit is contained in:
джерело
249e59a6e4
коміт
3bcdf44558
2 змінених файлів з 88 додано та 0 видалено
54
CSS/choix1.css
Звичайний файл
54
CSS/choix1.css
Звичайний файл
|
@ -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
Звичайний файл
34
HTML/choix1.html
Звичайний файл
|
@ -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>
|
Завантаження…
Посилання в новій задачі