diff --git a/src/assets/styles/style.css b/src/assets/styles/style.css index 3780fbed..5e1a0689 100644 --- a/src/assets/styles/style.css +++ b/src/assets/styles/style.css @@ -6,16 +6,11 @@ * copyright 2022 codewithsadee */ - - - - /*-----------------------------------*\ #CUSTOM PROPERTY \*-----------------------------------*/ :root { - /** * colors */ @@ -49,8 +44,8 @@ * typography */ - --ff-nunito: 'Nunito', sans-serif; - --ff-open-sans: 'Open Sans', sans-serif; + --ff-nunito: "Nunito", sans-serif; + --ff-open-sans: "Open Sans", sans-serif; --fs-1: 2.125rem; --fs-2: 1.875rem; @@ -89,26 +84,27 @@ --shadow-1: 3px 3px 9px hsla(240, 14%, 69%, 0.2); --shadow-2: 3px 3px 9px hsla(204, 92%, 59%, 0.3); - } - - - - /*-----------------------------------*\ #RESET \*-----------------------------------*/ -*, *::before, *::after { +*, +*::before, +*::after { margin: 0; padding: 0; box-sizing: border-box; } -li { list-style: none; } +li { + list-style: none; +} -a { text-decoration: none; } +a { + text-decoration: none; +} a, img, @@ -116,7 +112,9 @@ span, label, input, button, -ion-icon { display: block; } +ion-icon { + display: block; +} button, input { @@ -125,11 +123,17 @@ input { font: inherit; } -button { cursor: pointer; } +button { + cursor: pointer; +} -input { width: 100%; } +input { + width: 100%; +} -ion-icon { pointer-events: none; } +ion-icon { + pointer-events: none; +} html { font-family: var(--ff-open-sans); @@ -138,13 +142,13 @@ html { line-height: 1.5; scroll-behavior: smooth; overflow-x: hidden; - overflow-y:auto; + overflow-y: auto; } body { background: var(--alice-blue-1); overflow-x: hidden; - overflow-y:auto; + overflow-y: auto; padding-top: 10px; } @@ -175,45 +179,69 @@ body.dark .navbar-link, body.dark .card-item-text, body.dark .footer-text, body.dark .copyright, -body.dark .footer-link { color: var(--independence); } +body.dark .footer-link { + color: var(--independence); +} body.dark .h1, body.dark .h2, -body.dark .h3 { color: var(--space-cadet); } +body.dark .h3 { + color: var(--space-cadet); +} -body.dark .header.active { box-shadow: var(--shadow-1); } +body.dark .header.active { + box-shadow: var(--shadow-1); +} -body.dark .user-btn ion-icon { color: var(--eerie-black); } +body.dark .user-btn ion-icon { + color: var(--eerie-black); +} -body.dark .overlay { background: var(--alice-blue-2); } +body.dark .overlay { + background: var(--alice-blue-2); +} ::-webkit-scrollbar { width: 15px; height: 10px; } -::-webkit-scrollbar-track { background: var(--white); } +::-webkit-scrollbar-track { + background: var(--white); +} ::-webkit-scrollbar-thumb { background: hsla(219, 14%, 60%, 0.3); border: 2px solid var(--white); } -::-webkit-scrollbar-thumb:hover { background: hsla(219, 14%, 60%, 0.5); } - - - +::-webkit-scrollbar-thumb:hover { + background: hsla(219, 14%, 60%, 0.5); +} +/* Dark mode logo visibility */ +body.dark .navbar-brand img { + filter: brightness(0) invert(1); + opacity: 1; + transition: opacity 0.3s ease; +} +.navbar-brand{ + margin-left: 5rem; +} /*-----------------------------------*\ #REUSED STYLE \*-----------------------------------*/ .container { - width: 100%; - padding-inline: 15px; } + width: 100%; + padding-inline: 15px; +} -button, a { transition: var(--transition); } +button, +a { + transition: var(--transition); +} .btn { position: relative; @@ -246,13 +274,17 @@ button, a { transition: var(--transition); } transition: var(--transition); } -.btn:is(:hover, :focus) { box-shadow: var(--shadow-2); } - -.btn:is(:hover, :focus)::before { opacity: 1; } - -.section { padding-block: var(--section-padding); } +.btn:is(:hover, :focus) { + box-shadow: var(--shadow-2); +} +.btn:is(:hover, :focus)::before { + opacity: 1; +} +.section { + padding-block: var(--section-padding); +} .h1, .h2, @@ -268,23 +300,27 @@ button, a { transition: var(--transition); } } .h2, -.h3 { font-weight: var(--fw-400); } - -.h2 { font-size: var(--fs-2); } - -.h3 { font-size: var(--fs-4); } - -.w-100 { width: 100%; } - +.h3 { + font-weight: var(--fw-400); +} +.h2 { + font-size: var(--fs-2); +} +.h3 { + font-size: var(--fs-4); +} +.w-100 { + width: 100%; +} /*-----------------------------------*\ #HEADER \*-----------------------------------*/ -.header-contact { +.header-contact { display: none; white-space: nowrap; } @@ -299,7 +335,9 @@ button, a { transition: var(--transition); } z-index: 4; } -.header.active { box-shadow: var(--shadow-1); } +.header.active { + box-shadow: var(--shadow-1); +} .header .container { height: 70px; @@ -314,10 +352,15 @@ button, a { transition: var(--transition); } gap: 20px; width: 35%; } +.logo { + margin-left: 4rem; +} -.header-actions .btn span { display: none; } +.header-actions .btn span { + display: none; +} -.user-btn ion-icon{ +.user-btn ion-icon { --color: var(--independence); --background: var(--white); --shadow-2: var(--shadow-1); @@ -334,11 +377,17 @@ button, a { transition: var(--transition); } transition: var(--transition); } -.nav-toggle-btn span.two { transform: scaleX(0.7); } +.nav-toggle-btn span.two { + transform: scaleX(0.7); +} -.nav-toggle-btn span.three { transform: scaleX(0.4); } +.nav-toggle-btn span.three { + transform: scaleX(0.4); +} -.nav-toggle-btn:is(:hover, :focus) span { background: var(--carolina-blue); } +.nav-toggle-btn:is(:hover, :focus) span { + background: var(--carolina-blue); +} .nav-toggle-btn.active span { transform: scaleX(1); @@ -374,7 +423,9 @@ button, a { transition: var(--transition); } margin-bottom: 15px; } -.navbar-link:is(:hover, :focus) { color: var(--carolina-blue); } +.navbar-link:is(:hover, :focus) { + color: var(--carolina-blue); +} .overlay { position: fixed; @@ -393,23 +444,18 @@ button, a { transition: var(--transition); } pointer-events: all; } -.header .container{ +.header .container { box-shadow: var(--shadow-1); color: #e3ff00; } - - - - - - - /*-----------------------------------*\ #HERO \*-----------------------------------*/ -.hero { padding-top: 120px; } +.hero { + padding-top: 120px; +} .hero-title { max-width: 20ch; @@ -422,7 +468,9 @@ button, a { transition: var(--transition); } margin-bottom: 30px; } -.hero-banner { display: none; } +.hero-banner { + display: none; +} .hero-form { background: var(--gradient); @@ -432,21 +480,19 @@ button, a { transition: var(--transition); } font-family: var(--ff-nunito); } -.input-wrapper { +.input-wrapper { padding: 15px 20px; display: grid; grid-template-columns: 35% 45%; align-items: center; - width: 100%; - } - - - -.input-wrapper:not(:last-of-type) { border-bottom: 1px solid hsla(0, 0%, 0%, 0.08); } - + width: 100%; +} +.input-wrapper:not(:last-of-type) { + border-bottom: 1px solid hsla(0, 0%, 0%, 0.08); +} -.filter-sort-section{ +.filter-sort-section { height: auto; width: 95%; margin: auto; @@ -455,19 +501,14 @@ button, a { transition: var(--transition); } padding-bottom: 40px; border: 2px solid #000000; border-radius: 30px; - } -.grid-container{ - display: grid; - grid-template-columns: repeat(2,1fr); - justify-items: baseline; +.grid-container { + display: grid; + grid-template-columns: repeat(2, 1fr); + justify-items: baseline; } - - - - .input-label { color: var(--manatee); font-size: var(--fs-6); @@ -482,9 +523,13 @@ button, a { transition: var(--transition); } transition: var(--transition); } -.input-field:focus { outline-color: var(--carolina-blue); } +.input-field:focus { + outline-color: var(--carolina-blue); +} -.input-field::placeholder { color: var(--independence); } +.input-field::placeholder { + color: var(--independence); +} .hero-form .btn { --width: calc(100% - 40px); @@ -493,10 +538,6 @@ button, a { transition: var(--transition); } text-transform: uppercase; } - - - - /*-----------------------------------*\ #FEATURED CAR \*-----------------------------------*/ @@ -518,16 +559,22 @@ button, a { transition: var(--transition); } font-size: var(--fs-6); } -.featured-car-link span { transition: var(--transition); } +.featured-car-link span { + transition: var(--transition); +} -.featured-car-link:is(:hover, :focus) span { color: var(--space-cadet); } +.featured-car-link:is(:hover, :focus) span { + color: var(--space-cadet); +} .featured-car-link ion-icon { margin-top: 3px; transition: var(--transition); } -.featured-car-link:is(:hover, :focus) ion-icon { color: var(--carolina-blue); } +.featured-car-link:is(:hover, :focus) ion-icon { + color: var(--carolina-blue); +} .featured-car-list { display: grid; @@ -555,7 +602,9 @@ button, a { transition: var(--transition); } object-fit: cover; } -.featured-car-card .card-content { padding: 20px 10px 10px; } +.featured-car-card .card-content { + padding: 20px 10px 10px; +} .featured-car-card .card-title-wrapper { display: flex; @@ -565,7 +614,9 @@ button, a { transition: var(--transition); } margin-bottom: 15px; } -.featured-car-card .card-title { width: calc(100% - 60px); } +.featured-car-card .card-title { + width: calc(100% - 60px); +} .featured-car-card .card-title > a { color: inherit; @@ -575,7 +626,9 @@ button, a { transition: var(--transition); } text-overflow: ellipsis; } -.featured-car-card .card-title > a:is(:hover, :focus) { color: var(--carolina-blue); } +.featured-car-card .card-title > a:is(:hover, :focus) { + color: var(--carolina-blue); +} .featured-car-card .year { font-family: var(--ff-nunito); @@ -644,22 +697,22 @@ button, a { transition: var(--transition); } --shadow-2: none; } -.featured-car-card .fav-btn ion-icon { font-size: 18px; } +.featured-car-card .fav-btn ion-icon { + font-size: 18px; +} .featured-car-card .fav-btn:is(:hover, :focus) { --background: var(--lavender-blush); --color: var(--red-salsa); } - - - - /*-----------------------------------*\ #GET START \*-----------------------------------*/ -.get-start .section-title { margin-bottom: 25px; } +.get-start .section-title { + margin-bottom: 25px; +} .get-start-list { display: grid; @@ -722,7 +775,9 @@ button, a { transition: var(--transition); } margin-bottom: 15px; } -.get-start-card .card-text { color: var(--independence); } +.get-start-card .card-text { + color: var(--independence); +} .get-start-card .card-link { position: relative; @@ -741,13 +796,15 @@ button, a { transition: var(--transition); } transition: var(--transition); } -.get-start-card .card-link:is(:hover, :focus)::before { width: 100%; } +.get-start-card .card-link:is(:hover, :focus)::before { + width: 100%; +} /*-----------------------------------*\ #REVIEW \*-----------------------------------*/ -@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap"); @keyframes slide { 0% { @@ -790,184 +847,158 @@ button, a { transition: var(--transition); } .reviews-slide { display: flex; animation: 6s slide infinite linear; - width: calc(300px * 1.4);; + width: calc(300px * 1.4); } +.reviews .contain h2 { + font-family: var(--ff-nunito); + color: #32324e; + font-size: var(--fs-2); + display: block; + text-align: justify; -.reviews .contain h2{ - font-family: var(--ff-nunito); - color: #32324e; - font-size: var(--fs-2); - display:block; - text-align: justify; - - font-weight: var(--fw-400); - margin-inline-end: 120px; + font-weight: var(--fw-400); + margin-inline-end: 120px; } -.eachdiv -{ +.eachdiv { width: fit-content; height: 500px; - padding: 1rem 1.5rem; + padding: 1rem 1.5rem; border-radius: 0.8rem; - box-shadow: 5px 5px 20px #6d6b6b6b; + box-shadow: 5px 5px 20px #6d6b6b6b; color: white; margin: 0rem 1rem; } -.div1 -{ - background: #18202d; -} -.div2 -{ - background:#49556B; - -} -.div3 -{ - background: white; - - color: black; -} -.div4 -{ - background: white; - - color: black; -} -.div5 -{ - background: #18202D; - -} -.userdetails -{ - display: flex; -} -.imgbox -{ - margin-right: 1rem; -} -.imgbox img -{ - border-radius: 100%; - width: 2rem; - border: 2px solid #cec5c5; -} -.detbox -{ - display: flex; - flex-direction: column; - justify-content: center; +.div1 { + background: #18202d; +} +.div2 { + background: #49556b; +} +.div3 { + background: white; + + color: black; } -.detbox p -{ - margin: 0; +.div4 { + background: white; + + color: black; } -.detbox .name -{ - color: hsl(0, 0%, 81%); - font-size: 0.9rem; - margin-bottom: 0.1rem; - font-weight: 600; +.div5 { + background: #18202d; } -.detbox .name.dark -{ - color: #49505A; +.userdetails { + display: flex; } -.detbox .designation -{ - color: hsl(0, 0%, 81%); - opacity: 50%; - font-size: 0.8rem; +.imgbox { + margin-right: 1rem; } -.detbox .designation.dark -{ - color: #49505A; +.imgbox img { + border-radius: 100%; + width: 2rem; + border: 2px solid #cec5c5; } -.review{ +.detbox { + display: flex; + flex-direction: column; + justify-content: center; +} +.detbox p { + margin: 0; +} +.detbox .name { + color: hsl(0, 0%, 81%); + font-size: 0.9rem; + margin-bottom: 0.1rem; + font-weight: 600; +} +.detbox .name.dark { + color: #49505a; +} +.detbox .designation { + color: hsl(0, 0%, 81%); + opacity: 50%; + font-size: 0.8rem; +} +.detbox .designation.dark { + color: #49505a; +} +.review { margin-top: 2rem; width: 300px; height: 100%; } -.review h4 -{ - font-size: 1rem; - color: #F3DEFF; - font-weight: 600; - line-height: 1.5; - margin-bottom: 0.8rem; -} -.review.dark h4{ - color:#4B5258; -} -.review p -{ - font-size: 0.9rem; - color: #F3DEFF; - font-weight: 500; - opacity: 50%; - line-height: 1.5; - height: 50%; -} -.review.dark p{ - color: #0e0e0e; -} -.attribution -{ - font-size: 1rem; - line-height: 1.5; - position: fixed; - bottom: 1rem; - right: 1rem; - text-align: right; -} -.attribution a -{ - text-decoration: none; -} - - -@media only screen and (max-width: 768px) -{ -.reviews-slide { - display: flex; - animation: 25s slide infinite linear; - width: calc(300px * 4.4); +.review h4 { + font-size: 1rem; + color: #f3deff; + font-weight: 600; + line-height: 1.5; + margin-bottom: 0.8rem; +} +.review.dark h4 { + color: #4b5258; +} +.review p { + font-size: 0.9rem; + color: #f3deff; + font-weight: 500; + opacity: 50%; + line-height: 1.5; + height: 50%; +} +.review.dark p { + color: #0e0e0e; +} +.attribution { + font-size: 1rem; + line-height: 1.5; + position: fixed; + bottom: 1rem; + right: 1rem; + text-align: right; +} +.attribution a { + text-decoration: none; } +@media only screen and (max-width: 768px) { + .reviews-slide { + display: flex; + animation: 25s slide infinite linear; + width: calc(300px * 4.4); + } - .review{ + .review { width: 240px; } - - .reviews .contain h2{ + .reviews .contain h2 { font-family: var(--ff-nunito); color: #32324e; font-size: var(--fs-2); - display:block; + display: block; text-align: justify; margin-inline-start: 20px; font-weight: var(--fw-400); margin-inline-end: 120px; -} - .div1 { - background-position-x: 10rem; - } - - .attribution - { - position: relative; - } -} + } + .div1 { + background-position-x: 10rem; + } + .attribution { + position: relative; + } +} /*-----------------------------------*\ #BLOG \*-----------------------------------*/ -.blog .section-title { margin-bottom: 30px; } +.blog .section-title { + margin-bottom: 30px; +} .blog-card { background: var(--alice-blue-2); @@ -983,7 +1014,9 @@ button, a { transition: var(--transition); } overflow: hidden; } -.blog-card .card-banner a:first-child { height: 100%; } +.blog-card .card-banner a:first-child { + height: 100%; +} .blog-card .card-banner img { height: 100%; @@ -998,13 +1031,21 @@ button, a { transition: var(--transition); } --width: 92px; } -.blog-card .card-content { padding: 20px; } +.blog-card .card-content { + padding: 20px; +} -.blog-card .card-title { margin-bottom: 20px; } +.blog-card .card-title { + margin-bottom: 20px; +} -.blog-card .card-title > a { color: inherit; } +.blog-card .card-title > a { + color: inherit; +} -.blog-card .card-title > a:is(:hover, :focus) { color: var(--carolina-blue); } +.blog-card .card-title > a:is(:hover, :focus) { + color: var(--carolina-blue); +} .blog-card .card-meta { display: flex; @@ -1012,7 +1053,6 @@ button, a { transition: var(--transition); } align-items: center; } - .blog-wrapper { position: relative; } @@ -1029,13 +1069,13 @@ button, a { transition: var(--transition); } top: 50%; transform: translateY(-50%); z-index: 1; - box-shadow: 0 0 10px rgba(0,0,0,0.1); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .left-arrow:hover, .right-arrow:hover { - background-color:var(--carolina-blue, #4d9de0); - transform: translateY(-50%) scale(1.1); + background-color: var(--carolina-blue, #4d9de0); + transform: translateY(-50%) scale(1.1); } .left-arrow { @@ -1046,17 +1086,16 @@ button, a { transition: var(--transition); } right: 10px; } - -.blog-card .card-author{ +.blog-card .card-author { display: flex; - align-items: center; - gap: 10px; + align-items: center; + gap: 10px; } -.blog-card .author-name{ +.blog-card .author-name { font-size: var(--fs-6, 14px); - color: var(--independence, #4a4e69); - font-weight: 500; + color: var(--independence, #4a4e69); + font-weight: 500; padding-top: 25px; padding-bottom: 8px; } @@ -1067,12 +1106,10 @@ button, a { transition: var(--transition); } border-radius: 50%; object-fit: cover; margin-top: 10px; - border: 2px solid var(--carolina-blue, #4d9de0); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + border: 2px solid var(--carolina-blue, #4d9de0); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } - - .blog-card :is(.publish-date, .comments) { display: flex; align-items: center; @@ -1113,9 +1150,9 @@ button, a { transition: var(--transition); } border-radius: 10px; } -.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); } - - +.has-scrollbar::-webkit-scrollbar-button { + width: calc(25% - 40px); +} /*-----------------------------------*\ #FOOTER @@ -1126,7 +1163,7 @@ button, a { transition: var(--transition); } background-color: hsl(204deg 83.2% 63.42%); padding: 2rem 1rem; margin-top: 5rem; - font-family: 'Segoe UI', sans-serif; + font-family: "Segoe UI", sans-serif; font-size: 1rem; } @@ -1134,7 +1171,6 @@ button, a { transition: var(--transition); } color: inherit; } - .footer-top { padding-block: 60px; display: flex; @@ -1186,7 +1222,7 @@ button, a { transition: var(--transition); } transform: scale(1.1); } -.iconss:hover{ +.iconss:hover { transform: scale(1.2); } @@ -1202,14 +1238,14 @@ button, a { transition: var(--transition); } .social-list { display: grid; - grid-template-columns: repeat(2 , 1fr); + grid-template-columns: repeat(2, 1fr); align-items: start; gap: 20px; margin-bottom: 20px; } .social-link { - display: flex; + display: flex; align-items: center; gap: 1rem; font-size: 18px; @@ -1227,21 +1263,18 @@ button, a { transition: var(--transition); } .copyright { font-size: var(--fs-6); } -#copyright-year{ +#copyright-year { display: inline; } .copyright > a { display: inline-flex; - } .copyright > a:is(:hover, :focus) { color: var(--carolina-blue); } - - /*-----------------------------------*\ #MEDIA QUERIES \*-----------------------------------*/ @@ -1251,32 +1284,29 @@ button, a { transition: var(--transition); } */ @media (min-width: 350px) { - /** * FEATURED CAR */ - .featured-car-card .card-list { grid-template-columns: 1fr 1fr; } + .featured-car-card .card-list { + grid-template-columns: 1fr 1fr; + } - .featured-car-card .card-price { margin-right: auto; } + .featured-car-card .card-price { + margin-right: auto; + } .featured-car-card .btn:last-child { min-width: max-content; padding-inline: 15px; } - } - - - - /** * responsive for large than 580px screen */ @media (min-width: 580px) { - /** * REUSED STYLE */ @@ -1286,8 +1316,6 @@ button, a { transition: var(--transition); } margin-inline: auto; } - - /** * HEADER */ @@ -1298,52 +1326,44 @@ button, a { transition: var(--transition); } padding-inline: 15px; } - .header-actions .btn:first-of-type ion-icon { display: none; } - + .header-actions .btn:first-of-type ion-icon { + display: none; + } } - - - - /** * responsive for large than 768px screen */ @media (min-width: 768px) { - /** * CUSTOM PROPERTY */ :root { - /** * typography */ --fs-1: 2.625rem; - } - - /** * REUSED STYLE */ - .container { - max-width: 9620px; + .container { + max-width: 9620px; margin: 0%; } - - /** * HEADER */ - .header-actions { gap: 30px; } + .header-actions { + gap: 30px; + } .header-contact { display: block; @@ -1357,15 +1377,15 @@ button, a { transition: var(--transition); } line-height: 1.3; } - .header-contact .contact-link:is(:hover, :focus) { color: var(--carolina-blue); } + .header-contact .contact-link:is(:hover, :focus) { + color: var(--carolina-blue); + } .header-contact .contact-time { color: var(--independence); font-size: var(--fs-7); } - - /** * HERO */ @@ -1407,7 +1427,6 @@ button, a { transition: var(--transition); } width: 40%; border-radius: 30px; z-index: -1; - } .hero-form .btn { width: 150px; @@ -1415,59 +1434,63 @@ button, a { transition: var(--transition); } text-transform: uppercase; } - /** * FEATURED CAR */ - .featured-car-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } - - + .featured-car-list { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } /** * GET START */ - .get-start-list { grid-template-columns: 1fr 1fr; } - - + .get-start-list { + grid-template-columns: 1fr 1fr; + } /** * FOOTER */ - .footer-brand { width: 100%; } + .footer-brand { + width: 100%; + } - .footer-text { max-width: 90%; } + .footer-text { + max-width: 90%; + } .footer-bottom { - display: flex; + display: flex; justify-content: center; align-items: center; padding-block: 30px; } - .social-list { margin-bottom: 0; } - + .social-list { + margin-bottom: 0; + } } /* * responsive for max-width 1226 for hero banner */ - @media (max-width: 1226px) { - .hero-banner{ +@media (max-width: 1226px) { + .hero-banner { background-size: contain; background-position: center left; } - } - @media (max-width: 1074px) { - .hero-form{ +} +@media (max-width: 1074px) { + .hero-form { display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; width: 400px !important; } - .hero-banner{ + .hero-banner { background-position: center left; background-size: contain; width: 57%; @@ -1475,121 +1498,112 @@ button, a { transition: var(--transition); } top: 22px; left: 42%; } - - } - @media (max-width:998px) and (min-width:768px) { - .hero-form{ +} +@media (max-width: 998px) and (min-width: 768px) { + .hero-form { display: none !important; } - .hero-content{ + .hero-content { position: relative; bottom: 81px; } - } - - - - +} /** * responsive for large than 992px screen */ @media (min-width: 992px) { - /** * REUSED STYLE */ - .container { max-width: 100%; } + .container { + max-width: 100%; + } - .header .container{ + .header .container { max-width: 1000000px; } - - /** * HERO */ - .hero .container { width: 100%; } - + .hero .container { + width: 100%; + } + .hero-form { display: grid; width: 600px; grid-template-columns: 1fr 0.8fr 0.8fr; } - - /** * BLOG */ - .blog .has-scrollbar { padding-bottom: 50px; } - - .blog .has-scrollbar > li { max-width: 450px; } - + .blog .has-scrollbar { + padding-bottom: 50px; + } + .blog .has-scrollbar > li { + max-width: 450px; + } /** * FOOTER */ - .footer-list:not(:last-of-type) { width: 25%; } - - .footer-list:last-of-type { width: 50%; } + .footer-list:not(:last-of-type) { + width: 25%; + } + .footer-list:last-of-type { + width: 50%; + } } - - - - /** * responsive for large than 1200px screen */ @media (min-width: 1305px) { - /** * CUSTOM PROPERTY */ :root { - /** * typography */ --fs-1: 2.875rem; --fs-2: 2rem; - } - - /** * REUSED STYLE */ - .container { + .container { margin-right: 40px; } - - - /** * HEADER */ .overlay, - .nav-toggle-btn { display: none; } + .nav-toggle-btn { + display: none; + } .navbar, - .navbar.active { all: unset; } + .navbar.active { + all: unset; + } .navbar-link { margin-bottom: 0; @@ -1601,16 +1615,17 @@ button, a { transition: var(--transition); } gap: 50px; } - .header .container{ + .header .container { max-width: 1000000px; } - /** * HERO */ - .hero { min-height: 100vh; } + .hero { + min-height: 100vh; + } .hero-banner { left: auto; @@ -1618,7 +1633,9 @@ button, a { transition: var(--transition); } width: 630px; } - .hero-form { max-width: 550px; } + .hero-form { + max-width: 550px; + } .hero-form .btn { width: 150px; @@ -1626,23 +1643,21 @@ button, a { transition: var(--transition); } text-transform: uppercase; } - - /** * FEATURED CAR */ - .featured-car-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } - - + .featured-car-list { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } /** * GET START */ - .get-start-list { grid-template-columns: repeat(4, 1fr); } - - + .get-start-list { + grid-template-columns: repeat(4, 1fr); + } /** * BLOG @@ -1653,20 +1668,25 @@ button, a { transition: var(--transition); } scroll-snap-align: center; } - - /** * FOOTER */ - .footer-brand { width: 33.33%; } - - .footer-text { max-width: 35ch; } + .footer-brand { + width: 33.33%; + } - .footer-list:not(:last-of-type) { width: 16.66%; } + .footer-text { + max-width: 35ch; + } - .footer-list:last-of-type { width: 33.33%; } + .footer-list:not(:last-of-type) { + width: 16.66%; + } + .footer-list:last-of-type { + width: 33.33%; + } } .user-btn { display: inline-flex !important; @@ -1683,7 +1703,6 @@ button, a { transition: var(--transition); } visibility: visible !important; } -.social-list{ - +.social-list { margin-right: 40px; -} \ No newline at end of file +} diff --git a/src/index.html b/src/index.html index 339e8093..ecafd65f 100644 --- a/src/index.html +++ b/src/index.html @@ -1,918 +1,996 @@ +
+ + + + + +
-
-
-
-
-
+
+
+ + If you are going to use a passage of Lorem Ipsum, you need + to be sure. +
- + -- If you are going to use a passage of Lorem Ipsum, you need to be sure. -
++ Just enter your location with one click from the comfort of + your home and we will do the rest. +
+Just enter your location with one click from the comfort of your home and we will - do the rest. -
++ There are many variations of passages of Lorem available, + but the majority have suffered alteration +
++ Tips, news, and essential guides for renters & hosts. +
+ +
+ Company
+