From 9b2656cbd174bd115c3358c7cfa18cb8d28c6e43 Mon Sep 17 00:00:00 2001 From: ShilpaYadav1482 <78871549+ShilpaYadav1482@users.noreply.github.com> Date: Thu, 1 Jul 2021 18:02:53 +0530 Subject: [PATCH] Update style.css --- style.css | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/style.css b/style.css index 61a0f48..d8cf3c1 100644 --- a/style.css +++ b/style.css @@ -283,3 +283,121 @@ section font-weight: 500; text-decoration: none; } + +@media (max-width: 991px) +{ + header, + header.sticky + { + padding: 10px 20px; + } + header .navigation + { + display: none; + } + header .navigation .active + { + width: 100%; + height: calc(100% - 68px); + position: fixed; + top: 68px; + left: 0; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + background: #fff; + } + header .navigation li + { + margin-left: 0; + } + header .navigation li a + { + color: #111; + font-size: 1.6em; + } + .menuToggle + { + position: relative; + width: 40px; + height: 40px; + background: url(bg2.jpg); + background-size: 30px; + background-repeat: no-repeat; + background-position: center; + cursor: pointer; + } + .menuToggle.active + { + background: url(); + background-size: 25px; + background-repeat: no-repeat; + background-position: center; + + } + header.sticky .menuToggle + { + filter: invert(1); + } + section + { + padding: 20px; + } + .banner .content h2 + { + font-size: 3em; + color: #fff; + } + .row + { + flex-direction: column; + } + .row .col50 + { + position: relative; + width: 100%; + } + .row .col50 .imgBx + { + height: 300px; + margin-top: 20px; + } + .menu .content + { + margin-top: 20px; + } + .menu .content .box + { + margin: 10px; + } + .menu .content .box .imgBx + { + height: 260px; + } + .title + { + text-align: center; + } + .titleText + { + font-size: 1.8em; + line-height: 1.5em; + margin-bottom: 15px; + font-weight: 300; + } + .contactForm + { + padding: 35px 40px; + margin-top: 20px; + margin-bottom: 30px; + } +} +@media (max-width: 480px) +{ + .banner .content h2 + { + font-size: 2.2em; + color: #fff; + } +}