fix admin et eventdetail

This commit is contained in:
Antoine Ordonneau
2026-01-11 12:56:14 +01:00
parent c5a89fb49f
commit a028340cc1
13 changed files with 166 additions and 158 deletions
+76 -28
View File
@@ -1,23 +1,62 @@
.container {
max-width: 600px;
margin: 40px auto;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 20px;
font-family: Arial, sans-serif;
.allContent{
margin: 16px 0px 16px 0px;
align-self: center;
width: 90%;
}
.title {
font-size: 2rem;
color: #333;
margin-bottom: 10px;
.textImage {
display: flex;
gap: 24px;
}
.eventImage {
width: 40%;
aspect-ratio: 16 / 9;
background-color: #e0e0e0;
border-radius: 16px;
flex-shrink: 0;
}
.eventInfo {
flex: 1;
min-width: 0;
overflow-wrap: break-word;
}
.eventInfo p {
margin: 5px 0;
font-size: 1rem;
color: #555;
white-space: normal;
overflow-wrap: break-word;
}
.eventImage {
width: 40%;
height: 100%;
aspect-ratio: 16 / 9;
background-color: #e0e0e0;
border-radius: 16px;
flex-shrink: 0;
}
.registerButton {
margin-left: auto;
padding: 5px 10px;
border-radius: 12px;
border: none;
cursor: pointer;
background: #019AFF;
color: white;
font-weight: 600;
}
.registerButton:hover {
opacity: 0.85;
}
.tasksButton {
display: flex;
align-items: center;
gap: 16px;
}
.tasks {
@@ -26,19 +65,28 @@
}
.tasks li {
background-color: #f9f9f9;
margin: 5px 0;
padding: 10px;
border-radius: 5px;
display: flex;
align-items: center;
margin: 16px 0px 16px 0px;
padding: 10px 20px 10px 20px;
border-radius: 20px;
border: none;
background: transparent;
box-shadow:
inset 1.25px 1.25px 1px rgba(255, 255, 255, 1),
inset -1.25px -1.25px 1px rgba(255, 255, 255, 1),
inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2),
inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2);
opacity: 0;
animation: fadeInUp 0.6s ease-out forwards;
animation-delay: calc(var(--i) * 0.1s);
}
.tasks li.completed {
text-decoration: line-through;
opacity: 0.6;
}
.tasks input[type="checkbox"] {
margin-right: 10px;
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}