197 lines
3.9 KiB
CSS
197 lines
3.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Josefin Sans", sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: url('../img/cielprince.png') no-repeat center center fixed;
|
|
background-size: cover;
|
|
color: white;
|
|
font-family: 'Josefin Sans', sans-serif;
|
|
margin: 0;
|
|
|
|
}
|
|
.page-header {
|
|
margin-top: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.evenement-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-width: 800px;
|
|
margin: auto;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.evenement-card {
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
border-top: 8px solid rgba(122, 97, 179);
|
|
}
|
|
|
|
.evenement-card h3 {
|
|
color: rgb(122, 97, 179);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.commentaires {
|
|
margin-top: 20px;
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.commentaire {
|
|
margin-bottom: 15px;
|
|
padding: 8px;
|
|
background-color: rgba(0,0,0,0.3);
|
|
border-radius: 5px;
|
|
}
|
|
.commentaires button {
|
|
margin-top: 10px;
|
|
padding: 8px 15px;
|
|
border: none;
|
|
background-color: #7a61b3;
|
|
color: white;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
}
|
|
/* .commentaires-textarea {
|
|
width: 100% !important;
|
|
padding: 10px !important;
|
|
border: none;
|
|
border-radius: 8px;
|
|
resize: vertical;
|
|
margin-top: 10px;
|
|
height: 150px !important;
|
|
font-size: 16px;
|
|
} */
|
|
|
|
.inscrire-btn, .desinscription {
|
|
background-color: #7a61b3;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
margin-top: 10px;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.inscrire-btn:hover, .desinscription:hover{
|
|
background-color: #5f4aa3;
|
|
}
|
|
|
|
.message {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
background-color: rgba(122, 97, 179, 0.2);
|
|
border-left: 5px solid #7a61b3;
|
|
border-radius: 6px;
|
|
color: white;
|
|
}
|
|
|
|
textarea {
|
|
all: unset; /*reset tout les styles, car y avait un bug je n'arrivai pas modifier son style*/
|
|
box-sizing: border-box;
|
|
/* background: white; */
|
|
color: rgb(255, 255, 255);
|
|
border: 2px solid rgb(80, 80, 80);
|
|
width: 100%;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
height: 150px ;
|
|
resize: vertical;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Styles pour la barre de recherche */
|
|
.recherche-form {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.recherche-input {
|
|
padding: 10px;
|
|
width: 300px;
|
|
border-radius: 5px;
|
|
border: none;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.recherche-btn {
|
|
padding: 10px 15px;
|
|
background-color: #7a61b3;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.recherche-btn:hover {
|
|
background-color: #5f4aa3;
|
|
}
|
|
|
|
.effacer-link {
|
|
margin-left: 10px;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.effacer-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Styles spécifiques pour la désinscription */
|
|
.desinscription {
|
|
background-color: #dc3545 ;
|
|
}
|
|
|
|
.desinscription:hover {
|
|
background-color: #c82333 ;
|
|
}
|
|
|
|
/* Messages d'alerte adaptés au thème */
|
|
.message.success {
|
|
background-color: rgba(40, 167, 69, 0.2);
|
|
color: rgb(0, 255, 221);
|
|
border-left: 5px solid #28a745;
|
|
padding: 10px;
|
|
margin: 20px auto;
|
|
max-width: 800px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.message.error {
|
|
background-color: rgba(220, 53, 69, 0.2);
|
|
color: #ff6b6b;
|
|
border-left: 5px solid #dc3545;
|
|
padding: 10px;
|
|
margin: 20px auto;
|
|
max-width: 800px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* Style pour aucun événement */
|
|
.aucun-evenement {
|
|
text-align: center;
|
|
}
|
|
|
|
.aucun-evenement p {
|
|
color: white;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.aucun-evenement a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
|