Public Access
5
0

Site en construction (Ajout css et html)

This commit is contained in:
Jeremy
2025-11-14 14:46:24 -05:00
parent a544278db8
commit 2eaf66e5d4
2 changed files with 182 additions and 9 deletions

117
www/css/style.css Normal file
View 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;
}

View File

@@ -1,12 +1,68 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
<head> <head>
<meta charset="UTF-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <link rel="stylesheet" href="css/style.css">
</head> <title>Warframe</title>
<body> </head>
<h1>Site en cours de construction...</h1>
<img src="./images/Logo ALT-F4 Bleu.svg" alt="Logo ALT-F4"> <body>
</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> </html>