From 58dd7ea7044e51b4cbdcf323f5082b62061b4132 Mon Sep 17 00:00:00 2001 From: Giacomo Date: Tue, 19 Nov 2024 16:43:59 +0100 Subject: [PATCH] events style updates --- directories/events-directory/style.css | 101 ++++++++++++++++++++----- 1 file changed, 80 insertions(+), 21 deletions(-) diff --git a/directories/events-directory/style.css b/directories/events-directory/style.css index 1cace2a1..c07a48a1 100644 --- a/directories/events-directory/style.css +++ b/directories/events-directory/style.css @@ -34,6 +34,86 @@ border-bottom: 1px solid rgba(235, 235, 235, 0); } +/* ––––––––––– */ + + +/* Cover */ + +.cover-cta { + display: flex; + flex-direction: row; + gap: 20px; +} + +.cover-image img { + max-height: 55vh; +} + +.cover-cta .details { + display: flex; + align-items: center; + justify-content: center; + gap: 10px; + background: #002e67; + padding: 10px 15px; + border-radius: 4px; + font-size: 15px; + line-height: 1.5em; + color: #fff; + transition: all 0.3s ease-in-out; +} + +.cover-cta .details:hover { + background: #002452; +} + +.cover-cta .details:any-link { + color: #fff !important; +} + +.cover-cta .details-negative { + display: flex; + align-items: center; + justify-content: center; + gap: 10px; + background: rgba(255, 255, 255, 0); + padding: 10px 15px; + border: 1px solid #fff; + border-radius: 4px; + font-size: 15px; + line-height: 1.5em; + color: #fff; + transition: all 0.3s ease-in-out; +} + +.cover-cta .details-negative:hover, +.cover-cta .details-negative:focus { + background: rgba(255, 255, 255, 1); + color: #002E67 !important; +} + +.details { + display: flex; + align-items: center; + background: #002e67; + padding: 10px 15px; + border-radius: 4px; + font-size: 15px; + line-height: .7em; + color: #fff; + transition: all 0.3s ease-in-out; +} + +.details:hover { + background: #002452; + color: #fff; +} + +.details:any-link { + color: #fff !important; +} + + /* ––––––––––– */ .section-title { @@ -756,27 +836,6 @@ padding: 0px; } -.details { - display: flex; - align-items: center; - background: #002e67; - padding: 10px 15px; - border-radius: 4px; - font-size: 15px; - line-height: .7em; - color: #fff; - transition: all 0.3s ease-in-out; -} - -.details:hover { - background: #002452; - color: #fff; -} - -.details:any-link { - color: #fff !important; -} - /* –––––––––––––––– */