Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(32)
Non Standard
(1)
Reverse
(10)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(13)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
2 Stats
(0)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
Price List
(0)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Contact Forms
HTML
CSS
Core Styles
Choose your preferred CSS
CSS
LESS
SCSS
CSS Dark
LESS Dark
SCSS Dark
Choose your preferred Core Styles CSS
CSS
LESS
SCSS
-
Dark Mode
+
Dark Mode
Copy
to Clipboard
<!-- ============================================ --> <!-- Contact Form --> <!-- ============================================ --> <section id="cs-contact-242"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Here To Help</span> <h2 class="cs-title">Contact Us</h2> <p class="cs-text"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Scelerisque enim risus lorem diam. Viverra egestas penatibus feugiat vitae in dignissim. </p> </div> <!-- Form --> <form id="cs-form-242" name="Contact Form" method="post"> <label class="cs-label"> Name <input class="cs-input" required type="text" id="name-242" name="name" placeholder="John/Jane Doe"> </label> <label class="cs-label"> Email <input class="cs-input" required type="text" id="email-242" name="email" placeholder="name@company.com"> </label> <label class="cs-label"> Phone <input class="cs-input" required type="text" id="phone-242" name="phone" placeholder="+1 (206) 987-6543"> </label> <label class="cs-label"> How Did You Find Us <input class="cs-input" type="text" id="find-242" name="find-us" placeholder="Social Media, Family, Friend..."> </label> <label class="cs-label cs-label-message"> Message <textarea class="cs-input cs-textarea" required name="Message" id="message-242" placeholder="Hello, I’m interested in..."></textarea> </label> <button class="cs-button-solid cs-submit" type="submit">Submit Message Now</button> </form> <!-- Contact Info --> <div class="cs-right-section"> <ul class="cs-ul"> <li class="cs-li"> <picture class="cs-icon-wrapper"> <img aria-hidden="true" src="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/mail.svg" alt="mail icon" class="cs-icon" width="36" height="36" decoding="async"> </picture> <div class="cs-flex-group"> <span class="cs-header">Email</span> <a href="mailto:support@yourdomain.com" class="cs-link">support@yourdomain.com</a> </div> </li> <li class="cs-li"> <picture class="cs-icon-wrapper"> <img aria-hidden="true" src="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/phone.svg" alt="phone icon" class="cs-icon" width="36" height="36" decoding="async"> </picture> <div class="cs-flex-group"> <span class="cs-header">Phone</span> <a href="tel:206-987-6543" class="cs-link">(206) 987-6543</a> </div> </li> <li class="cs-li"> <picture class="cs-icon-wrapper"> <img aria-hidden="true" src="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/pin.svg" alt="address icon" class="cs-icon" width="36" height="36" decoding="async"> </picture> <div class="cs-flex-group"> <span class="cs-header">Address</span> <a href="" class="cs-link"><span class="cs-block">2553 Woodbridge Lane,</span> Boston Ware 120</a> </div> </li> </ul> <!-- Picture --> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/map-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/map.jpg"> <img class="cs-img" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Contact-Page/map.jpg" alt="google map" width="462" height="438"> </picture> </div> </div> </section>
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); } #cs-contact-242 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #cs-contact-242 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-contact-242 .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } #cs-contact-242 .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 32.625rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } #cs-contact-242 .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 32.625rem; margin: 0; color: var(--bodyTextColor); } #cs-contact-242 #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: 1rem; } #cs-contact-242 .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } #cs-contact-242 .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } #cs-contact-242 .cs-input, #cs-contact-242 .cs-textarea { font-size: 1rem; width: 100%; height: 4rem; margin-top: 0.25rem; padding-left: 1.25rem; /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; } #cs-contact-242 .cs-input:hover, #cs-contact-242 .cs-textarea:hover { border: 1px solid var(--primary); } #cs-contact-242 .cs-input::placeholder, #cs-contact-242 .cs-textarea::placeholder { color: #7d799c; } #cs-contact-242 .cs-textarea { font-family: inherit; margin: 0; padding-top: 1.25rem; min-height: 7.5rem; } #cs-contact-242 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #cs-contact-242 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #cs-contact-242 .cs-button-solid:hover:before { width: 100%; } #cs-contact-242 .cs-submit { width: 100%; border: none; border-radius: 0.5rem; } #cs-contact-242 .cs-submit:hover { cursor: pointer; } #cs-contact-242 .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } #cs-contact-242 .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: 1.25rem; } #cs-contact-242 .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; } #cs-contact-242 .cs-li:hover .cs-icon-wrapper { transform: scale(1.2); } #cs-contact-242 .cs-li:nth-of-type(2) { padding-bottom: 1.25rem; border-bottom: 1px solid #dad9e3; } #cs-contact-242 .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: 0.5rem; color: var(--headerColor); display: block; } #cs-contact-242 .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; } #cs-contact-242 .cs-link:hover:before { width: 100%; } #cs-contact-242 .cs-link:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } #cs-contact-242 .cs-block { /* drop the address to two lines */ display: block; } #cs-contact-242 .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } #cs-contact-242 .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } #cs-contact-242 .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 1.44; } #cs-contact-242 .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } #cs-contact-242 .cs-label { width: 48%; } #cs-contact-242 .cs-label-message { width: 100%; } #cs-contact-242 .cs-button-solid { margin-left: 0; } #cs-contact-242 .cs-right-section { flex-direction: row; align-items: center; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: 1.25em; row-gap: 4rem; } #cs-contact-242 #cs-form-242 { width: 50%; max-width: 40.625rem; } #cs-contact-242 .cs-label { width: 100%; } #cs-contact-242 .cs-right-section { width: 45%; max-width: 33.875rem; /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } #cs-contact-242 .cs-block { /* sets address stay in one line */ display: inline-block; } #cs-contact-242 .cs-picture { width: 100%; max-width: 100%; height: 27.375rem; } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); } #cs-contact-242 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #cs-contact-242 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-contact-242 .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: 0.1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } #cs-contact-242 .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 32.625rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } #cs-contact-242 .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 32.625rem; margin: 0; color: var(--bodyTextColor); } #cs-contact-242 #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: 1rem; } #cs-contact-242 .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } #cs-contact-242 .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } #cs-contact-242 .cs-input, #cs-contact-242 .cs-textarea { font-size: 1rem; width: 100%; height: 4rem; margin-top: 0.25rem; padding-left: 1.25rem; /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; } #cs-contact-242 .cs-input:hover, #cs-contact-242 .cs-textarea:hover { border: 1px solid var(--primary); } #cs-contact-242 .cs-input::placeholder, #cs-contact-242 .cs-textarea::placeholder { color: #7d799c; } #cs-contact-242 .cs-textarea { font-family: inherit; margin: 0; padding-top: 1.25rem; min-height: 7.5rem; } #cs-contact-242 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); border-radius: 0.25rem; display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #cs-contact-242 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: 0.25rem; transition: width 0.3s; } #cs-contact-242 .cs-button-solid:hover:before { width: 100%; } #cs-contact-242 .cs-submit { width: 100%; border: none; border-radius: 0.5rem; } #cs-contact-242 .cs-submit:hover { cursor: pointer; } #cs-contact-242 .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } #cs-contact-242 .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: 1.25rem; } #cs-contact-242 .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; } #cs-contact-242 .cs-li:hover .cs-icon-wrapper { transform: scale(1.2); } #cs-contact-242 .cs-li:nth-of-type(2) { padding-bottom: 1.25rem; border-bottom: 1px solid #dad9e3; } #cs-contact-242 .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: 0.5rem; color: var(--headerColor); display: block; } #cs-contact-242 .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; } #cs-contact-242 .cs-link:hover:before { width: 100%; } #cs-contact-242 .cs-link:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } #cs-contact-242 .cs-block { /* drop the address to two lines */ display: block; } #cs-contact-242 .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } #cs-contact-242 .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } #cs-contact-242 .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 1.44; } #cs-contact-242 .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } #cs-contact-242 .cs-label { width: 48%; } #cs-contact-242 .cs-label-message { width: 100%; } #cs-contact-242 .cs-button-solid { margin-left: 0; } #cs-contact-242 .cs-right-section { flex-direction: row; align-items: center; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: 1.25em; row-gap: 4rem; } #cs-contact-242 #cs-form-242 { width: 50%; max-width: 40.625rem; } #cs-contact-242 .cs-label { width: 100%; } #cs-contact-242 .cs-right-section { width: 45%; max-width: 33.875rem; /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } #cs-contact-242 .cs-block { /* sets address stay in one line */ display: inline-block; } #cs-contact-242 .cs-picture { width: 100%; max-width: 100%; height: 27.375rem; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #cs-contact-242 .cs-text, body.dark-mode #cs-contact-242 .cs-title { color: var(--bodyTextColorWhite); } body.dark-mode #cs-contact-242 #cs-form-242 label, body.dark-mode #cs-contact-242 #cs-form-242 input, body.dark-mode #cs-contact-242 #cs-form-242 textarea { background-color: transparent; color: var(--bodyTextColorWhite); } body.dark-mode #cs-contact-242 #cs-form-242 label::placeholder, body.dark-mode #cs-contact-242 #cs-form-242 input::placeholder, body.dark-mode #cs-contact-242 #cs-form-242 textarea::placeholder { /* lighten up the color of the text by 90%*/ filter: brightness(1.9); color: var(--bodyTextColorWhite); } body.dark-mode #cs-contact-242 .cs-icon { /* makes it so bright it turns white */ filter: brightness(900%); } body.dark-mode #cs-contact-242 .cs-header, body.dark-mode #cs-contact-242 .cs-link { color: var(--bodyTextColorWhite); } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: (16/16rem); } .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } .cs-input, .cs-textarea { font-size: (16/16rem); width: 100%; height: (64/16rem); margin-top: (4/16rem); padding-left: (20/16rem); /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; &:hover { border: 1px solid var(--primary); } &::placeholder { color: #7d799c; } } .cs-textarea { font-family: inherit; margin: 0; padding-top: (20/16rem); min-height: (120/16rem); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { width: 100%; border: none; border-radius: (8/16rem); &:hover { cursor: pointer; } } .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: (20/16rem); } .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:hover { .cs-icon-wrapper { transform: scale(1.2); } } &:nth-of-type(2) { padding-bottom: (20/16rem); border-bottom: 1px solid #dad9e3; } } .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: (8/16rem); color: var(--headerColor); display: block; } .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; &:hover { &:before { width: 100%; } } &:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } } .cs-block { /* drop the address to two lines */ display: block; } .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 288/200; } .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 { #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } .cs-label { width: 48%; } .cs-label-message { width: 100%; } .cs-button-solid { margin-left: 0; } .cs-right-section { flex-direction: row; align-items: center; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: (20/16em); row-gap: (64/16rem); } #cs-form-242 { width: 50%; max-width: (650/16rem); } .cs-label { width: 100%; } .cs-right-section { width: 45%; max-width: (542/16rem); /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } .cs-block { /* sets address stay in one line */ display: inline-block; } .cs-picture { width: 100%; max-width: 100%; height: (438/16rem); } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: (16/16rem); } .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } .cs-input, .cs-textarea { font-size: (16/16rem); width: 100%; height: (64/16rem); margin-top: (4/16rem); padding-left: (20/16rem); /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; &:hover { border: 1px solid var(--primary); } &::placeholder { color: #7d799c; } } .cs-textarea { font-family: inherit; margin: 0; padding-top: (20/16rem); min-height: (120/16rem); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); border-radius: (4/16rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: (4/16rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { width: 100%; border: none; border-radius: (8/16rem); &:hover { cursor: pointer; } } .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: (20/16rem); } .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:hover { .cs-icon-wrapper { transform: scale(1.2); } } &:nth-of-type(2) { padding-bottom: (20/16rem); border-bottom: 1px solid #dad9e3; } } .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: (8/16rem); color: var(--headerColor); display: block; } .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; &:hover { &:before { width: 100%; } } &:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } } .cs-block { /* drop the address to two lines */ display: block; } .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 288/200; } .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 { #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } .cs-label { width: 48%; } .cs-label-message { width: 100%; } .cs-button-solid { margin-left: 0; } .cs-right-section { flex-direction: row; align-items: center; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: (20/16em); row-gap: (64/16rem); } #cs-form-242 { width: 50%; max-width: (650/16rem); } .cs-label { width: 100%; } .cs-right-section { width: 45%; max-width: (542/16rem); /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } .cs-block { /* sets address stay in one line */ display: inline-block; } .cs-picture { width: 100%; max-width: 100%; height: (438/16rem); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #cs-contact-242 { .cs-text, .cs-title { color: var(--bodyTextColorWhite); } #cs-form-242 { label, input, textarea { background-color: transparent; color: var(--bodyTextColorWhite); &::placeholder { /* lighten up the color of the text by 90%*/ filter: brightness(1.9); color: var(--bodyTextColorWhite); } } } .cs-icon { /* makes it so bright it turns white */ filter: brightness(900%); } .cs-header, .cs-link { color: var(--bodyTextColorWhite); } } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: calc(16 / 16 * 1rem); } .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } .cs-input, .cs-textarea { font-size: calc(16 / 16 * 1rem); width: 100%; height: calc(64 / 16 * 1rem); margin-top: calc(4 / 16 * 1rem); padding-left: calc(20 / 16 * 1rem); /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; &:hover { border: 1px solid var(--primary); } &::placeholder { color: #7d799c; } } .cs-textarea { font-family: inherit; margin: 0; padding-top: calc(20 / 16 * 1rem); min-height: calc(120 / 16 * 1rem); } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); border-radius: calc(4 / 16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4 / 16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { width: 100%; border: none; border-radius: calc(8 / 16 * 1rem); &:hover { cursor: pointer; } } .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: calc(20 / 16 * 1rem); } .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:hover { .cs-icon-wrapper { transform: scale(1.2); } } &:nth-of-type(2) { padding-bottom: calc(20 / 16 * 1rem); border-bottom: 1px solid #dad9e3; } } .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: calc(8 / 16 * 1rem); color: var(--headerColor); display: block; } .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; &:hover { &:before { width: 100%; } } &:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } } .cs-block { /* drop the address to two lines */ display: block; } .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 288/200; } .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 { #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } .cs-label { width: 48%; } .cs-label-message { width: 100%; } .cs-button-solid { margin-left: 0; } .cs-right-section { flex-direction: row; align-items: center; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: calc(20 / 16 * 1em); row-gap: calc(64 / 16 * 1rem); } #cs-form-242 { width: 50%; max-width: calc(650 / 16 * 1rem); } .cs-label { width: 100%; } .cs-right-section { width: 45%; max-width: calc(542 / 16 * 1rem); /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } .cs-block { /* sets address stay in one line */ display: inline-block; } .cs-picture { width: 100%; max-width: 100%; height: calc(438 / 16 * 1rem); } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cs-contact-242 { padding: var(--sectionPadding); .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cs-form-242 { width: 100%; /* 32px - 40px */ margin-bottom: clamp(2rem, 5.3vw, 2.5rem); /* 20px - 40px */ padding: clamp(1.25rem, 4.5vw, 2.5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; border: 1px solid #dad9e3; border-radius: calc(16 / 16 * 1rem); } .cs-label { /* 14px - 16px */ font-size: clamp(0.875rem, 1.3vw, 1rem); line-height: 1.5em; font-weight: 700; /* 16px - 20px */ margin-bottom: clamp(1rem, 1em, 1.25rem); color: var(--headerColor); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; } .cs-label-message { /* 32px - 40px */ margin-bottom: clamp(2rem, 4.5vw, 2.5rem); } .cs-input, .cs-textarea { font-size: calc(16 / 16 * 1rem); width: 100%; height: calc(64 / 16 * 1rem); margin-top: calc(4 / 16 * 1rem); padding-left: calc(20 / 16 * 1rem); /* set transparent border so on hover border doesn't make it glitch */ border: 1px solid transparent; border-bottom: 1px solid #b4b2c7; /* prevents border & padding from affecting height */ box-sizing: border-box; transition: border 0.3s; &:hover { border: 1px solid var(--primary); } &::placeholder { color: #7d799c; } } .cs-textarea { font-family: inherit; margin: 0; padding-top: calc(20 / 16 * 1rem); min-height: calc(120 / 16 * 1rem); } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); border-radius: calc(4 / 16 * 1rem); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; border-radius: calc(4 / 16 * 1rem); transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { width: 100%; border: none; border-radius: calc(8 / 16 * 1rem); &:hover { cursor: pointer; } } .cs-right-section { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; /* 28px - 40px */ gap: clamp(1.75rem, 4vw, 2.5rem); position: relative; } .cs-ul { padding: 0; /* 16px - 32px */ padding-left: clamp(1rem, 3vw, 2rem); margin: 0; width: 100%; /* prevents padding from adding to height and width */ box-sizing: border-box; display: flex; flex-direction: column; gap: calc(20 / 16 * 1rem); } .cs-li { list-style: none; display: flex; justify-content: flex-start; align-items: center; &:hover { .cs-icon-wrapper { transform: scale(1.2); } } &:nth-of-type(2) { padding-bottom: calc(20 / 16 * 1rem); border-bottom: 1px solid #dad9e3; } } .cs-header { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.2em; margin-bottom: calc(8 / 16 * 1rem); color: var(--headerColor); display: block; } .cs-link { /* 16px - 20px */ font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.2em; text-decoration: none; color: var(--bodyTextColor); position: relative; &:hover { &:before { width: 100%; } } &:before { /* top right box */ content: ""; width: 0%; height: 2px; /* current color of parent */ background: currentColor; opacity: 1; position: absolute; display: block; bottom: 0; left: 0; transition: width 0.3s; } } .cs-block { /* drop the address to two lines */ display: block; } .cs-icon-wrapper { /* 32px - 36px */ margin-right: clamp(2rem, 2.5vw, 2.25rem); display: flex; justify-content: center; align-items: center; /* prevents flexbox from squishing it */ flex: none; transition: transform 0.3s; } .cs-icon { /* 32px -36px */ width: clamp(2rem, 3vw, 2.25rem); height: auto; display: block; } .cs-picture { width: 100%; border-radius: clamp(1rem, 1.5vw, 1.25rem); /* clips image corners */ overflow: hidden; display: block; position: relative; /* width divided height */ aspect-ratio: 288/200; } .cs-img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } /* Tablet - 700px */ @media only screen and (min-width: 43.75rem) { #cs-contact-242 { #cs-form-242 { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; /* sends it to the right in the 2nd position */ order: 2; } .cs-label { width: 48%; } .cs-label-message { width: 100%; } .cs-button-solid { margin-left: 0; } .cs-right-section { flex-direction: row; align-items: center; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cs-contact-242 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; column-gap: calc(20 / 16 * 1em); row-gap: calc(64 / 16 * 1rem); } #cs-form-242 { width: 50%; max-width: calc(650 / 16 * 1rem); } .cs-label { width: 100%; } .cs-right-section { width: 45%; max-width: calc(542 / 16 * 1rem); /* prevents flexbox from squishing it */ flex: none; flex-direction: column; } .cs-block { /* sets address stay in one line */ display: inline-block; } .cs-picture { width: 100%; max-width: 100%; height: calc(438 / 16 * 1rem); } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #cs-contact-242 { .cs-text, .cs-title { color: var(--bodyTextColorWhite); } #cs-form-242 { label, input, textarea { background-color: transparent; color: var(--bodyTextColorWhite); &::placeholder { /* lighten up the color of the text by 90%*/ filter: brightness(1.9); color: var(--bodyTextColorWhite); } } } .cs-icon { /* makes it so bright it turns white */ filter: brightness(900%); } .cs-header, .cs-link { color: var(--bodyTextColorWhite); } } } }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 43.75rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 40.625rem; margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: (700/16rem); margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4 / 16 * 1rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: calc(700 / 16 * 1rem); margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: calc(650 / 16 * 1rem); margin: 0; color: var(--bodyTextColor); }
Lorem Ipsum
Undo