You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.0 KiB
113 lines
2.0 KiB
@import url(./style.css);
|
|
|
|
/* ====== DARK MODE ====== */
|
|
body.dark-mode h1,
|
|
body.dark-mode h2,
|
|
body.dark-mode p {
|
|
color: var(--main-dark-text-color);
|
|
}
|
|
|
|
body.dark-mode #box {
|
|
background: var(--main-dark-other-color);
|
|
}
|
|
|
|
/* ====== LIGHT MODE ====== */
|
|
body.light-mode h1,
|
|
body.light-mode h2,
|
|
body.light-mode p {
|
|
color: var(--main-light-text-color);
|
|
}
|
|
|
|
body.light-mode #box {
|
|
background: var(--main-light-other-color);
|
|
}
|
|
|
|
/* ====== ECRAN DEFAULT ====== */
|
|
h1, h2 {
|
|
font-family: "roboto condensed", sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
#box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 60vh;
|
|
width: 60vw;
|
|
margin: auto;
|
|
padding: 2%;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
/* ====== STYLE SPÉCIFIQUE AU FORMULAIRE ====== */
|
|
#form select,
|
|
#form textarea {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
margin-bottom: 15px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#form input[type="submit"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: #ffffff;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#form input[type="submit"]:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* ====== STYLE SPÉCIFIQUE À LA PAGE DE CONFIRMATION ====== */
|
|
|
|
/* Espacement entre les blocs internes */
|
|
#box > div {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Style pour les libellés */
|
|
#box p {
|
|
margin: 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Style pour les valeurs affichées */
|
|
#box h2 {
|
|
margin: 5px 0 0 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* Style du bouton de retour */
|
|
#box button {
|
|
align-self: center;
|
|
width: 60%;
|
|
padding: 20px;
|
|
margin : 20px 20% ;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Bouton en dark mode */
|
|
body.dark-mode #box button {
|
|
background-color: #ffffff;
|
|
color: black;
|
|
}
|
|
|
|
/* Bouton en light mode */
|
|
body.light-mode #box button {
|
|
background-color: #ffffff;
|
|
color: black;
|
|
}
|
|
|
|
#box button:hover {
|
|
background-color: #f9f9f9;
|
|
}
|