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)
Double Dropdown
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(7)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(1)
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
(34)
Non Standard
(1)
Reverse
(11)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(14)
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
(5)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(2)
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)
Reverse Pair
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
<!-- ============================================ --> <!-- Side By Side --> <!-- ============================================ --> <section id="RPsbs-248"> <div class="cs-container"> <!-- Left Image Section --> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg" alt="hiker" width="434" height="434" aria-hidden="true"> </picture> <!-- Right Content Section--> <div class="cs-content"> <span class="cs-topper">Mountain Hiking Society</span> <h2 class="cs-title">Explore the World with Exciting People</h2> <p class="cs-text"> Tincidunt lobortis feugiat vivamus at augue eget arcu dictum varius. Nibh tortor id aliquet lectus proin nibh condimentum. </p> <a class="cs-button-solid" aria-label="learn more about our programs" href="">Learn More</a> </div> </div> </section> <!-- ============================================ --> <!-- Side By Side Reverse --> <!-- ============================================ --> <section id="RPsbsr-248"> <div class="cs-container"> <!-- Left Image Section --> <picture class="cs-picture"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/SideBySide/hiking.jpg" alt="hiker" width="434" height="434" aria-hidden="true"> </picture> <!-- Right Content Section--> <div class="cs-content"> <span class="cs-topper">Mountain Hiking Society</span> <h2 class="cs-title">Explore the World with Exciting People</h2> <p class="cs-text"> Tincidunt lobortis feugiat vivamus at augue eget arcu dictum varius. Nibh tortor id aliquet lectus proin nibh condimentum. </p> <a class="cs-button-solid" aria-label="learn more about our programs" href="">Learn More</a> </div> <!-- Creates the faded lines on tablet --> <span aria-hidden="true" class="cs-lines"></span> </div> <!-- Background Image --> <picture class="cs-background"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Hero/Background-m.jpg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg" alt="mountains" width="2250" height="1500" aria-hidden="true"> </picture> </section>
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 1em; position: relative; z-index: 1; } #RPsbs-248 .cs-container, #RPsbsr-248 .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: 34.375rem; padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } #RPsbs-248 .cs-content, #RPsbsr-248 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: 27.125rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #RPsbs-248 .cs-title, #RPsbsr-248 .cs-title { max-width: 20ch; } #RPsbs-248 .cs-text, #RPsbsr-248 .cs-text { margin-bottom: 1rem; opacity: 0.8; } #RPsbs-248 .cs-text:last-of-type, #RPsbsr-248 .cs-text:last-of-type { margin-bottom: 2rem; } #RPsbs-248 .cs-button-solid, #RPsbsr-248 .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; } #RPsbs-248 .cs-button-solid:before, #RPsbsr-248 .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; } #RPsbs-248 .cs-button-solid:hover:before, #RPsbsr-248 .cs-button-solid:hover:before { width: 100%; } #RPsbs-248 .cs-picture, #RPsbsr-248 .cs-picture { width: 100%; max-width: 27.125rem; margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1; /* prevents border from adding to height and width */ box-sizing: border-box; } #RPsbs-248 .cs-picture img, #RPsbsr-248 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248 .cs-container, #RPsbsr-248 .cs-container { max-width: 80rem; flex-direction: row; justify-content: center; align-items: center; } #RPsbs-248 .cs-lines, #RPsbsr-248 .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; } #RPsbs-248 .cs-lines:before, #RPsbsr-248 .cs-lines:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbs-248 .cs-lines:after, #RPsbsr-248 .cs-lines:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbs-248 .cs-picture, #RPsbsr-248 .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } #RPsbs-248 .cs-content, #RPsbsr-248 .cs-content { max-width: 33.875rem; margin: 0; width: 45%; } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 1rem; } #RPsbsr-248 .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; } #RPsbsr-248 .cs-container:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } #RPsbsr-248 .cs-container:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-lines { display: none; } #RPsbsr-248 .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; } #RPsbsr-248 .cs-background:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } #RPsbsr-248 .cs-background img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } #RPsbsr-248 .cs-topper { color: var(--primaryLight); } #RPsbsr-248 .cs-title { color: var(--bodyTextColorWhite); } #RPsbsr-248 .cs-text { color: var(--bodyTextColorWhite); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; } #RPsbsr-248 .cs-lines:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-lines:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-picture { margin: 0; order: 2; } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 1em; position: relative; z-index: 1; } #RPsbs-248 .cs-container, #RPsbsr-248 .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: 34.375rem; padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } #RPsbs-248 .cs-content, #RPsbsr-248 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: 27.125rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #RPsbs-248 .cs-title, #RPsbsr-248 .cs-title { max-width: 20ch; } #RPsbs-248 .cs-text, #RPsbsr-248 .cs-text { margin-bottom: 1rem; opacity: 0.8; } #RPsbs-248 .cs-text:last-of-type, #RPsbsr-248 .cs-text:last-of-type { margin-bottom: 2rem; } #RPsbs-248 .cs-button-solid, #RPsbsr-248 .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; } #RPsbs-248 .cs-button-solid:before, #RPsbsr-248 .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; } #RPsbs-248 .cs-button-solid:hover:before, #RPsbsr-248 .cs-button-solid:hover:before { width: 100%; } #RPsbs-248 .cs-picture, #RPsbsr-248 .cs-picture { width: 100%; max-width: 27.125rem; margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1; /* prevents border from adding to height and width */ box-sizing: border-box; } #RPsbs-248 .cs-picture img, #RPsbsr-248 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248 .cs-container, #RPsbsr-248 .cs-container { max-width: 80rem; flex-direction: row; justify-content: center; align-items: center; } #RPsbs-248 .cs-lines, #RPsbsr-248 .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; } #RPsbs-248 .cs-lines:before, #RPsbsr-248 .cs-lines:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbs-248 .cs-lines:after, #RPsbsr-248 .cs-lines:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbs-248 .cs-picture, #RPsbsr-248 .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } #RPsbs-248 .cs-content, #RPsbsr-248 .cs-content { max-width: 33.875rem; margin: 0; width: 45%; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #RPsbs-248 .cs-title, body.dark-mode #RPsbs-248 .cs-text { color: var(--bodyTextColorWhite); } body.dark-mode #RPsbs-248 .cs-text { opacity: 0.8; } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 1rem; } #RPsbsr-248 .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; } #RPsbsr-248 .cs-container:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } #RPsbsr-248 .cs-container:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-lines { display: none; } #RPsbsr-248 .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; } #RPsbsr-248 .cs-background:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } #RPsbsr-248 .cs-background img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } #RPsbsr-248 .cs-topper { color: var(--primaryLight); } #RPsbsr-248 .cs-title { color: var(--bodyTextColorWhite); } #RPsbsr-248 .cs-text { color: var(--bodyTextColorWhite); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; } #RPsbsr-248 .cs-lines:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-lines:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } #RPsbsr-248 .cs-picture { margin: 0; order: 2; } } /* Desktop - 1500px (Parallax Effect) */ @media only screen and (min-width: 93.75rem) { #RPsbsr-248 { background: url("https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; /* creates the parallax effect */ background-attachment: fixed; } #RPsbsr-248 .cs-background img { display: none; } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 (16/16em); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: (550/16rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: (434/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-text { margin-bottom: (16/16rem); opacity: 0.8; &:last-of-type { margin-bottom: (32/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-picture { width: 100%; max-width: (434/16rem); margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1/1; /* prevents border from adding to height and width */ box-sizing: border-box; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248, #RPsbsr-248 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: center; align-items: center; } .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } .cs-content { max-width: (542/16rem); margin: 0; width: 45%; } } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 (16/16rem); .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; &:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-lines { display: none; } .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; &:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } } .cs-topper { color: var(--primaryLight); } .cs-title { color: var(--bodyTextColorWhite); } .cs-text { color: var(--bodyTextColorWhite); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 { .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { margin: 0; order: 2; } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 (16/16em); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: (550/16rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: (434/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); } .cs-title { max-width: 20ch; } .cs-text { margin-bottom: (16/16rem); opacity: 0.8; &:last-of-type { margin-bottom: (32/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-picture { width: 100%; max-width: (434/16rem); margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1/1; /* prevents border from adding to height and width */ box-sizing: border-box; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248, #RPsbsr-248 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: center; align-items: center; } .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } .cs-content { max-width: (542/16rem); margin: 0; width: 45%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #RPsbs-248 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); } .cs-text { opacity: 0.8; } } } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 (16/16rem); .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; &:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-lines { display: none; } .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; &:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } } .cs-topper { color: var(--primaryLight); } .cs-title { color: var(--bodyTextColorWhite); } .cs-text { color: var(--bodyTextColorWhite); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 { .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { margin: 0; order: 2; } } } /* Desktop - 1500px (Parallax Effect) */ @media only screen and (min-width: 93.75rem) { #RPsbsr-248 { background: url("https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; /* creates the parallax effect */ background-attachment: fixed; .cs-background { img { display: none; } } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 calc(16 / 16 * 1em); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: calc(550 / 16 * 1rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: calc(434 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .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); } .cs-title { max-width: 20ch; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); opacity: 0.8; &:last-of-type { margin-bottom: calc(32 / 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-picture { width: 100%; max-width: calc(434 / 16 * 1rem); margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1/1; /* prevents border from adding to height and width */ box-sizing: border-box; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248, #RPsbsr-248 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: center; align-items: center; } .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } .cs-content { max-width: calc(542 / 16 * 1rem); margin: 0; width: 45%; } } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 calc(16 / 16 * 1rem); .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; &:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-lines { display: none; } .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; &:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } } .cs-topper { color: var(--primaryLight); } .cs-title { color: var(--bodyTextColorWhite); } .cs-text { color: var(--bodyTextColorWhite); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 { .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { margin: 0; order: 2; } } } /* Desktop - 1500px (Parallax Effect) */ @media only screen and (min-width: 93.75rem) { #RPsbsr-248 { background: url("https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; /* creates the parallax effect */ background-attachment: fixed; .cs-background { img { display: none; } } } }
/*-- -------------------------- --> <--- Side By Side --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbs-248, #RPsbsr-248 { padding: 0 calc(16 / 16 * 1em); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px on tablet */ max-width: calc(550 / 16 * 1rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 108px */ gap: clamp(3rem, 8vw, 6.75rem); position: relative; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; /* changes at tablet */ max-width: calc(434 / 16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .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); } .cs-title { max-width: 20ch; } .cs-text { margin-bottom: calc(16 / 16 * 1rem); opacity: 0.8; &:last-of-type { margin-bottom: calc(32 / 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-picture { width: 100%; max-width: calc(434 / 16 * 1rem); margin: 0; border: 1px solid #f1f1f4; position: relative; display: block; /* width divided by height */ aspect-ratio: 1/1; /* prevents border from adding to height and width */ box-sizing: border-box; img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbs-248, #RPsbsr-248 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: center; align-items: center; } .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { /* 344px - 434px */ width: clamp(21.5rem, 37.5vw, 27.125rem); flex: none; } .cs-content { max-width: calc(542 / 16 * 1rem); margin: 0; width: 45%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #RPsbs-248 { .cs-title, .cs-text { color: var(--bodyTextColorWhite); } .cs-text { opacity: 0.8; } } } } /*-- -------------------------- --> <--- Side By Side Reverse --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #RPsbsr-248 { padding: 0 calc(16 / 16 * 1rem); .cs-container { /* 60px - 100px top and bottom */ padding: clamp(3.75rem, 7.82vw, 6.25rem) 0; &:before { /* Left Line */ content: ""; width: 1px; height: 100%; background: linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-lines { display: none; } .cs-background { /* Background Image */ width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -2; &:before { /* Black Color Overlay */ content: ""; width: 100%; height: 100%; background: #000; opacity: 0.6; position: absolute; display: block; top: 0; left: 0; z-index: 1; /* prevents the cursor from interacting with it */ pointer-events: none; } img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; /* Makes image act like a background-image */ object-fit: cover; } } .cs-topper { color: var(--primaryLight); } .cs-title { color: var(--bodyTextColorWhite); } .cs-text { color: var(--bodyTextColorWhite); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #RPsbsr-248 { .cs-lines { height: 100%; width: 35%; display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: -1; &:before { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; left: 0; /* flips vertically */ transform: scaleY(-1); } &:after { /* Right Line */ content: ""; width: 1px; height: 100%; background: -moz-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* FF3.6-15 */ background: -webkit-linear-gradient( top, rgba(250, 251, 252, 0.5) 0%, rgba(250, 251, 252, 0) 100% ); /* Chrome10-25,Safari5.1-6 */ opacity: 1; position: absolute; display: block; top: 0; right: 0; /* flips vertically */ transform: scaleY(-1); } } .cs-picture { margin: 0; order: 2; } } } /* Desktop - 1500px (Parallax Effect) */ @media only screen and (min-width: 93.75rem) { #RPsbsr-248 { background: url("https://csimg.nyc3.digitaloceanspaces.com/Hero/Background.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; /* creates the parallax effect */ background-attachment: fixed; .cs-background { img { display: none; } } } }
: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