<style>
.article-name {
text-align: center;
color: #6C307D;
background-color: white;
margin: 0 auto;
display: block;
}
mark {
background-color: #fc3;
}
.timeline {
max-height: 100vh;
margin: 0;
overflow: hidden;
margin-bottom: 100px;
}
.timeline:before {
content: '';
position: absolute;
top: 110px;
left: 50%;
bottom: 0;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
width: 4px;
background-color: #6C307D;
}
.timeline .entries {
width: calc(100% - 80px);
max-width: 800px;
margin: auto;
position: relative;
left: -5px;
}
.timeline .entries .entry {
width: calc(50% - 44px);
float: left;
padding: 20px;
clear: both;
text-align: right;
}
.timeline .entries .entry:not(:first-child) {
margin-top: -60px;
}
.timeline .entries .entry .title {
font-size: 18px;
margin-bottom: 4px;
position: relative;
color: #222;
font-weight: bold;
}
.timeline .entries .entry .title.big {
font-size: 24px;
}
.timeline .entries .entry .title:before {
content: '';
position: absolute;
width: 8px;
height: 8px;
border: 4px solid #6C307D;
background-color: white;
border-radius: 100%;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: -37px;
z-index: 1000;
}
.timeline .entries .entry .title.big:before {
width: 24px;
height: 24px;
-webkit-transform: translate(8px, -50%);
transform: translate(8px, -50%);
}
.timeline .entries .entry .timeline {
color: #aaa;
}
.timeline .entries .entry .timeline p {
line-height: 1.4em;
}
.timeline .entries .entry:nth-child(2n) {
text-align: left;
float: right;
}
.timeline .entries .entry:nth-child(2n) .title:before {
left: -27px;
}
.timeline .entries .entry:nth-child(2n) .title.big:before {
-webkit-transform: translate(-7px, -50%);
transform: translate(-7px, -50%);
}
</style>