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)
Combo
(0)
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)
Slideshow
(0)
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)
Timeline
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
<!-- ============================================ --> <!-- Timeline --> <!-- ============================================ --> <section id="timeline-1517"> <div class="cs-container"> <div class="cs-content"> <div class="cs-flex"> <span class="cs-topper">Timeline</span> <h2 class="cs-title">Stitch Certificate & Educational Timeline</h2> <p class="cs-text"> We promise to take care of your child’s social, emotional, intellectual and physical needs with sensitive care and we also ensure you their security with our life. </p> </div> <div class="cs-image-group"> <!--Cert 1--> <picture class="cs-picture"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/cert1.png" alt="certification" width="199" height="140" loading="lazy" decoding="async" aria-hidden="true"> </picture> <!--Cert 2--> <picture class="cs-picture"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/cert2.png" alt="certification" width="199" height="140" loading="lazy" decoding="async" aria-hidden="true"> </picture> <!--Cert 3--> <picture class="cs-picture"> <img src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/cert2.png" alt="certification" width="199" height="140" loading="lazy" decoding="async" aria-hidden="true"> </picture> </div> </div> <ul class="cs-card-group"> <li class="cs-item"> <span class="cs-date">July 2018</span> <h3 class="cs-h3">Computer Science</h3> <p class="cs-item-text"> Canadian National University </p> </li> <li class="cs-item"> <span class="cs-date">July 2018</span> <h3 class="cs-h3">Computer Science</h3> <p class="cs-item-text"> Canadian National University </p> </li> <li class="cs-item"> <span class="cs-date">July 2018</span> <h3 class="cs-h3">Computer Science</h3> <p class="cs-item-text"> Canadian National University </p> </li> <li class="cs-item"> <span class="cs-date">July 2018</span> <h3 class="cs-h3">Computer Science</h3> <p class="cs-item-text"> Canadian National University </p> </li> </ul> </div> <!--Left floater--> <img class="cs-floater cs-floater1" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/green-seed.svg" alt="graphic" width="232" height="232" loading="lazy" decoding="async" aria-hidden="true"> <!--right floater--> <img class="cs-floater cs-floater2" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/circle-seed.svg" alt="graphic" width="232" height="232" loading="lazy" decoding="async" aria-hidden="true"> <!--SVG Zig Zags--> <svg class="cs-background cs-background-top" xmlns="http://www.w3.org/2000/svg" width="1920" height="39" viewBox="0 0 1920 39" fill="none"> <path d="M1920 0H0V15.8216L4.95532 13.3966L18.1455 15.2801L28.6394 22.5944L42.0481 24.423L54.0723 27.0599L66.8979 21.3623L78.7034 23.6147L90.9463 27.8134L102.533 21.5742L114.776 24.5329L126.654 25.2314L138.605 24.7997L148.881 29.1554L160.759 28.6217L171.18 33.354L183.569 27.1698L194.573 29.9637L207.69 30.0186L219.277 25.7179L228.531 18.9373L240.556 16.0335L253.017 13.3966L265.989 13.0748L279.033 14.5267L292.296 16.1983L305.413 12.5333L317.437 17.0537L331.065 15.0682L342.943 19.157L354.749 23.0261L366.773 26.1496L378.943 29.2652L391.331 31.6903L405.469 28.0802L417.274 32.067L428.57 35.1277L440.375 35.2925L451.598 38.4631L463.622 37.7097L475.208 38.8947L487.087 35.7241L498.455 36.7993L510.115 38.1413L522.285 34.2173L536.058 32.012L547.864 26.3065L561.928 29.2652L574.171 20.7658L587.434 22.0058L599.604 24.0463L611.191 21.5192L623.215 24.6428L634.947 25.2863L646.607 23.9443L658.413 20.499L670.437 17.7051L681.805 24.423L694.048 20.7658L706.072 20.1223L728.226 29.43L741.197 24.6428H753.221L761.31 35.6692L773.771 34.1624L785.65 29.8067L796.29 31.2586L809.261 34.594L818.37 26.7382L828.864 22.1628L842.418 22.9711L852.329 17.0537L866.248 19.314L875.722 11.7877L887.673 9.95128L900.28 11.2462L911.94 8.2875L924.474 10.328L937.373 8.17763L949.98 7.15739L961.931 10.3123L966.887 7.8951L980.077 15.1545L990.57 22.4689L1003.98 24.2974L1016 26.9344L1028.83 21.2367L1040.63 23.4891L1052.88 27.6878L1064.46 21.4486L1076.71 24.4073L1088.59 25.1058L1100.54 24.6741L1110.81 29.0298L1122.69 28.4961L1133.11 33.2285L1145.5 27.0442L1156.5 29.8381L1169.62 29.8931L1181.21 25.5924L1190.46 18.8117L1202.49 15.9079L1214.95 13.271L1227.92 12.9492L1240.96 14.4011L1254.23 16.0727L1267.34 12.4077L1279.37 16.9282L1293 14.9426L1304.87 19.0236L1316.68 22.9005L1328.7 26.024L1340.87 29.1397L1353.26 31.5647L1367.4 27.9546L1379.21 31.9414L1390.5 35.0021L1402.31 35.1669L1413.53 38.3375L1425.55 37.5841L1437.14 38.7692L1449.02 35.5986L1460.39 36.6738L1472.05 38.0158L1484.22 34.0918L1497.99 31.8865L1509.79 26.181L1523.86 29.1397L1536.1 20.6403L1549.37 21.8803L1561.54 23.9207L1573.12 21.3937L1585.15 24.5172L1596.88 25.1607L1608.54 23.8187L1620.34 20.3734L1632.37 17.5717L1643.74 24.2974L1655.98 20.6403L1668 19.9967L1690.16 29.3045L1703.13 24.5172H1715.15L1723.24 35.5436L1735.7 34.0368L1747.58 29.6812L1758.22 31.1331L1771.19 34.4685L1780.3 26.6126L1790.79 22.0372L1804.35 22.8456L1814.26 16.9282L1828.18 19.1884L1837.65 11.6543L1849.6 9.82571L1862.21 11.1206L1873.87 8.16193L1886.41 10.2024L1899.3 8.05206L1911.91 7.03182L1920 7.78523V0Z" fill="var(--backgroundBG)" /> </svg> <svg class="cs-background cs-background-bottom" xmlns="http://www.w3.org/2000/svg" width="1920" height="39" viewBox="0 0 1920 39" fill="none"> <path d="M1920 0H0V15.8216L4.95532 13.3966L18.1455 15.2801L28.6394 22.5944L42.0481 24.423L54.0723 27.0599L66.8979 21.3623L78.7034 23.6147L90.9463 27.8134L102.533 21.5742L114.776 24.5329L126.654 25.2314L138.605 24.7997L148.881 29.1554L160.759 28.6217L171.18 33.354L183.569 27.1698L194.573 29.9637L207.69 30.0186L219.277 25.7179L228.531 18.9373L240.556 16.0335L253.017 13.3966L265.989 13.0748L279.033 14.5267L292.296 16.1983L305.413 12.5333L317.437 17.0537L331.065 15.0682L342.943 19.157L354.749 23.0261L366.773 26.1496L378.943 29.2652L391.331 31.6903L405.469 28.0802L417.274 32.067L428.57 35.1277L440.375 35.2925L451.598 38.4631L463.622 37.7097L475.208 38.8947L487.087 35.7241L498.455 36.7993L510.115 38.1413L522.285 34.2173L536.058 32.012L547.864 26.3065L561.928 29.2652L574.171 20.7658L587.434 22.0058L599.604 24.0463L611.191 21.5192L623.215 24.6428L634.947 25.2863L646.607 23.9443L658.413 20.499L670.437 17.7051L681.805 24.423L694.048 20.7658L706.072 20.1223L728.226 29.43L741.197 24.6428H753.221L761.31 35.6692L773.771 34.1624L785.65 29.8067L796.29 31.2586L809.261 34.594L818.37 26.7382L828.864 22.1628L842.418 22.9711L852.329 17.0537L866.248 19.314L875.722 11.7877L887.673 9.95128L900.28 11.2462L911.94 8.2875L924.474 10.328L937.373 8.17763L949.98 7.15739L961.931 10.3123L966.887 7.8951L980.077 15.1545L990.57 22.4689L1003.98 24.2974L1016 26.9344L1028.83 21.2367L1040.63 23.4891L1052.88 27.6878L1064.46 21.4486L1076.71 24.4073L1088.59 25.1058L1100.54 24.6741L1110.81 29.0298L1122.69 28.4961L1133.11 33.2285L1145.5 27.0442L1156.5 29.8381L1169.62 29.8931L1181.21 25.5924L1190.46 18.8117L1202.49 15.9079L1214.95 13.271L1227.92 12.9492L1240.96 14.4011L1254.23 16.0727L1267.34 12.4077L1279.37 16.9282L1293 14.9426L1304.87 19.0236L1316.68 22.9005L1328.7 26.024L1340.87 29.1397L1353.26 31.5647L1367.4 27.9546L1379.21 31.9414L1390.5 35.0021L1402.31 35.1669L1413.53 38.3375L1425.55 37.5841L1437.14 38.7692L1449.02 35.5986L1460.39 36.6738L1472.05 38.0158L1484.22 34.0918L1497.99 31.8865L1509.79 26.181L1523.86 29.1397L1536.1 20.6403L1549.37 21.8803L1561.54 23.9207L1573.12 21.3937L1585.15 24.5172L1596.88 25.1607L1608.54 23.8187L1620.34 20.3734L1632.37 17.5717L1643.74 24.2974L1655.98 20.6403L1668 19.9967L1690.16 29.3045L1703.13 24.5172H1715.15L1723.24 35.5436L1735.7 34.0368L1747.58 29.6812L1758.22 31.1331L1771.19 34.4685L1780.3 26.6126L1790.79 22.0372L1804.35 22.8456L1814.26 16.9282L1828.18 19.1884L1837.65 11.6543L1849.6 9.82571L1862.21 11.1206L1873.87 8.16193L1886.41 10.2024L1899.3 8.05206L1911.91 7.03182L1920 7.78523V0Z" fill="var(--backgroundBG)" /> </svg> </section>
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) 1rem; /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; } #timeline-1517:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } #timeline-1517 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #timeline-1517 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } #timeline-1517 .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #timeline-1517 .cs-topper { color: var(--secondary); } #timeline-1517 .cs-title { max-width: 20ch; } #timeline-1517 .cs-image-group { width: 100%; max-width: 38.75rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; } #timeline-1517 .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; } #timeline-1517 .cs-picture img { width: 100%; height: auto; } #timeline-1517 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* changes at tablet */ gap: 1.5rem; position: relative; } #timeline-1517 .cs-card-group:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: -18.75rem; /* half the width of the bullet */ left: 0.5625rem; } #timeline-1517 .cs-item { width: 100%; max-width: 25rem; list-style: none; padding: 0 0 0 2.75rem; grid-column: span 12; position: relative; } #timeline-1517 .cs-item:hover .cs-date { color: var(--secondary); } #timeline-1517 .cs-item:hover:before { background-color: var(--secondary); border-color: var(--secondary); } #timeline-1517 .cs-item:before { /* bullet circle */ content: ""; width: 1.25rem; height: 1.25rem; background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color 0.3s, border-color 0.3s; } #timeline-1517 .cs-date { font-size: 1rem; line-height: 1.2em; font-weight: 700; margin: 0 0 1rem 0; color: var(--bodyTextColor); display: block; transition: color .3s; } #timeline-1517 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } #timeline-1517 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: 0.5rem 0 0 0; color: var(--bodyTextColor); } #timeline-1517 .cs-floater { width: 14.375rem; height: auto; display: none; position: absolute; } #timeline-1517 .cs-floater1 { bottom: 1.5625rem; left: 0; } #timeline-1517 .cs-floater2 { top: 1.25rem; right: -4.5rem; } #timeline-1517 .cs-background { --backgroundBG: #fff; width: 100%; min-width: 120rem; height: auto; position: absolute; left: 0; } #timeline-1517 .cs-background-top { top: 0; } #timeline-1517 .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 .cs-container { max-width: 80rem; } #timeline-1517 .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: 3rem; } #timeline-1517 .cs-card-group:before { display: none; } #timeline-1517 .cs-item { padding: 3.75rem 0 0 0; grid-column: span 3; } #timeline-1517 .cs-item:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: 0.5625rem; left: 0; z-index: -1; transition: background-color 0.3s, border-color 0.3s; } #timeline-1517 .cs-h3 { width: 100%; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } #timeline-1517 .cs-flex { text-align: left; align-items: flex-start; } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 .cs-floater { display: block; } }
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) 1rem; /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; } #timeline-1517:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } #timeline-1517 .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #timeline-1517 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } #timeline-1517 .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #timeline-1517 .cs-topper { color: var(--secondary); } #timeline-1517 .cs-title { max-width: 20ch; } #timeline-1517 .cs-image-group { width: 100%; max-width: 38.75rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; } #timeline-1517 .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; } #timeline-1517 .cs-picture img { width: 100%; height: auto; } #timeline-1517 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* changes at tablet */ gap: 1.5rem; position: relative; } #timeline-1517 .cs-card-group:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: -18.75rem; /* half the width of the bullet */ left: 0.5625rem; } #timeline-1517 .cs-item { width: 100%; max-width: 25rem; list-style: none; padding: 0 0 0 2.75rem; grid-column: span 12; position: relative; } #timeline-1517 .cs-item:hover .cs-date { color: var(--secondary); } #timeline-1517 .cs-item:hover:before { background-color: var(--secondary); border-color: var(--secondary); } #timeline-1517 .cs-item:before { /* bullet circle */ content: ""; width: 1.25rem; height: 1.25rem; background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color 0.3s, border-color 0.3s; } #timeline-1517 .cs-date { font-size: 1rem; line-height: 1.2em; font-weight: 700; margin: 0 0 1rem 0; color: var(--bodyTextColor); display: block; transition: color .3s; } #timeline-1517 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } #timeline-1517 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: 0.5rem 0 0 0; color: var(--bodyTextColor); } #timeline-1517 .cs-floater { width: 14.375rem; height: auto; display: none; position: absolute; } #timeline-1517 .cs-floater1 { bottom: 1.5625rem; left: 0; } #timeline-1517 .cs-floater2 { top: 1.25rem; right: -4.5rem; } #timeline-1517 .cs-background { --backgroundBG: #fff; width: 100%; min-width: 120rem; height: auto; position: absolute; left: 0; } #timeline-1517 .cs-background-top { top: 0; } #timeline-1517 .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 .cs-container { max-width: 80rem; } #timeline-1517 .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: 3rem; } #timeline-1517 .cs-card-group:before { display: none; } #timeline-1517 .cs-item { padding: 3.75rem 0 0 0; grid-column: span 3; } #timeline-1517 .cs-item:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: 0.5625rem; left: 0; z-index: -1; transition: background-color 0.3s, border-color 0.3s; } #timeline-1517 .cs-h3 { width: 100%; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } #timeline-1517 .cs-flex { text-align: left; align-items: flex-start; } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 .cs-floater { display: block; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #timeline-1517 .cs-date { color: var(--secondary); } body.dark-mode #timeline-1517 .cs-title, body.dark-mode #timeline-1517 .cs-text, body.dark-mode #timeline-1517 .cs-h3, body.dark-mode #timeline-1517 .cs-item-text { color: var(--bodyTextColorWhite); } body.dark-mode #timeline-1517 .cs-card-group:before { opacity: .2; } body.dark-mode #timeline-1517 .cs-item:before { background-color: var(--dark); border-color: var(--accent); } body.dark-mode #timeline-1517 .cs-text, body.dark-mode #timeline-1517 .cs-item-text { opacity: .8; } body.dark-mode #timeline-1517 .cs-background { --backgroundBG: var(--dark); } }
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) (16/16rem); /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-topper { color: var(--secondary); } .cs-title { max-width: 20ch; } .cs-image-group { width: 100%; max-width: (620/16rem); display: flex; justify-content: center; align-items: center; gap: (8/16rem); } .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; img { width: 100%; height: auto; } } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* changes at tablet */ gap: (24/16rem); position: relative; &:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: (-300/16rem); /* half the width of the bullet */ left: (9/16rem); } } .cs-item { width: 100%; max-width: (400/16rem); list-style: none; padding: 0 0 0 (44/16rem); grid-column: span 12; position: relative; &:hover { .cs-date { color: var(--secondary); } &:before { background-color: var(--secondary); border-color: var(--secondary); } } &:before { /* bullet circle */ content: ""; width: (20/16rem); height: (20/16rem); background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color .3s, border-color .3s; } } .cs-date { font-size: (16/16rem); line-height: 1.2em; font-weight: 700; margin: 0 0 (16/16rem) 0; color: var(--bodyTextColor); display: block; transition: color .3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: (8/16rem) 0 0 0; color: var(--bodyTextColor); } .cs-floater { width: (230/16rem); height: auto; display: none; position: absolute; } .cs-floater1 { bottom: (25/16rem); left: 0; } .cs-floater2 { top: (20/16rem); right: (-72/16rem); } .cs-background { --backgroundBG: #fff; width: 100%; min-width: (1920/16rem); height: auto; position: absolute; left: 0; } .cs-background-top { top: 0; } .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 { .cs-container { max-width: (1280/16rem); } .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: (48/16rem); &:before { display: none; } } .cs-item { padding: (60/16rem) 0 0 0; grid-column: span 3; &:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: (9/16rem); left: 0; z-index: -1; transition: background-color .3s, border-color .3s; } } .cs-h3 { width: 100%; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 { .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } .cs-flex { text-align: left; align-items: flex-start; } } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 { .cs-floater { display: block; } } }
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) (16/16rem); /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-topper { color: var(--secondary); } .cs-title { max-width: 20ch; } .cs-image-group { width: 100%; max-width: (620/16rem); display: flex; justify-content: center; align-items: center; gap: (8/16rem); } .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; img { width: 100%; height: auto; } } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* changes at tablet */ gap: (24/16rem); position: relative; &:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: (-300/16rem); /* half the width of the bullet */ left: (9/16rem); } } .cs-item { width: 100%; max-width: (400/16rem); list-style: none; padding: 0 0 0 (44/16rem); grid-column: span 12; position: relative; &:hover { .cs-date { color: var(--secondary); } &:before { background-color: var(--secondary); border-color: var(--secondary); } } &:before { /* bullet circle */ content: ""; width: (20/16rem); height: (20/16rem); background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color .3s, border-color .3s; } } .cs-date { font-size: (16/16rem); line-height: 1.2em; font-weight: 700; margin: 0 0 (16/16rem) 0; color: var(--bodyTextColor); display: block; transition: color .3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: (8/16rem) 0 0 0; color: var(--bodyTextColor); } .cs-floater { width: (230/16rem); height: auto; display: none; position: absolute; } .cs-floater1 { bottom: (25/16rem); left: 0; } .cs-floater2 { top: (20/16rem); right: (-72/16rem); } .cs-background { --backgroundBG: #fff; width: 100%; min-width: (1920/16rem); height: auto; position: absolute; left: 0; } .cs-background-top { top: 0; } .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 { .cs-container { max-width: (1280/16rem); } .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: (48/16rem); &:before { display: none; } } .cs-item { padding: (60/16rem) 0 0 0; grid-column: span 3; &:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: (9/16rem); left: 0; z-index: -1; transition: background-color .3s, border-color .3s; } } .cs-h3 { width: 100%; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 { .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } .cs-flex { text-align: left; align-items: flex-start; } } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 { .cs-floater { display: block; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #timeline-1517 { .cs-date { color: var(--secondary); } .cs-title, .cs-text, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-card-group { &:before { opacity: .2; } } .cs-item { &:before { background-color: var(--dark); border-color: var(--accent); } } .cs-text, .cs-item-text { opacity: .8; } .cs-background { --backgroundBG: var(--dark); } } } }
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) calc(16 / 16 * 1rem); /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-topper { color: var(--secondary); } .cs-title { max-width: 20ch; } .cs-image-group { width: 100%; max-width: calc(620 / 16 * 1rem); display: flex; justify-content: center; align-items: center; gap: calc(8 / 16 * 1rem); } .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; img { width: 100%; height: auto; } } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12,1fr); /* changes at tablet */ gap: calc(24 / 16 * 1rem); position: relative; &:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: calc(-300 / 16 * 1rem); /* half the width of the bullet */ left: calc(9 / 16 * 1rem); } } .cs-item { width: 100%; max-width: calc(400 / 16 * 1rem); list-style: none; padding: 0 0 0 calc(44 / 16 * 1rem); grid-column: span 12; position: relative; &:hover { .cs-date { color: var(--secondary); } &:before { background-color: var(--secondary); border-color: var(--secondary); } } &:before { /* bullet circle */ content: ""; width: calc(20 / 16 * 1rem); height: calc(20 / 16 * 1rem); background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color .3s, border-color .3s; } } .cs-date { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--bodyTextColor); display: block; transition: color .3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: calc(8 / 16 * 1rem) 0 0 0; color: var(--bodyTextColor); } .cs-floater { width: calc(230 / 16 * 1rem); height: auto; display: none; position: absolute; } .cs-floater1 { bottom: calc(25 / 16 * 1rem); left: 0; } .cs-floater2 { top: calc(20 / 16 * 1rem); right: calc(-72 / 16 * 1rem); } .cs-background { --backgroundBG: #fff; width: 100%; min-width: calc(1920 / 16 * 1rem); height: auto; position: absolute; left: 0; } .cs-background-top { top: 0; } .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: calc(48 / 16 * 1rem); &:before { display: none; } } .cs-item { padding: calc(60 / 16 * 1rem) 0 0 0; grid-column: span 3; &:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: calc(9 / 16 * 1rem); left: 0; z-index: -1; transition: background-color .3s, border-color .3s; } } .cs-h3 { width: 100%; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 { .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } .cs-flex { text-align: left; align-items: flex-start; } } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 { .cs-floater { display: block; } } }
/*-- -------------------------- --> <--- Timeline --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #timeline-1517 { /* 60px - 140px */ padding: clamp(3.75rem, 7.82vw, 8.75rem) calc(16 / 16 * 1rem); /* clips the white line through the bullets */ overflow: hidden; position: relative; z-index: 1; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .05; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; display: block; top: 0; left: 0; } .cs-container { width: 100%; /* changes to 1280px at tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; /* 20px - 40px */ gap: clamp(1.25rem, 4vw, 2.5rem); } .cs-flex { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-topper { color: var(--secondary); } .cs-title { max-width: 20ch; } .cs-image-group { width: 100%; max-width: calc(620 / 16 * 1rem); display: flex; justify-content: center; align-items: center; gap: calc(8 / 16 * 1rem); } .cs-picture { width: 100%; height: auto; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; img { width: 100%; height: auto; } } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12,1fr); /* changes at tablet */ gap: calc(24 / 16 * 1rem); position: relative; &:before { /* white line through the bullets */ content: ""; width: 2px; background: #E8E8E8; opacity: 1; position: absolute; display: block; top: 0; /* send it way down to reach the bottom of the section, and have some overlap so if you add content and the ul gets longer, it will still be at the bottom */ bottom: calc(-300 / 16 * 1rem); /* half the width of the bullet */ left: calc(9 / 16 * 1rem); } } .cs-item { width: 100%; max-width: calc(400 / 16 * 1rem); list-style: none; padding: 0 0 0 calc(44 / 16 * 1rem); grid-column: span 12; position: relative; &:hover { .cs-date { color: var(--secondary); } &:before { background-color: var(--secondary); border-color: var(--secondary); } } &:before { /* bullet circle */ content: ""; width: calc(20 / 16 * 1rem); height: calc(20 / 16 * 1rem); background: #FFF8F5; border: 2px solid #bababa; /* prevents border from affecting height and width */ box-sizing: border-box; border-radius: 50%; opacity: 1; position: absolute; display: block; top: 0; left: 0; transition: background-color .3s, border-color .3s; } } .cs-date { font-size: calc(16 / 16 * 1rem); line-height: 1.2em; font-weight: 700; margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--bodyTextColor); display: block; transition: color .3s; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); line-height: 1.2em; font-weight: 700; /* changes to 100% at tablet */ width: 80%; margin: 0; color: var(--headerColor); position: relative; } .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; margin: calc(8 / 16 * 1rem) 0 0 0; color: var(--bodyTextColor); } .cs-floater { width: calc(230 / 16 * 1rem); height: auto; display: none; position: absolute; } .cs-floater1 { bottom: calc(25 / 16 * 1rem); left: 0; } .cs-floater2 { top: calc(20 / 16 * 1rem); right: calc(-72 / 16 * 1rem); } .cs-background { --backgroundBG: #fff; width: 100%; min-width: calc(1920 / 16 * 1rem); height: auto; position: absolute; left: 0; } .cs-background-top { top: 0; } .cs-background-bottom { bottom: 0; transform: rotateX(180deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #timeline-1517 { .cs-container { max-width: calc(1280 / 16 * 1rem); } .cs-card-group { /* clips the lines */ overflow: hidden; flex-direction: row; /* 16px - 20px */ gap: clamp(1rem, 1.5vw, 1.25rem); row-gap: calc(48 / 16 * 1rem); &:before { display: none; } } .cs-item { padding: calc(60 / 16 * 1rem) 0 0 0; grid-column: span 3; &:after { /* moved the line to the list item so we can have multiple rows */ content: ""; width: 110%; height: 2px; background: #E8E8E8; /* prevents border from affecting height and width */ box-sizing: border-box; opacity: 1; position: absolute; display: block; top: calc(9 / 16 * 1rem); left: 0; z-index: -1; transition: background-color .3s, border-color .3s; } } .cs-h3 { width: 100%; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #timeline-1517 { .cs-content { flex-direction: row; align-items: flex-end; justify-content: space-between; } .cs-flex { text-align: left; align-items: flex-start; } } } /* Larger Desktop - 1600px */ @media only screen and (min-width: 100rem) { #timeline-1517 { .cs-floater { display: block; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #timeline-1517 { .cs-date { color: var(--secondary); } .cs-title, .cs-text, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-card-group { &:before { opacity: .2; } } .cs-item { &:before { background-color: var(--dark); border-color: var(--accent); } } .cs-text, .cs-item-text { opacity: .8; } .cs-background { --backgroundBG: var(--dark); } } } }
: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