summaryrefslogtreecommitdiff
path: root/événements.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-10-21 23:16:35 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-10-21 23:19:11 +0200
commit2f291a86ae64a501033f6fb1141aa8f81b7af955 (patch)
tree87a36843a47264ebf132b4e2a00c17392729ff84 /événements.css
parentfaecfa554e8ac349706b97e5a438052832157c51 (diff)
downloadquatuorbellefeuille.com-2f291a86ae64a501033f6fb1141aa8f81b7af955.tar.xz
add event images
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;
}