2020-11-15 08:33:51 -08:00
|
|
|
$primary: #3f51b5;
|
|
|
|
$dark-primary: #303f9f;
|
|
|
|
$light-primary: #c5cae9;
|
|
|
|
$text: #ffffff;
|
|
|
|
$primary-text: #212121;
|
|
|
|
$secondary-text: #757575;
|
|
|
|
$accent: #10bbff;
|
|
|
|
|
|
|
|
.hero-table {
|
|
|
|
margin-left: 10%;
|
|
|
|
margin-right: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
padding: 100px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
background: $light-primary;
|
|
|
|
width: 5px;
|
|
|
|
height: 95%;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-item {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 70px;
|
|
|
|
|
2020-11-16 08:01:21 -08:00
|
|
|
.timeline-content {
|
|
|
|
padding: 20px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2020-11-15 08:33:51 -08:00
|
|
|
&:nth-child(even) {
|
|
|
|
.timeline-content {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.date {
|
|
|
|
right: auto;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border-style: solid;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2020-11-15 17:57:24 -08:00
|
|
|
top: 0;
|
|
|
|
left: -20px;
|
|
|
|
border-width: 18px 20px 18px 0;
|
|
|
|
border-color: transparent #10bbff transparent transparent;
|
2020-11-15 08:33:51 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
position: relative;
|
|
|
|
width: 45%;
|
|
|
|
padding: 10px 30px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: #f5f5f5;
|
|
|
|
box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border-style: solid;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2020-11-15 17:57:24 -08:00
|
|
|
top: 0;
|
|
|
|
right: -20px;
|
|
|
|
border-width: 18px 0 18px 20px;
|
|
|
|
border-color: transparent transparent transparent #10bbff;
|
2020-11-15 08:33:51 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-img {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2020-11-15 17:57:24 -08:00
|
|
|
background: #10bbff;
|
2020-11-15 08:33:51 -08:00
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
2020-11-15 17:57:24 -08:00
|
|
|
margin-top: 5px;
|
2020-11-15 08:33:51 -08:00
|
|
|
margin-left: -15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-card {
|
|
|
|
padding: 0 !important;
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-item {
|
|
|
|
.timeline-img-header {
|
|
|
|
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)),
|
|
|
|
url("https://picsum.photos/1000/800/?random") center center no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-img-header {
|
|
|
|
height: 200px;
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
color: $text;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 5px;
|
|
|
|
left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin-top: 30px;
|
|
|
|
color: $secondary-text;
|
|
|
|
border-left-color: $primary;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
background: $accent;
|
|
|
|
display: inline-block;
|
|
|
|
color: $text;
|
|
|
|
padding: 5px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
.timeline {
|
|
|
|
&::before {
|
2020-11-15 17:57:24 -08:00
|
|
|
left: 30px;
|
2020-11-15 08:33:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-img {
|
2020-11-15 17:57:24 -08:00
|
|
|
left: 30px;
|
2020-11-15 08:33:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
max-width: 100%;
|
|
|
|
width: auto;
|
|
|
|
margin-left: 70px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-item {
|
|
|
|
&:nth-child(even) {
|
|
|
|
.timeline-content {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(odd) {
|
|
|
|
.timeline-content {
|
2020-11-15 17:57:24 -08:00
|
|
|
border-radius: 0 4px 4px 4px;
|
|
|
|
|
2020-11-15 08:33:51 -08:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border-style: solid;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2020-11-15 17:57:24 -08:00
|
|
|
top: 0;
|
|
|
|
left: -20px;
|
|
|
|
border-width: 18px 20px 18px 0;
|
2020-11-15 08:33:51 -08:00
|
|
|
border-color: transparent #f5f5f5 transparent transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|