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
(8)
Contact Forms
(8)
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)
Service Page
(0)
3 Card
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
<!-- ============================================ --> <!-- Events --> <!-- ============================================ --> <section id="events-1928"> <div class="cs-container"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/faq-left.jpg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/faq-left.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/faq-left.jpg" alt="dermatologist" width="522" height="680"> </picture> <img class="cs-graphic cs-twirl" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/twirl.svg" alt="graphic" width="177" height="97" aria-hidden="true"> <img class="cs-graphic cs-peach" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/peach-blob.svg" alt="graphic" width="86" height="65" aria-hidden="true"> <img class="cs-graphic cs-blob" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/dark-beige-blob.svg" alt="graphic" width="528" height="468" aria-hidden="true"> <img class="cs-graphic cs-leaf" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/leaf-2.svg" alt="graphic" width="175" height="143" aria-hidden="true"> </div> <div class="cs-content"> <div class="cs-flex"> <span class="cs-topper">Our Events</span> <h2 class="cs-title">Upcoming Events</h2> </div> <ul class="cs-card-group"> <li class="cs-item"> <span class="cs-date"> <strong>26</strong> Mar 2024 </span> <div class="cs-info"> <h3 class="cs-h3">30% offer on all services</h3> <span class="cs-time"><img class="cs-icon" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/gold-clock.svg" alt="icon" width="24" height="24" loading="lazy" decoding="async">12:00AM - 02:00PM</span> </div> <a href="" class="cs-button-solid">Buy Ticket</a> </li> <li class="cs-item"> <span class="cs-date"> <strong>17</strong> Apr 2024 </span> <div class="cs-info"> <h3 class="cs-h3">15% offer on dermal fillers services</h3> <span class="cs-time"><img class="cs-icon" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/gold-clock.svg" alt="icon" width="24" height="24" loading="lazy" decoding="async">12:00AM - 02:00PM</span> </div> <a href="" class="cs-button-solid">Buy Ticket</a> </li> <li class="cs-item"> <span class="cs-date"> <strong>12</strong> May 2024 </span> <div class="cs-info"> <h3 class="cs-h3">40% offer on micro needling services</h3> <span class="cs-time"><img class="cs-icon" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/gold-clock.svg" alt="icon" width="24" height="24" loading="lazy" decoding="async">12:00AM - 02:00PM</span> </div> <a href="" class="cs-button-solid">Buy Ticket</a> </li> </ul> </div> </div> <img class="cs-graphic3" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/faces-graphic.svg" alt="graphic" loading="lazy" decoding="async" width="835" height="912"> <img class="cs-graphic4" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/faces-graphic-flipped.svg" alt="graphic" loading="lazy" decoding="async" width="835" height="912"> </section>
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; } #events-1928 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 49rem; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5rem; } #events-1928 .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } #events-1928 .cs-title { margin: 0; } #events-1928 .cs-topper { color: var(--secondary); } #events-1928 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 1.5rem; background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: 6.25rem; display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; } #events-1928 .cs-button-solid:hover { background-color: var(--primary); color: #fff; } #events-1928 .cs-image-group { font-size: min(2.29vw, 1rem); width: 32.9375em; height: 42.5em; display: block; position: relative; z-index: 2; } #events-1928 .cs-picture { width: 32.625em; height: 42.5em; box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: 16.25rem; position: absolute; right: 0; z-index: -1; } #events-1928 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } #events-1928 .cs-graphic { height: auto; position: absolute; } #events-1928 .cs-twirl { width: 11.0625em; height: auto; top: 0.9375em; right: 0; z-index: 1; } #events-1928 .cs-peach { width: 5.375em; height: auto; top: -0.5625em; right: 5.6875em; } #events-1928 .cs-blob { width: 33em; height: auto; right: 0; bottom: -3em; z-index: -2; } #events-1928 .cs-leaf { width: 10.9375em; height: auto; bottom: 1em; left: 0; } #events-1928 .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: 0.5; display: none; position: absolute; top: 0rem; right: -5.5rem; z-index: 1; } #events-1928 .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: 0.5; display: none; position: absolute; top: 5.3125rem; left: -9.5rem; z-index: 1; } #events-1928 .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } #events-1928 .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2rem; position: relative; z-index: 1; } #events-1928 .cs-item:hover .cs-h3 { color: var(--primary); } #events-1928 .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: 0.5rem 1rem; /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: 6.25rem; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color 0.3s; flex: none; } #events-1928 .cs-date:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color 0.3s; } #events-1928 .cs-date strong { font-size: 1.9375rem; font-weight: 700; line-height: 1.2em; color: #000; } #events-1928 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(0.5rem, 1vw, 0.75rem); color: var(--headerColor); transition: color 0.3s; } #events-1928 .cs-time { font-size: 1rem; line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: 0.5rem; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } #events-1928 .cs-item { flex-direction: row; align-items: center; } #events-1928 .cs-button-solid { margin-left: auto; } #events-1928 .cs-graphic3 { display: block; } #events-1928 .cs-graphic4 { display: block; } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: stretch; } #events-1928 .cs-content { padding: 3rem 0; align-self: center; } #events-1928 .cs-image-group { flex: none; height: auto; } #events-1928 .cs-picture { height: 100%; } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 .cs-graphic3 { width: 52.1875rem; margin-left: 8.875rem; right: auto; left: 50%; } #events-1928 .cs-graphic4 { width: 52.1875rem; margin-right: 20.5625rem; top: 7.75rem; right: 50%; left: auto; } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; } #events-1928 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 49rem; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5rem; } #events-1928 .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } #events-1928 .cs-title { margin: 0; } #events-1928 .cs-topper { color: var(--secondary); } #events-1928 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 1.5rem; background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: 6.25rem; display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; } #events-1928 .cs-button-solid:hover { background-color: var(--primary); color: #fff; } #events-1928 .cs-image-group { font-size: min(2.29vw, 1rem); width: 32.9375em; height: 42.5em; display: block; position: relative; z-index: 2; } #events-1928 .cs-picture { width: 32.625em; height: 42.5em; box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: 16.25rem; position: absolute; right: 0; z-index: -1; } #events-1928 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } #events-1928 .cs-graphic { height: auto; position: absolute; } #events-1928 .cs-twirl { width: 11.0625em; height: auto; top: 0.9375em; right: 0; z-index: 1; } #events-1928 .cs-peach { width: 5.375em; height: auto; top: -0.5625em; right: 5.6875em; } #events-1928 .cs-blob { width: 33em; height: auto; right: 0; bottom: -3em; z-index: -2; } #events-1928 .cs-leaf { width: 10.9375em; height: auto; bottom: 1em; left: 0; } #events-1928 .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: 0.5; display: none; position: absolute; top: 0rem; right: -5.5rem; z-index: 1; } #events-1928 .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: 0.5; display: none; position: absolute; top: 5.3125rem; left: -9.5rem; z-index: 1; } #events-1928 .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } #events-1928 .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2rem; position: relative; z-index: 1; } #events-1928 .cs-item:hover .cs-h3 { color: var(--primary); } #events-1928 .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: 0.5rem 1rem; /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: 6.25rem; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color 0.3s; flex: none; } #events-1928 .cs-date:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color 0.3s; } #events-1928 .cs-date strong { font-size: 1.9375rem; font-weight: 700; line-height: 1.2em; color: #000; } #events-1928 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(0.5rem, 1vw, 0.75rem); color: var(--headerColor); transition: color 0.3s; } #events-1928 .cs-time { font-size: 1rem; line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: 0.5rem; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } #events-1928 .cs-item { flex-direction: row; align-items: center; } #events-1928 .cs-button-solid { margin-left: auto; } #events-1928 .cs-graphic3 { display: block; } #events-1928 .cs-graphic4 { display: block; } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 .cs-container { max-width: 80rem; flex-direction: row; justify-content: space-between; align-items: stretch; } #events-1928 .cs-content { padding: 3rem 0; align-self: center; } #events-1928 .cs-image-group { flex: none; height: auto; } #events-1928 .cs-picture { height: 100%; } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 .cs-graphic3 { width: 52.1875rem; margin-left: 8.875rem; right: auto; left: 50%; } #events-1928 .cs-graphic4 { width: 52.1875rem; margin-right: 20.5625rem; top: 7.75rem; right: 50%; left: auto; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #events-1928 { background-color: rgba(0, 0, 0, 0.2); } body.dark-mode #events-1928 .cs-h3, body.dark-mode #events-1928 .cs-time, body.dark-mode #events-1928 .cs-title, body.dark-mode #events-1928 .cs-date, body.dark-mode #events-1928 strong { color: var(--bodyTextColorWhite); } body.dark-mode #events-1928 .cs-date:before { background-color: var(--accent); } body.dark-mode #events-1928 .cs-time { opacity: 0.8; } body.dark-mode #events-1928 .cs-picture { border-color: var(--accent); } body.dark-mode #events-1928 .cs-item { background-color: var(--medium); } body.dark-mode #events-1928 .cs-item:hover .cs-h3 { color: var(--secondary); } body.dark-mode #events-1928 .cs-graphic3, body.dark-mode #events-1928 .cs-graphic4 { opacity: 0.02; } body.dark-mode #events-1928 .cs-button-solid { color: #fff; border-color: #fff; } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (784/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: (80/16rem); } .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } .cs-title { margin: 0; } .cs-topper { color: var(--secondary); } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 (24/16rem); background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: (100/16rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; &:hover { background-color: var(--primary); color: #fff; } } .cs-image-group { font-size: min(2.29vw, 1rem); width: (527/16em); height: (680/16em); display: block; position: relative; z-index: 2; } .cs-picture { width: (522/16em); height: (680/16em); box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: (260/16rem); position: absolute; right: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-graphic { height: auto; position: absolute; } .cs-twirl { width: (177/16em); height: auto; top: (15/16em); right: 0; z-index: 1; } .cs-peach { width: (86/16em); height: auto; top: (-9/16em); right: (91/16em); } .cs-blob { width: (528/16em); height: auto; right: 0; bottom: (-48/16em); z-index: -2; } .cs-leaf { width: (175/16em); height: auto; bottom: (16/16em); left: 0; } .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: (0/16rem); right: (-88/16rem); z-index: 1; } .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: (85/16rem); left: (-152/16rem); z-index: 1; } .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: (32/16rem); position: relative; z-index: 1; &:hover { .cs-h3 { color: var(--primary); } } } .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: (8/16rem) (16/16rem); /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: (100/16rem); display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color .3s; flex: none; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color .3s; } strong { font-size: (31/16rem); font-weight: 700; line-height: 1.2em; color: #000; } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(.5rem, 1vw, .75rem); color: var(--headerColor); transition: color .3s; } .cs-time { font-size: (16/16rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: (8/16rem); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 { .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } .cs-item { flex-direction: row; align-items: center; } .cs-button-solid { margin-left: auto; } .cs-graphic3 { display: block; } .cs-graphic4 { display: block; } } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { padding: (48/16rem) 0; align-self: center; } .cs-image-group { flex: none; height: auto; } .cs-picture { height: 100%; } } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 { .cs-graphic3 { width: (835/16rem); margin-left: (142/16rem); right: auto; left: 50%; } .cs-graphic4 { width: (835/16rem); margin-right: (329/16rem); top: (124/16rem); right: 50%; left: auto; } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (784/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: (80/16rem); } .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } .cs-title { margin: 0; } .cs-topper { color: var(--secondary); } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 (24/16rem); background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: (100/16rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; &:hover { background-color: var(--primary); color: #fff; } } .cs-image-group { font-size: min(2.29vw, 1rem); width: (527/16em); height: (680/16em); display: block; position: relative; z-index: 2; } .cs-picture { width: (522/16em); height: (680/16em); box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: (260/16rem); position: absolute; right: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-graphic { height: auto; position: absolute; } .cs-twirl { width: (177/16em); height: auto; top: (15/16em); right: 0; z-index: 1; } .cs-peach { width: (86/16em); height: auto; top: (-9/16em); right: (91/16em); } .cs-blob { width: (528/16em); height: auto; right: 0; bottom: (-48/16em); z-index: -2; } .cs-leaf { width: (175/16em); height: auto; bottom: (16/16em); left: 0; } .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: (0/16rem); right: (-88/16rem); z-index: 1; } .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: (85/16rem); left: (-152/16rem); z-index: 1; } .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: (32/16rem); position: relative; z-index: 1; &:hover { .cs-h3 { color: var(--primary); } } } .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: (8/16rem) (16/16rem); /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: (100/16rem); display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color .3s; flex: none; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color .3s; } strong { font-size: (31/16rem); font-weight: 700; line-height: 1.2em; color: #000; } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(.5rem, 1vw, .75rem); color: var(--headerColor); transition: color .3s; } .cs-time { font-size: (16/16rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: (8/16rem); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 { .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } .cs-item { flex-direction: row; align-items: center; } .cs-button-solid { margin-left: auto; } .cs-graphic3 { display: block; } .cs-graphic4 { display: block; } } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { padding: (48/16rem) 0; align-self: center; } .cs-image-group { flex: none; height: auto; } .cs-picture { height: 100%; } } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 { .cs-graphic3 { width: (835/16rem); margin-left: (142/16rem); right: auto; left: 50%; } .cs-graphic4 { width: (835/16rem); margin-right: (329/16rem); top: (124/16rem); right: 50%; left: auto; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #events-1928 { background-color: rgba(0, 0, 0, 0.2); .cs-h3, .cs-time, .cs-title, .cs-date, strong { color: var(--bodyTextColorWhite); } .cs-date { &:before { background-color: var(--accent); } } .cs-time { opacity: 0.8; } .cs-picture { border-color: var(--accent); } .cs-item { background-color: var(--medium); &:hover { .cs-h3 { color: var(--secondary); } } } .cs-graphic3, .cs-graphic4 { opacity: 0.02; } .cs-button-solid { color: #fff; border-color: #fff; } } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(784/16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(80/16 * 1rem); } .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } .cs-title { margin: 0; } .cs-topper { color: var(--secondary); } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 calc(24/16 * 1rem); background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: calc(100/16 * 1rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; &:hover { background-color: var(--primary); color: #fff; } } .cs-image-group { font-size: min(2.29vw, 1rem); width: calc(527/16 * 1em); height: calc(680/16 * 1em); display: block; position: relative; z-index: 2; } .cs-picture { width: calc(522/16 * 1em); height: calc(680/16 * 1em); box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: calc(260/16 * 1rem); position: absolute; right: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-graphic { height: auto; position: absolute; } .cs-twirl { width: calc(177/16 * 1em); height: auto; top: calc(15/16 * 1em); right: 0; z-index: 1; } .cs-peach { width: calc(86/16 * 1em); height: auto; top: calc(-9/16 * 1em); right: calc(91/16 * 1em); } .cs-blob { width: calc(528/16 * 1em); height: auto; right: 0; bottom: calc(-48/16 * 1em); z-index: -2; } .cs-leaf { width: calc(175/16 * 1em); height: auto; bottom: calc(16/16 * 1em); left: 0; } .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: calc(0/16 * 1rem); right: calc(-88/16 * 1rem); z-index: 1; } .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: calc(85/16 * 1rem); left: calc(-152/16 * 1rem); z-index: 1; } .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: calc(32/16 * 1rem); position: relative; z-index: 1; &:hover { .cs-h3 { color: var(--primary); } } } .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: calc(8/16 * 1rem) calc(16/16 * 1rem); /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: calc(100/16 * 1rem); display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color .3s; flex: none; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color .3s; } strong { font-size: calc(31/16 * 1rem); font-weight: 700; line-height: 1.2em; color: #000; } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(.5rem, 1vw, .75rem); color: var(--headerColor); transition: color .3s; } .cs-time { font-size: calc(16/16 * 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: calc(8/16 * 1rem); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 { .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } .cs-item { flex-direction: row; align-items: center; } .cs-button-solid { margin-left: auto; } .cs-graphic3 { display: block; } .cs-graphic4 { display: block; } } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 { .cs-container { max-width: calc(1280/16 * 1rem); flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { padding: calc(48/16 * 1rem) 0; align-self: center; } .cs-image-group { flex: none; height: auto; } .cs-picture { height: 100%; } } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 { .cs-graphic3 { width: calc(835/16 * 1rem); margin-left: calc(142/16 * 1rem); right: auto; left: 50%; } .cs-graphic4 { width: calc(835/16 * 1rem); margin-right: calc(329/16 * 1rem); top: calc(124/16 * 1rem); right: 50%; left: auto; } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1928 { width: 100%; padding: var(--sectionPadding); background-color: #f6eddf; overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(784/16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(80/16 * 1rem); } .cs-content { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 3; } .cs-title { margin: 0; } .cs-topper { color: var(--secondary); } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875em, 5.5vw, 3.5em); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 calc(24/16 * 1rem); background-color: transparent; overflow: hidden; color: var(--primary); border: 1px solid var(--primary); border-radius: calc(100/16 * 1rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; transition: background-color 0.3s; &:hover { background-color: var(--primary); color: #fff; } } .cs-image-group { font-size: min(2.29vw, 1rem); width: calc(527/16 * 1em); height: calc(680/16 * 1em); display: block; position: relative; z-index: 2; } .cs-picture { width: calc(522/16 * 1em); height: calc(680/16 * 1em); box-sizing: border-box; background-color: #dab692; overflow: hidden; border: 8px solid #dab692; border-radius: calc(260/16 * 1rem); position: absolute; right: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-graphic { height: auto; position: absolute; } .cs-twirl { width: calc(177/16 * 1em); height: auto; top: calc(15/16 * 1em); right: 0; z-index: 1; } .cs-peach { width: calc(86/16 * 1em); height: auto; top: calc(-9/16 * 1em); right: calc(91/16 * 1em); } .cs-blob { width: calc(528/16 * 1em); height: auto; right: 0; bottom: calc(-48/16 * 1em); z-index: -2; } .cs-leaf { width: calc(175/16 * 1em); height: auto; bottom: calc(16/16 * 1em); left: 0; } .cs-graphic3 { /* 385.6px - 835.2px */ width: clamp(24.1rem, 48vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: calc(0/16 * 1rem); right: calc(-88/16 * 1rem); z-index: 1; } .cs-graphic4 { /* 484px - 835.2px */ width: clamp(30.25rem, 60vw, 52.2rem); height: auto; opacity: .5; display: none; position: absolute; top: calc(85/16 * 1rem); left: calc(-152/16 * 1rem); z-index: 1; } .cs-card-group { margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { text-align: left; text-decoration: none; list-style: none; width: 100%; /* prevents padding from affecting height and width */ box-sizing: border-box; /* 16px - 24px */ padding: clamp(1rem, 3vw, 1.5rem); background-color: #FAF6F2; overflow: hidden; /* 24px - 40px */ border-radius: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: calc(32/16 * 1rem); position: relative; z-index: 1; &:hover { .cs-h3 { color: var(--primary); } } } .cs-date { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5em; /* 56px - 80px */ width: clamp(8.313rem, 16vw, 9.5rem); height: clamp(4.813rem, 10vw, 6rem); margin: 0; padding: calc(8/16 * 1rem) calc(16/16 * 1rem); /* clips the pseudo to remove the corners */ overflow: hidden; color: var(--bodyTextColor); border-radius: calc(100/16 * 1rem); display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 1; transition: border-color .3s; flex: none; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: #F6EDDF; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: background-color .3s; } strong { font-size: calc(31/16 * 1rem); font-weight: 700; line-height: 1.2em; color: #000; } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; /* 4px - 16px */ margin: 0 0 clamp(.5rem, 1vw, .75rem); color: var(--headerColor); transition: color .3s; } .cs-time { font-size: calc(16/16 * 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; justify-content: flex-start; align-items: flex-start; gap: calc(8/16 * 1rem); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1928 { .cs-card-group { max-width: clamp(44rem, 80vw, 46.8125rem); } .cs-item { flex-direction: row; align-items: center; } .cs-button-solid { margin-left: auto; } .cs-graphic3 { display: block; } .cs-graphic4 { display: block; } } } /* Large Desktop -1300px */ @media only screen and (min-width: 81.25rem) { #events-1928 { .cs-container { max-width: calc(1280/16 * 1rem); flex-direction: row; justify-content: space-between; align-items: stretch; } .cs-content { padding: calc(48/16 * 1rem) 0; align-self: center; } .cs-image-group { flex: none; height: auto; } .cs-picture { height: 100%; } } } /* Larger Desktop -1920px */ @media only screen and (min-width: 120rem) { #events-1928 { .cs-graphic3 { width: calc(835/16 * 1rem); margin-left: calc(142/16 * 1rem); right: auto; left: 50%; } .cs-graphic4 { width: calc(835/16 * 1rem); margin-right: calc(329/16 * 1rem); top: calc(124/16 * 1rem); right: 50%; left: auto; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #events-1928 { background-color: rgba(0, 0, 0, 0.2); .cs-h3, .cs-time, .cs-title, .cs-date, strong { color: var(--bodyTextColorWhite); } .cs-date { &:before { background-color: var(--accent); } } .cs-time { opacity: 0.8; } .cs-picture { border-color: var(--accent); } .cs-item { background-color: var(--medium); &:hover { .cs-h3 { color: var(--secondary); } } } .cs-graphic3, .cs-graphic4 { opacity: 0.02; } .cs-button-solid { color: #fff; border-color: #fff; } } } }
: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