Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(32)
Non Standard
(1)
Reverse
(10)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(13)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
2 Stats
(0)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
Price List
(0)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Locations
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
<!-- ============================================ --> <!-- Locations --> <!-- ============================================ --> <section id="locations-1697"> <div class="cs-container"> <!-- Left Content Section--> <ul class="cs-card-group"> <li class="cs-item"> <h3 class="cs-h3">New York City</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Brooklyn NY, 2300 USA </span> <a class="cs-item-text" href="tel:098-7654-321">+1(0) 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">nyc@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">London, UK</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, London, 57th UK </span> <a class="cs-item-text" href="tel:098-7654-321">+44(0) 987 654 321 </a> <a class="cs-item-text" href="mailto:nyc@smartax.com">london@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">Paris, France</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Paris, 2300 Paris </span> <a class="cs-item-text" href="tel:098-7654-321">+33(0) 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">paris@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">Dubai, UAE</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Khalid bin Street, UAE </span> <a class="cs-item-text" href="tel:098-7654-321">+971 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">dubai@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">New York City</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Brooklyn NY, 2300 USA </span> <a class="cs-item-text" href="tel:098-7654-321">+1(0) 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">nyc@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">London, UK</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, London, 57th UK </span> <a class="cs-item-text" href="tel:098-7654-321">+44(0) 987 654 321 </a> <a class="cs-item-text" href="mailto:nyc@smartax.com">london@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">Paris, France</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Paris, 2300 Paris </span> <a class="cs-item-text" href="tel:098-7654-321">+33(0) 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">paris@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> <li class="cs-item"> <h3 class="cs-h3">Dubai, UAE</h3> <span class="cs-item-text cs-address"> 5the Avenue, E 28th St, Khalid bin Street, UAE </span> <a class="cs-item-text" href="tel:098-7654-321">+971 987 654 321</a> <a class="cs-item-text" href="mailto:nyc@smartax.com">dubai@smartax.com</a> <a href="" class="cs-link"> <span class="cs-link-text">Get Direction</span> <img class="cs-arrow" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/enterprise-arrow-right.svg" alt="icon" width="20" height="20" aria-hidden="true" /> </a> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; } #locations-1697 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 31.25rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #locations-1697 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } #locations-1697 .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ } #locations-1697 .cs-item::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%); position: absolute; bottom: 0; left: 0; } #locations-1697 .cs-item:last-of-type::after { content: none; } #locations-1697 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 1rem 0; color: var(--headerColor); } #locations-1697 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: 18.75rem; padding: 0; color: var(--bodyTextColor); } #locations-1697 .cs-address { max-width: 18ch; margin-bottom: 1rem; } #locations-1697 .cs-link { font-size: 1rem; font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: 0.625rem; transition: color 0.3s; } #locations-1697 .cs-link:hover .cs-arrow { transform: translateX(0.25rem); } #locations-1697 .cs-link-text { width: fit-content; } #locations-1697 .cs-arrow { width: 1.25rem; height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 .cs-container { max-width: 80rem; } #locations-1697 .cs-item { grid-column: span 3; } #locations-1697 .cs-item:nth-of-type(4)::after { display: none; } #locations-1697 .cs-item::after { width: 1px; height: 100%; background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%); right: 0; left: initial; } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; } #locations-1697 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 31.25rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #locations-1697 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } #locations-1697 .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ } #locations-1697 .cs-item::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%); position: absolute; bottom: 0; left: 0; } #locations-1697 .cs-item:last-of-type::after { content: none; } #locations-1697 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 1rem 0; color: var(--headerColor); } #locations-1697 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: 18.75rem; padding: 0; color: var(--bodyTextColor); } #locations-1697 .cs-address { max-width: 18ch; margin-bottom: 1rem; } #locations-1697 .cs-link { font-size: 1rem; font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: 0.625rem; transition: color 0.3s; } #locations-1697 .cs-link:hover .cs-arrow { transform: translateX(0.25rem); } #locations-1697 .cs-link-text { width: fit-content; } #locations-1697 .cs-arrow { width: 1.25rem; height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 .cs-container { max-width: 80rem; } #locations-1697 .cs-item { grid-column: span 3; } #locations-1697 .cs-item:nth-of-type(4)::after { display: none; } #locations-1697 .cs-item::after { width: 1px; height: 100%; background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%); right: 0; left: initial; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #locations-1697 .cs-h3, body.dark-mode #locations-1697 .cs-item-text { color: var(--bodyTextColorWhite); } body.dark-mode #locations-1697 .cs-item:after { opacity: .5; } body.dark-mode #locations-1697 .cs-item-text { opacity: 0.9; } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (500/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ &::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); position: absolute; bottom: 0; left: 0; } &:last-of-type { &::after { content: none; } } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 (16/16rem) 0; color: var(--headerColor); } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: (300/16rem); padding: 0; color: var(--bodyTextColor); } .cs-address { max-width: 18ch; margin-bottom: (16/16rem); } .cs-link { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: (10/16rem); transition: color 0.3s; &:hover { .cs-arrow { transform: translateX(0.25rem); } } } .cs-link-text { width: fit-content; } .cs-arrow { width: (20/16rem); height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 { .cs-container { max-width: (1280/16rem); } .cs-item { grid-column: span 3; &:nth-of-type(4) { &::after { display: none; } } &::after { width: 1px; height: 100%; background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); right: 0; left: initial; } } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (500/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ &::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); position: absolute; bottom: 0; left: 0; } &:last-of-type { &::after { content: none; } } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 (16/16rem) 0; color: var(--headerColor); } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: (300/16rem); padding: 0; color: var(--bodyTextColor); } .cs-address { max-width: 18ch; margin-bottom: (16/16rem); } .cs-link { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: (10/16rem); transition: color 0.3s; &:hover { .cs-arrow { transform: translateX(0.25rem); } } } .cs-link-text { width: fit-content; } .cs-arrow { width: (20/16rem); height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 { .cs-container { max-width: (1280/16rem); } .cs-item { grid-column: span 3; &:nth-of-type(4) { &::after { display: none; } } &::after { width: 1px; height: 100%; background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); right: 0; left: initial; } } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #locations-1697 { .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-item { &:after { opacity: .5; } } .cs-item-text { opacity: 0.9; } } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(500 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ &::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); position: absolute; bottom: 0; left: 0; } &:last-of-type { &::after { content: none; } } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: calc(300 / 16 * 1rem); padding: 0; color: var(--bodyTextColor); } .cs-address { max-width: 18ch; margin-bottom: calc(16 / 16 * 1rem); } .cs-link { font-size: calc(16 / 16 * 1rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: calc(10 / 16 * 1rem); transition: color 0.3s; &:hover { .cs-arrow { transform: translateX(0.25rem); } } } .cs-link-text { width: fit-content; } .cs-arrow { width: calc(20 / 16 * 1rem); height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-item { grid-column: span 3; &:nth-of-type(4) { &::after { display: none; } } &::after { width: 1px; height: 100%; background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); right: 0; left: initial; } } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #locations-1697 { padding: var(--sectionPadding); position: relative; z-index: 1; .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(500 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); } .cs-item { list-style: none; width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 24px - 60px top & bottom*/ /* 16px - 40px left & right*/ padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; position: relative; z-index: 1; /* bottom border */ &::after { content: ""; width: 100%; height: 1px; /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */ /* note you'll also have to change the color in the tablet media query when the lines go vertical */ background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); position: absolute; bottom: 0; left: 0; } &:last-of-type { &::after { content: none; } } } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: bold; line-height: 1.2em; margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-decoration: none; max-width: calc(300 / 16 * 1rem); padding: 0; color: var(--bodyTextColor); } .cs-address { max-width: 18ch; margin-bottom: calc(16 / 16 * 1rem); } .cs-link { font-size: calc(16 / 16 * 1rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; margin-top: auto; /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */ /* 24px - 32px */ padding-top: clamp(1.5rem, 1vw, 2rem); color: var(--secondary); display: flex; justify-content: flex-start; align-items: center; gap: calc(10 / 16 * 1rem); transition: color 0.3s; &:hover { .cs-arrow { transform: translateX(0.25rem); } } } .cs-link-text { width: fit-content; } .cs-arrow { width: calc(20 / 16 * 1rem); height: auto; display: block; transition: filter 0.3s, transform 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #locations-1697 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-item { grid-column: span 3; &:nth-of-type(4) { &::after { display: none; } } &::after { width: 1px; height: 100%; background: linear-gradient( 0deg, rgba(255, 255, 255, 0) 0%, rgb(186, 186, 186, 1) 50%, rgba(255, 255, 255, 0) 100% ); right: 0; left: initial; } } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #locations-1697 { .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-item { &:after { opacity: .5; } } .cs-item-text { opacity: 0.9; } } } }
: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