From f9fa70a7574553bfe614550887130c968b854423 Mon Sep 17 00:00:00 2001 From: Atharv Joshi Date: Mon, 26 Jul 2021 15:56:50 +0530 Subject: [PATCH] changed banner image to carousel , added some media queries to prevent breaking of code --- css/style.css | 21 +++++++++++++++++++-- index.html | 45 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 03c0ed0..1d20e73 100644 --- a/css/style.css +++ b/css/style.css @@ -187,8 +187,7 @@ td { .banner { - background-image: url(../images/banner_2021.png); - background-position: center; + background-position: center ; background-repeat: no-repeat; -moz-background-size: cover; -o-background-size: cover; @@ -197,6 +196,10 @@ td { margin-bottom: 30px; } +.carousel-indicators{ + margin: auto !important; +} + #intro { display: table; width: 100%; @@ -1817,4 +1820,18 @@ body.mobile-nav-active #mobile-nav-toggle { #mobile-nav-toggle { display: inline; } +} + +@media only screen + and (max-width : 768px) { + .banner { + min-height: 350px; + } +} + +@media only screen + and (max-width : 425px) { + .carousel-inner img{ + height: 400px ; + } } \ No newline at end of file diff --git a/index.html b/index.html index 52e07b1..5f0bf5b 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,7 @@ + @@ -96,7 +97,48 @@ ============================--> - + @@ -539,6 +581,7 @@

Contact Us

+