Compare commits
2 Commits
65f8d66d90
...
c7af43b3ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7af43b3ee | ||
|
|
ea302b4b0b |
117
www/css/style.css
Normal file
117
www/css/style.css
Normal file
@@ -0,0 +1,117 @@
|
||||
@charset "UTF-8"; /* La feuille de style est encodée en UTF-8 */
|
||||
|
||||
|
||||
/**************************/
|
||||
/* Mise en forme générale */
|
||||
/**************************/
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Segoe UI';
|
||||
}
|
||||
|
||||
body {
|
||||
background: #B47871 url('../images/Logo\ ALT-F4\ Bleu.svg') repeat center;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 800px;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
h1, h2, p {
|
||||
text-align: center;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.flex-row-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
||||
/*******************************/
|
||||
/* Mise en forme du formulaire */
|
||||
/*******************************/
|
||||
form {
|
||||
width: 100%;
|
||||
background-color: #f0f0ec;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
display: block;
|
||||
text-align: right;
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
form div {
|
||||
justify-items: center;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 15%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: right;
|
||||
}
|
||||
|
||||
label[for=commentaire] {
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
label[for=date_visite] {
|
||||
width: 40%;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 35%;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#courriel {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
#date_visite {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 15%;
|
||||
display: block;
|
||||
justify-content: center;
|
||||
margin: 10px auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
/****************************/
|
||||
/* Mise en forme de l'aside */
|
||||
/****************************/
|
||||
aside {
|
||||
width: 250px;
|
||||
border: 1px solid #000000;
|
||||
background-color: #4c00ff;
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
bottom: 10px;
|
||||
}
|
||||
@@ -1,12 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Site en cours de construction...</h1>
|
||||
<img src="./images/Logo ALT-F4 Bleu.svg" alt="Logo ALT-F4">
|
||||
</body>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<title>Warframe</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<h1>Site en construction</h1>
|
||||
|
||||
<article>
|
||||
<h2>Besoin d'aide ?</h2>
|
||||
|
||||
<p>Remplir le formulaire pour recevoir de l'aide !</p>
|
||||
|
||||
<form method="post" action="examen-partie2.html">
|
||||
<fieldset>
|
||||
<legend>Informations du contact en entreprise</legend>
|
||||
|
||||
<div class="flex-row-center">
|
||||
<label for="prenom">Prénom :</label>
|
||||
<input type="text" name="prenom" id="prenom" required>
|
||||
<label for="nom">Nom :</label>
|
||||
<input type="text" name="nom" id="nom" required>
|
||||
</div>
|
||||
|
||||
<div class="flex-row-center">
|
||||
<label for="telephone">Tel :</label>
|
||||
<input type="tel" name="telephone" id="telephone" required>
|
||||
<label for="extension">Ext :</label>
|
||||
<input type="number" name="extension" id="extension" required>
|
||||
</div>
|
||||
|
||||
<div class="flex-row-center">
|
||||
<label for="courriel">Courriel :</label>
|
||||
<input type="email" name="courriel" id="courriel">
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Informations pour la visite</legend>
|
||||
|
||||
<div class="flex-col">
|
||||
<label for="commentaire">Renseignements supplémentaires (s'il y a lieu) :</label>
|
||||
<textarea name="commentaire" id="commentaire" rows="10"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="flex-row-center">
|
||||
<label for="date_visite">Date souhaitée de la visite :</label>
|
||||
<input type="date" name="date_visite" id="date_visite">
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button type="submit">Réservez</button>
|
||||
</form>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<aside class="flex-col">
|
||||
<h2>Installez notre application Android</h2>
|
||||
|
||||
<img src="images/qr-code.png" alt="Code QR de l'entreprise">
|
||||
</aside>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user