From 4ca5c80ddafb4aabd8ccd6bb701d8aa18ccd890b Mon Sep 17 00:00:00 2001 From: Tanishq Sharma <123730739+TanishqSharma2022@users.noreply.github.com> Date: Mon, 4 Dec 2023 02:59:55 +0530 Subject: [PATCH] added carousel dots --- css/style.css | 30 ++++++++++++++++-------------- index.html | 46 ++++++++++++++++++++++++++-------------------- 2 files changed, 42 insertions(+), 34 deletions(-) diff --git a/css/style.css b/css/style.css index 99eec01..b39fb45 100644 --- a/css/style.css +++ b/css/style.css @@ -4,6 +4,10 @@ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); +html, body{ + overflow-x: hidden; +} + :root { --navlist-color: #cb7139; @@ -1472,22 +1476,15 @@ a { } -@keyframes appear{ - 0%{ - transform: scale(2); - } - 100%{ - transform: scale(1); - - } -} - .image_modal.appear{ display: block; + transition: all 0.5s ease-in-out; } .image_modal{ width: 100%; height: 100%; +transition: all 0.5s ease-in-out; + } .modal_image{ width: 100%; @@ -1500,6 +1497,7 @@ height: 100%; place-items: center; width: 100%; height: 100%; + transition: all 0.5s ease-in-out; } @@ -1512,15 +1510,15 @@ height: 100%; height: 80vh; /* background: white; */ background-size: cover; - animation: appear 200ms linear 1; display: flex; align-items: top; justify-content: space-around; - + transition: all 1s ease-in-out; } .modal_image{ height: 40%; object-fit: cover; + } .modal_content{ @@ -1602,12 +1600,16 @@ height: 100%; object-fit: cover; aspect-ratio: 1/1; width:100%; +} +.glide__bullet{ + background: var(--primary); +} +.glide__bullet--active{ + background: var(--accent); } .glide__arrow{ - /* background: black; */ - /* opacity: 0.5; */ display: flex; align-items: center; justify-content: center; diff --git a/index.html b/index.html index 1fc888c..2d6ee05 100644 --- a/index.html +++ b/index.html @@ -160,27 +160,21 @@

IISER BHOPAL

- - - - - - + - + + + + + +
@@ -328,8 +322,8 @@

SAC CONSTITUTION

@@ -344,13 +338,16 @@

Latest Activities

@@ -387,6 +384,12 @@

Latest Activities

+
+ + + + +