Files
SAEWEBJensonVALAylaneSEHL/css/my_event.css
2025-06-14 19:08:52 +02:00

213 lines
4.5 KiB
CSS

/* Reprendre le style de event.css mais adapté */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: #0a0a0a;
color: #ffffff;
min-height: 100vh;
overflow-x: hidden;
}
/* Header identique */
header {
background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
padding: 1rem 0;
text-align: center;
border-bottom: 2px solid #333;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}
nav {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}
nav a {
color: #ffffff;
text-decoration: none;
padding: 0.7rem 1.5rem;
border: 2px solid transparent;
border-radius: 25px;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(5px);
}
nav a:hover,
nav a.active {
border-color: #4ecdc4;
background: rgba(78, 205, 196, 0.2);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}
nav span {
color: #4ecdc4;
padding: 0.7rem 1.5rem;
font-weight: bold;
}
/* Titre principal */
.grand-titre {
text-align: center;
margin: 3rem 0;
padding: 0 1rem;
}
.grand-titre h2 {
font-size: 2.5rem;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1rem;
}
/* Messages */
.message {
padding: 1rem 2rem;
margin: 1rem auto;
max-width: 600px;
border-radius: 10px;
text-align: center;
font-weight: bold;
backdrop-filter: blur(10px);
}
.message.success {
background: rgba(40, 167, 69, 0.2);
border: 2px solid #28a745;
color: #4ecdc4;
box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}
.message.error {
background: rgba(220, 53, 69, 0.2);
border: 2px solid #dc3545;
color: #ff6b6b;
box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}
/* Container des événements */
.evenements {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
}
/* Style des cartes d'événements */
.evenement {
background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
border: 2px solid #333;
border-radius: 20px;
padding: 2rem;
position: relative;
transition: all 0.4s ease;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.evenement:hover {
transform: translateY(-10px) scale(1.02);
border-color: #4ecdc4;
box-shadow: 0 20px 40px rgba(78, 205, 196, 0.2);
}
.evenement::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
border-radius: 20px 20px 0 0;
}
.evenement h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #4ecdc4;
text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}
.evenement .adresse {
color: #ff6b6b;
font-size: 1rem;
margin-bottom: 1rem;
font-weight: 500;
}
.evenement .description {
color: #cccccc;
line-height: 1.6;
margin-bottom: 2rem;
font-size: 0.95rem;
}
/* Actions */
.actions {
text-align: center;
}
.btn-inscription {
display: inline-block;
padding: 1rem 2rem;
background: linear-gradient(45deg, #dc3545, #c82333);
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: bold;
transition: all 0.3s ease;
border: 2px solid transparent;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-inscription:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
border-color: #dc3545;
text-decoration: none;
color: white;
}
/* Message aucun événement */
.aucun-evenement {
text-align: center;
padding: 3rem;
}
.aucun-evenement p {
font-size: 1.2rem;
color: #cccccc;
margin-bottom: 2rem;
}
.aucun-evenement .btn-inscription {
background: linear-gradient(45deg, #4ecdc4, #45b7b8);
}
.aucun-evenement .btn-inscription:hover {
box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
border-color: #4ecdc4;
}