summaryrefslogtreecommitdiff
path: root/événements.css
diff options
context:
space:
mode:
Diffstat (limited to 'événements.css')
-rw-r--r--événements.css15
1 files changed, 14 insertions, 1 deletions
diff --git a/événements.css b/événements.css
index e76a531..5ee11c5 100644
--- a/événements.css
+++ b/événements.css
@@ -10,8 +10,21 @@
}
.event {
+ position: relative;
+ background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
- background-color: #fff;
+}
+
+.event img {
+ position: absolute;
+ object-position: center;
+ object-fit: cover;
+ height: 100%;
+ width: 100%;
+}
+
+.event p {
+ z-index: 1;
}