Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(28)
Non Standard
(1)
Reverse
(8)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(11)
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)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Side By Side
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-1652"> <div class="cs-container"> <div class="cs-image"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/business-meeting-women.jpeg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/business-meeting-women.jpeg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/business-meeting-women.jpeg" alt="busines meeting" width="522" height="609" aria-hidden="true"> </picture> </div> <div class="cs-events"> <div class="cs-content"> <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> Oct </span> <div class="cs-info-wrapper"> <div class="cs-info"> <h3 class="cs-h3">Business Transformation Summit</h3> <span class="cs-location">1250 23rd Street NW, DC 20037</span> <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" aria-hidden="true"> 12:00AM - 02:00PM </span> </div> <div class="cs-button-wrapper"> <a href="" class="cs-button-solid">Buy Ticket</a> </div> </div> </li> <li class="cs-item"> <span class="cs-date"> <strong>22</strong> Oct </span> <div class="cs-info-wrapper"> <div class="cs-info"> <h3 class="cs-h3">Consulting Excellence Conference</h3> <span class="cs-location">700 Broadway, New York, NY 1000</span> <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" aria-hidden="true"> 02:00AM - 4:00PM </span> </div> <div class="cs-button-wrapper"> <a href="" class="cs-button-solid">Buy Ticket</a> </div> </div> </li> </ul> </div> </div> </section>
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; } #events-1652 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; justify-content: center; } #events-1652 .cs-image { display: flex; position: relative; width: 100%; } #events-1652 .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; } #events-1652 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #events-1652 .cs-events { width: 100%; max-width: 46.125rem; background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: 2.5rem; } #events-1652 .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } #events-1652 .cs-title { color: var(--headerColor); margin: 0; } #events-1652 .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } #events-1652 .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } #events-1652 .cs-date { font-size: 1rem; line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; } #events-1652 .cs-date strong { font-size: 1.9375rem; line-height: 1.2em; color: #fff; } #events-1652 .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } #events-1652 .cs-info { display: flex; flex-direction: column; } #events-1652 .cs-h3 { font-size: 1.25rem; line-height: 1.2em; font-weight: 700; margin: 0 0 0.5rem 0; color: var(--headerColor); } #events-1652 .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(0.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } #events-1652 .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: 0.5rem; align-items: center; } #events-1652 .cs-icon { width: 1.5rem; height: auto; } #events-1652 .cs-button-wrapper { display: flex; position: relative; align-items: center; } #events-1652 .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; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #events-1652 .cs-button-solid:before { content: ''; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width .3s; } #events-1652 .cs-button-solid:hover:before { width: 100%; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 .cs-container { flex-direction: row; align-items: stretch; } #events-1652 .cs-image { width: 45%; max-width: 33.875rem; height: auto; padding-top: 7.5rem; /* sends it to the right in the 2nd position */ order: 2; } #events-1652 .cs-picture { max-height: none; height: auto; } #events-1652 .cs-events { min-width: 26.25rem; /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 .cs-info-wrapper { flex-direction: row; } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; } #events-1652 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; justify-content: center; } #events-1652 .cs-image { display: flex; position: relative; width: 100%; } #events-1652 .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; } #events-1652 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #events-1652 .cs-events { width: 100%; max-width: 46.125rem; background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: 2.5rem; } #events-1652 .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } #events-1652 .cs-title { color: var(--headerColor); margin: 0; } #events-1652 .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } #events-1652 .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } #events-1652 .cs-date { font-size: 1rem; line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; } #events-1652 .cs-date strong { font-size: 1.9375rem; line-height: 1.2em; color: #fff; } #events-1652 .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } #events-1652 .cs-info { display: flex; flex-direction: column; } #events-1652 .cs-h3 { font-size: 1.25rem; line-height: 1.2em; font-weight: 700; margin: 0 0 0.5rem 0; color: var(--headerColor); } #events-1652 .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(0.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } #events-1652 .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: 0.5rem; align-items: center; } #events-1652 .cs-icon { width: 1.5rem; height: auto; } #events-1652 .cs-button-wrapper { display: flex; position: relative; align-items: center; } #events-1652 .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; color: #fff; min-width: 9.375rem; padding: 0 1.5rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #events-1652 .cs-button-solid:before { content: ''; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width .3s; } #events-1652 .cs-button-solid:hover:before { width: 100%; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 .cs-container { flex-direction: row; align-items: stretch; } #events-1652 .cs-image { width: 45%; max-width: 33.875rem; height: auto; padding-top: 7.5rem; /* sends it to the right in the 2nd position */ order: 2; } #events-1652 .cs-picture { max-height: none; height: auto; } #events-1652 .cs-events { min-width: 26.25rem; /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 .cs-info-wrapper { flex-direction: row; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #events-1652 .cs-title, body.dark-mode #events-1652 .cs-h3, body.dark-mode #events-1652 .cs-location, body.dark-mode #events-1652 .cs-time { color: var(--bodyTextColorWhite); } body.dark-mode #events-1652 .cs-location, body.dark-mode #events-1652 .cs-time { opacity: .8; } body.dark-mode #events-1652 .cs-date { background-color: var(--bodyTextColorWhite); } body.dark-mode #events-1652 .cs-date strong { color: var(--bodyTextColor); } body.dark-mode #events-1652 .cs-events { background-color: rgba(0, 0, 0, 0.2); } body.dark-mode #events-1652 .cs-item { background-color: rgba(0, 0, 0, 0.6); } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; } .cs-image { display: flex; position: relative; width: 100%; } .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-events { width: 100%; max-width: (738/16rem); background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: (40/16rem); } .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start } .cs-title { color: var(--headerColor); margin: 0; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } .cs-date { font-size: (16/16rem); line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; strong { font-size: (31/16rem); line-height: 1.2em; color: #fff; } } .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } .cs-info { display: flex; flex-direction: column; } .cs-h3 { font-size: (20/16rem); line-height: 1.2em; font-weight: 700; margin: 0 0 (8/16rem) 0; color: var(--headerColor); } .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: (8/16rem); align-items: center; } .cs-icon { width: (24/16rem); height: auto; } .cs-button-wrapper { display: flex; position: relative; align-items: center; } .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; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); 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; transition: width .3s; } &:hover:before { width: 100%; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image { width: 45%; max-width: (542/16rem); height: auto; padding-top: (120/16rem); /* sends it to the right in the 2nd position */ order: 2; } .cs-picture { max-height: none; height: auto; } .cs-events { min-width: (420/16rem); /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 { .cs-info-wrapper { flex-direction: row; } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; justify-content: center; } .cs-image { display: flex; position: relative; width: 100%; } .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-events { width: 100%; max-width: (738/16rem); background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: (40/16rem); } .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start } .cs-title { color: var(--headerColor); margin: 0; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } .cs-date { font-size: (16/16rem); line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; strong { font-size: (31/16rem); line-height: 1.2em; color: #fff; } } .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } .cs-info { display: flex; flex-direction: column; } .cs-h3 { font-size: (20/16rem); line-height: 1.2em; font-weight: 700; margin: 0 0 (8/16rem) 0; color: var(--headerColor); } .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: (8/16rem); align-items: center; } .cs-icon { width: (24/16rem); height: auto; } .cs-button-wrapper { display: flex; position: relative; align-items: center; } .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; color: #fff; min-width: (150/16rem); padding: 0 (24/16rem); background-color: var(--primary); 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; transition: width .3s; } &:hover:before { width: 100%; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image { width: 45%; max-width: (542/16rem); height: auto; padding-top: (120/16rem); /* sends it to the right in the 2nd position */ order: 2; } .cs-picture { max-height: none; height: auto; } .cs-events { min-width: (420/16rem); /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 { .cs-info-wrapper { flex-direction: row; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #events-1652 { .cs-title, .cs-h3, .cs-location, .cs-time { color: var(--bodyTextColorWhite); } .cs-location, .cs-time { opacity: .8; } .cs-date { background-color: var(--bodyTextColorWhite); strong { color: var(--bodyTextColor); } } .cs-events { background-color: rgba(0, 0, 0, .2); } .cs-item { background-color: rgba(0, 0, 0, .6); } } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; } .cs-image { display: flex; position: relative; width: 100%; } .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-events { width: 100%; max-width: calc(738 / 16 * 1rem); background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: calc(40 / 16 * 1rem); } .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start } .cs-title { color: var(--headerColor); margin: 0; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } .cs-date { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; strong { font-size: calc(31 / 16 * 1rem); line-height: 1.2em; color: #fff; } } .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } .cs-info { display: flex; flex-direction: column; } .cs-h3 { font-size: calc(20 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0 0 calc(8 / 16 * 1rem) 0; color: var(--headerColor); } .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: calc(8 / 16 * 1rem); align-items: center; } .cs-icon { width: calc(24 / 16 * 1rem); height: auto; } .cs-button-wrapper { display: flex; position: relative; align-items: center; } .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; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); 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; transition: width .3s; } &:hover:before { width: 100%; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image { width: 45%; max-width: calc(542 / 16 * 1rem); height: auto; padding-top: calc(120 / 16 * 1rem); /* sends it to the right in the 2nd position */ order: 2; } .cs-picture { max-height: none; height: auto; } .cs-events { min-width: calc(420 / 16 * 1rem); /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 { .cs-info-wrapper { flex-direction: row; } } }
/*-- -------------------------- --> <--- Events --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #events-1652 { padding: var(--sectionPadding); overflow: hidden; position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; justify-content: center; } .cs-image { display: flex; position: relative; width: 100%; } .cs-picture { width: 100%; /* 328px - 752px */ height: clamp(20.5rem, 80vw, 47rem); display: block; position: relative; overflow: hidden; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-events { width: 100%; max-width: calc(738 / 16 * 1rem); background-color: #f7f7f7; display: flex; /* 40px - 48px top */ padding: clamp(2.5rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem); flex-direction: column; align-items: center; gap: calc(40 / 16 * 1rem); } .cs-content { text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start } .cs-title { color: var(--headerColor); margin: 0; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; /* 16px - 20px */ gap: clamp(1rem, 3vw, 1.25rem); } .cs-item { list-style: none; background-color: #fff; overflow: hidden; position: relative; z-index: 1; text-decoration: none; width: 100%; /* 16px - 32px */ padding: clamp(1rem, 2vw, 2rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; align-items: flex-start; /* 16px - 24px */ gap: clamp(1rem, 2vw, 1.5rem); } .cs-date { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; /* 80px - 100px */ width: clamp(5rem, 10vw, 6.25rem); height: clamp(5rem, 10vw, 6.25rem); color: var(--primary); background-color: #111926; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; z-index: 1; flex: none; strong { font-size: calc(31 / 16 * 1rem); line-height: 1.2em; color: #fff; } } .cs-info-wrapper { display: flex; flex-direction: column; /* 24px - 48px */ gap: clamp(1.5rem, 3vw, 3rem); } .cs-info { display: flex; flex-direction: column; } .cs-h3 { font-size: calc(20 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0 0 calc(8 / 16 * 1rem) 0; color: var(--headerColor); } .cs-location { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; /* 8px -k 24px */ margin: 0 0 clamp(.5rem, 2vw, 1.5rem); color: var(--bodyTextColor); } .cs-time { /* 14px - 16px */ font-size: clamp(0.875rem, 1.6vw, 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); display: flex; gap: calc(8 / 16 * 1rem); align-items: center; } .cs-icon { width: calc(24 / 16 * 1rem); height: auto; } .cs-button-wrapper { display: flex; position: relative; align-items: center; } .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; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(24 / 16 * 1rem); background-color: var(--primary); 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; transition: width .3s; } &:hover:before { width: 100%; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #events-1652 { .cs-container { flex-direction: row; align-items: stretch; } .cs-image { width: 45%; max-width: calc(542 / 16 * 1rem); height: auto; padding-top: calc(120 / 16 * 1rem); /* sends it to the right in the 2nd position */ order: 2; } .cs-picture { max-height: none; height: auto; } .cs-events { min-width: calc(420 / 16 * 1rem); /* 420px - 738px */ width: clamp(26.25rem, 52.8vw, 46.125rem); /* 24px - 48px */ padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-start; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #events-1652 { .cs-info-wrapper { flex-direction: row; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #events-1652 { .cs-title, .cs-h3, .cs-location, .cs-time { color: var(--bodyTextColorWhite); } .cs-location, .cs-time { opacity: .8; } .cs-date { background-color: var(--bodyTextColorWhite); strong { color: var(--bodyTextColor); } } .cs-events { background-color: rgba(0, 0, 0, .2); } .cs-item { background-color: rgba(0, 0, 0, .6); } } } }
: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