You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
3.8 KiB
HTML
125 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Contact</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'DM Serif Display', serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background-color: #ffe4e1; /* Fond rose pour la page */
|
|
margin: 0;
|
|
padding: 10px; /* Ajout de padding pour mobile */
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
max-width: 500px; /* Réduire la largeur maximale */
|
|
background-color: #ffd1dc; /* Rose pastel */
|
|
padding: 30px; /* Réduire le padding */
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.field {
|
|
margin-bottom: 15px; /* Réduire la marge entre les champs */
|
|
}
|
|
|
|
.label {
|
|
font-size: 1rem; /* Réduire la taille de la police des labels */
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.input, .textarea {
|
|
font-size: 1rem; /* Réduire la taille de la police des champs de saisie */
|
|
padding: 15px; /* Réduire le padding */
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.textarea {
|
|
height: 120px; /* Réduire la hauteur de la zone de texte */
|
|
resize: none;
|
|
}
|
|
|
|
.button {
|
|
font-family: 'DM Serif Display', serif; /* Changer la police du bouton */
|
|
font-size: 1rem; /* Réduire la taille de la police */
|
|
padding: 12px; /* Réduire le padding */
|
|
background-color: #ff69b4;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: #ff85b8;
|
|
}
|
|
|
|
.pink-button {
|
|
display: inline-block;
|
|
margin-top: 15px; /* Réduire la marge supérieure */
|
|
font-family: 'DM Serif Display', serif; /* Changer la police du bouton */
|
|
font-size: 1rem; /* Réduire la taille de la police */
|
|
color: #fff;
|
|
background-color: #ff69b4;
|
|
padding: 12px; /* Réduire le padding */
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pink-button:hover {
|
|
background-color: #ff85b8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<form class="box">
|
|
<div class="field">
|
|
<label class="label">Email</label>
|
|
<div class="control">
|
|
<input class="input" type="email" placeholder="e.g. alex@example.com" required />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label class="label">Mot de passe</label>
|
|
<div class="control">
|
|
<input class="input" type="password" placeholder="********" required />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label class="label">Message</label>
|
|
<div class="control">
|
|
<textarea class="textarea" placeholder="Votre message" required></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="button is-primary" type="submit">Envoyer</button>
|
|
|
|
<br><br><br>
|
|
<br>
|
|
<a href="index.html" class="pink-button">Retour à l'Accueil</a>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |