From 3a81cccd23a0806efaac1ac44809853018eef9b5 Mon Sep 17 00:00:00 2001 From: Rohan Date: Thu, 22 Apr 2021 20:16:02 +0530 Subject: [PATCH 1/2] events --- css/style.css | 32 ++++++++++++++++++++++++++ index.html | 64 +++++++++++++++++++++++++-------------------------- 2 files changed, 64 insertions(+), 32 deletions(-) diff --git a/css/style.css b/css/style.css index f740b49f..f24ba616 100644 --- a/css/style.css +++ b/css/style.css @@ -373,6 +373,38 @@ header #menu-bar{ transition-delay: .2s; } + +.events .box-container .eventbox { + + background:#fff; + width:35rem; + padding:2rem; + margin:2rem; + border-radius: 1rem; + box-shadow: 0 .3rem .5rem rgba(0,0,0,.2); + text-align: center; +} + +.events .box-container .eventbox img{ + padding: 1vmin; + width: 80%; +} + +.events .box-container .eventbox h3{ + padding-top: 1vmin; + text-align: center; + font-size: 5vmin; +} + +.dark-mode .events .box-container .eventbox .btn{ + color: black; +} + +.dark-mode .events .box-container .eventbox .btn:hover{ + background-color:var(--yellow); +} + + .events .box-container .box::before{ content: ''; position: absolute; diff --git a/index.html b/index.html index 826a02cc..b84a7573 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@