From 8ad01ed8edec817b8fdec01c219510f650c87653 Mon Sep 17 00:00:00 2001 From: Om Kate Date: Wed, 14 Aug 2024 00:36:14 +0530 Subject: [PATCH] event.css fixed --- styles/events.css | 23 +++++++++++++++-------- styles/team.css | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/styles/events.css b/styles/events.css index e67138a..38dcf20 100644 --- a/styles/events.css +++ b/styles/events.css @@ -28,7 +28,7 @@ html { } .container { - max-width: 100%vh; + max-width: 100vh; margin: 0 auto; padding: 50px 20px; } @@ -100,12 +100,6 @@ h2 { padding: 10px 20px; } -@media (max-width: 768px) { - .events-grid { - grid-template-columns: 1fr; - } -} - .event-card { position: relative; overflow: hidden; @@ -115,7 +109,7 @@ h2 { position: absolute; bottom: 10px; right: 10px; - background-color: blue; + background-color: rgba(0, 0, 255, 0); border-radius: 50%; padding: 10px; color: white; @@ -131,6 +125,19 @@ h2 { background-color: darkgray; } +.insta:hover i { + color: black; +} + +@media (max-width: 768px) { + .events-grid { + grid-template-columns: 1fr; + } + .container{ + padding: 2em 6em ; + } +} + #vanta-bg{ position:static !important; } diff --git a/styles/team.css b/styles/team.css index da44e17..4eaba7c 100644 --- a/styles/team.css +++ b/styles/team.css @@ -27,7 +27,7 @@ html { } .container { - max-width: 1200px; + max-width: 100vh; margin: 0 auto; padding: 50px 20px; }