Component usage notes.
An example of this section level component in action, please see the Sample Page
This component is designed to be the full-width of the page. See the Reference Pages for examples of this component in action.
<section class="timeline-container">
<div class="container py-5">
<h2>From College to Career</h2>
<div class="main-timeline-alt">
<div class="col-12 timeline-banner-start">
<h3>Medium Length Subheader</h3>
</div>
<div class="timeline-alt timeline-right-alt pt-2">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">1. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">2. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">3. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">4. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example paragraph.</p>
</div>
</div>
</div>
<div class="col-12 timeline-banner-end">
<h3>Medium Length Subheader</h3>
</div>
</div>
</div>
</section>
/* components/03-sections/12-timeline/timeline.scss */
/* BEGIN timeline.scss */
/* Timeline text styles */
h3.timeline-section-header {
font-family: 'Arsenal', 'Open Sans';
color: $blue;
font-size: 2rem;
font-weight: 700;
line-height: 1.6;
&::after{
background-color: $orange;
content: "";
display: block;
height: 4px;
margin-top: 5px;
margin-bottom: 25px;
width: 4em;
}
}
h3.timeline-alt-section-header {
font-family: 'Arsenal', 'Open Sans';
color: $orange-a11y;
font-size: 1.25rem;
font-weight: 700;
line-height: 1.45;
}
.timeline-banner-start {
padding: 15px 15px 10px 20px;
background-color: $orange-a11y;
margin-bottom: 20px;
margin-top: 20px;
display: block;
position: relative;
z-index: 10;
width: 102%;
left: -2%;
>h3 {
color: $white;
font-size: 1.5rem;
margin-bottom: 5px;
}
}
.timeline-banner-end {
padding: 15px 15px 10px 20px;
background-color: $orange-a11y;
margin-bottom: 20px;
margin-top: 10px;
display: block;
position: relative;
z-index: 10;
width: 102%;
left: -2%;
>h3 {
color: $white;
font-size: 1.5rem;
margin-bottom: 5px;
}
}
/* The actual timeline (the vertical ruler) */
.main-timeline {
position: relative;
max-width: 100%;
margin: 0 auto;
}
/* Container around content */
.timeline {
position: relative;
background-color: inherit;
width: 100%;
>.card {
--bs-card-border-radius: 0;
--bs-card-border-width:0;
--bs-card-border-color: #{$blue};
border-left: solid 3px;
>.card-body {
background-color: #f2f2f2;
& ul>li {
margin-bottom: 5px;
font-weight: 600;
font-size: 1rem;
&::marker {
color: $orange-a11y;
}
}
}
}
}
.main-timeline-alt {
position: relative;
max-width: 100%;
margin: 0 auto;
/* The vertical line */
&::after {
content: "";
position: absolute;
width: 4px;
top: 0;
bottom: 0;
left: 0;
margin-left: -3px;
background-image: repeating-linear-gradient(
to bottom,
$blue 0px,
$blue 7px, /* Dash length */
transparent 7px,
transparent 15px /* 18px - 10px = 8px gap between dashes */
);
}
}
/* Container around content */
.timeline-alt {
position: relative;
background-color: inherit;
width: 100%;
/* Square markers on the timeline */
&::after {
content: "";
position: absolute;
width: 12px;
height: 12px;
right: 1ch;
background-color: $blue;
top: 24px;
border-radius: 10%;
z-index: 1;
}
>.card {
--bs-card-border-radius: 0;
--bs-card-border-width:4px;
--bs-card-border-color: #{$white-b};
border-left: solid 4px $blue;
>.card-body {
background-color: $white-b;
& ul>li {
margin-bottom: 6px;
font-weight: 600;
font-size: .9rem;
&::marker {
color: $orange-a11y;
}
}
& p {
font-size: .95rem;
}
}
}
}
/* Place the container to the right */
.timeline-right {
padding: 0px 0px 20px 0px;
left: auto;
}
.timeline-right-alt {
padding: 0px 0px 20px 40px;
left: auto;
}
/* Add arrows to the right container (pointing left) */
.timeline-right-alt::before {
content: " ";
position: absolute;
top: 18px;
z-index: 1;
left: 25px;
border: medium solid $blue;
border-width: 12px 15px 12px 0;
border-color: transparent $blue transparent transparent;
}
/* Fix the circle for containers on the right side */
.timeline-right::after {
left: -7px;
}
.timeline-right-alt::after {
left: -7px;
}
.timeline-container {
/* fallback for old browsers */
background: none;
}
/* Start - Timeline Small */
#timeline-progression > div {
background-color: $white-b;
border-top: 3px solid $orange;
&:not(:first-child){
margin-left: 20px;
}
}
#timeline-progression p, #timeline-progression li, #timeline-progression a {
font-weight: bold;
}
#timeline-numbers{
color: $white;
font-weight: bold;
}
.inner {
position: relative;
}
#timeline-numbers span {
background-color: $blue;
border-radius: 30px;
z-index: 1;
}
#timeline-numbers span.square {
background-color: $blue;
border-radius: 5px;
}
.inner::after{
content: '';
border-top: 3px solid $orange;
height: 100%;
width: 76%;
position: absolute;
left: 12%;
top: 10px;
z-index: -1;
}
#timeline-numbers span.circle{
border-radius: 30px;
}
/* End - Timeline Small */
/* Dark Mode - Timeline Styles */
@include color-mode(dark) {
h3.timeline-section-header {
color: $white;
}
.timeline-banner-start,
.timeline-banner-end {
background-color: $blue;
}
.main-timeline::after {
border: solid 2px $white;
border-style: dashed;
}
.timeline {
>.card {
--bs-card-border-width:2px;
border-left: solid 3px $orange;
>.card-body {
background-color: transparent;
& ul>li {
color: $white;
&::marker {
color: $white;
}
}
}
}
}
.timeline::after {
background-color: $white;
}
.timeline-right::before {
border: 4px solid $orange;
border-width: 14px 14px 14px 0;
border-color: transparent $orange transparent transparent;
}
#timeline-progression .text-uppercase {
color: $blue;
}
/* Alt Timeline DM styles: colors only, layout comes from the light rules */
/* The vertical line (the gradient has to be restated to change its color) */
.main-timeline-alt::after {
background-image: repeating-linear-gradient(
to bottom,
$orange 0px,
$orange 7px,
transparent 7px,
transparent 15px
);
}
.timeline-alt {
/* Square markers on the timeline */
&::after {
background-color: $orange;
}
>.card {
--bs-card-border-color: #{$grey};
border-left-color: $orange;
>.card-body {
background-color: $grey;
& ul>li,
& p,
& a {
color: $blue;
}
& a:hover {
color: $orange-a11y;
}
}
}
}
/* Arrows pointing left */
.timeline-right-alt::before {
border-right-color: $orange;
}
}
/* Dark Mode - Timeline END */
/* Mobile Responsive Fixes */
@media screen and (max-width: 767px) {
.timeline {
>.card {
>.card-body {
& ul {
margin-bottom: 0px;
}
}
}
}
}
@media (max-width: 991px) {
.main-timeline, .main-timeline-alt {
max-width: 100%;
}
}
@include media-breakpoint-down(lg) {
#timeline-progression > div {
&:not(:first-child){
margin-left: 0px;
}
}
}
/* END timeline.scss */
<section class="timeline-container">
<div class="container py-5">
<h2>{{ headline }}</h2>
<div class="main-timeline-alt">
<div class="col-12 timeline-banner-start"><h3>{{ subhead }}</h3></div>
<div class="timeline-alt timeline-right-alt pt-2">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">1. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
<li><a href="#">Linked list item to visit during your first academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
<li>List item or step to take during your first academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">2. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
<li><a href="#">Linked list item to visit during your second academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
<li>List item or step to take during your second academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">3. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
<li><a href="#">Linked list item to visit during your third academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
<li>List item or step to take during your third academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example pagraph.</p>
</div>
</div>
</div>
<div class="timeline-alt timeline-right-alt">
<div class="card">
<div class="card-body px-4 py-3">
<h3 class="timeline-alt-section-header">4. Section Header</h3>
<div class="row">
<div class="col-12 col-md-6">
<ul>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
<li><a href="#">Linked list item to visit during your fourth academic year.</a></li>
</ul>
</div>
<div class="col-12 col-md-6">
<ul>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
<li>List item or step to take during your fourth academic year.</li>
</ul>
</div>
</div>
<p class="mt-2 mb-0">Lorem ipsum dolor sit amet, example paragraph.</p>
</div>
</div>
</div>
<div class="col-12 timeline-banner-end"><h3>{{ subhead }}</h3></div>
</div>
</div>
</section>