From 0efa60fdbca40f4478ca5eb046571e5a88b25ccb Mon Sep 17 00:00:00 2001 From: Sannidhya Dasgupta <73464131+Sannidhya127@users.noreply.github.com> Date: Mon, 26 Oct 2020 15:35:35 +0530 Subject: [PATCH] created style.css --- templates/style.css | 235 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 templates/style.css diff --git a/templates/style.css b/templates/style.css new file mode 100644 index 00000000..5d4c18bf --- /dev/null +++ b/templates/style.css @@ -0,0 +1,235 @@ +/******* google font ****/ +@import url('https://fonts.googleapis.com/css?family=Poppins|Ubuntu&display=swap'); + +* +{ + box-sizing: border-box; + margin: 0; + padding: 0; +} +body +{ + background: #fff; + font-family: 'Ubuntu',sans-serif; +} +.services +{ + display: block; + position: relative; + padding: 0; +} +.container +{ + max-width: 1200px; + padding-left: 15px; + padding-right: 15px; + margin-left: auto; + margin-right: auto; +} +.services-title +{ + display: flex; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + + +.services-box +{ + display: flex; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; + margin-top: -15px; +} + +.title +{ + margin-left: 15px; + position: relative; + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-bottom:40px; + text-align: center; + top: 26px; + +} +.services-title h2 span +{ + color: #3c44a9; +} +.services-title h2 +{ + margin-top: -10px; + margin-bottom: 6px; + text-transform: uppercase; + font-size: 36px; + line-height: 48px; + font-weight: 700; + color: #333; + font-family:'Ubuntu',sans-serif; +} + +.box +{ + position: relative; + width: 100%; + padding-right: 15px; + padding-left: 15px; + max-width: 33.333333%; +} +.ser-box +{ + margin-top: 75px; + padding-bottom: 30px; + padding: 0 60px; + min-height: 198px; + text-align: center; + border-radius: 10px; + background-color: #fff; + transition: all .4s ease-in-out; + box-shadow: 0 0 25px 0 rgba(20,27,202,.17); +} + +.ser-box .icon +{ + margin-bottom: 0; + transform: translateY(-50%); + text-align: center; +} +.ser-box h4 +{ + font-weight: 700; + font-size: 20px; + line-height: 1; + color: #3c44a9; + margin-top: -10px; + font-family: 'Ubuntu',sans-serif; +} +.ser-box p +{ + color: #61648e; + line-height: 24px; + margin-top: 20px; + font-family:'Ubuntu',sans-serif; +} +.ser-box:hover +{ + box-shadow: 0 0 25px 0 rgba(20,27,201,.05); + cursor: pointer; + background-image: + linear-gradient(-45deg, #fb0054 0%, #f55b2a 100%); +} + +.ser-box:hover h4, +.ser-box:hover p +{ + color: #fff; +} + + + +.services-box .box:nth-child(1) .ser-box:hover +{ + background-image: + linear-gradient(-45deg, #34b5bf 0%, #210c59 100%); +} + + + +.services-box .box:nth-child(3) .ser-box:hover +{ + background-image: + linear-gradient(-45deg, #3615e7 0%, #44a2f6 100%); +} + +.services-box .box:nth-child(4) .ser-box:hover +{ + background-image: + linear-gradient(-45deg, #fc6a0e 0%, #fdb642 100%); +} + + +.services-box .box:nth-child(5) .ser-box:hover +{ + background-image: + linear-gradient(-45deg, #8d40fb 0%, #5a57fb 100%); +} + + + +.services-box .box:nth-child(6) .ser-box:hover +{ + background-image: + linear-gradient(-45deg, #27b88d 0%, #22dd73 100%); +} + + + +/********-Responsive-************/ + +@media(min-width: 768px) +{ + .box + { + flex: 0 0 50% !important; + max-width: 50% !important; + } +} + + + + + +@media(min-width: 600px) +{ + .box + { + flex: 0 0 50% !important; + max-width: 50% !important; + } +} + + + +@media(min-width: 992px) +{ + .box + { + flex: 0 0 33.333333% !important; + max-width: 33.333333% !important; + } +} + + + +@media(min-width: 414px) +{ + .box + { + flex: 0 0 100%; + max-width: 100%; + } +} + + +@media(min-width: 370px) +{ + .box + { + flex: 0 0 100%; + max-width: 100%; + } +} + + +@media(min-width: 320px) +{ + .box + { + flex: 0 0 100%; + max-width: 100%; + } +}