151 lines
2.8 KiB
SCSS
151 lines
2.8 KiB
SCSS
.changelog {
|
|
white-space: nowrap;
|
|
overflow-x: hidden;
|
|
text-align: center;
|
|
margin: 10px 0px 10px 0px;
|
|
}
|
|
.changelog ol {
|
|
font-size: 0;
|
|
width: 100vw;
|
|
padding: 150px 0;
|
|
transition: all 1s;
|
|
}
|
|
.changelog ol li {
|
|
position: relative;
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
width: 160px;
|
|
height: 3px;
|
|
background: #000000;
|
|
}
|
|
.changelog ol li:last-child {
|
|
width: 280px;
|
|
}
|
|
.changelog ol li:not(:first-child) {
|
|
margin-left: 14px;
|
|
}
|
|
.changelog ol li:not(:last-child)::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: calc(100% + 1px);
|
|
bottom: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
transform: translateY(-50%);
|
|
background: #007aad;
|
|
}
|
|
.changelog ol li div {
|
|
position: absolute;
|
|
left: calc(100% + 7px);
|
|
width: 200px;
|
|
padding: 15px;
|
|
font-size: 1rem;
|
|
white-space: normal;
|
|
color: white;
|
|
background: #007aad;
|
|
}
|
|
.changelog ol li div::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 0;
|
|
height: 0;
|
|
border: 2px solid #007aad;
|
|
}
|
|
.changelog ol li:nth-child(odd) div {
|
|
top: -16px;
|
|
transform: translateY(-100%);
|
|
}
|
|
.changelog ol li:nth-child(odd) div::before {
|
|
top: 100%;
|
|
border-width: 8px 8px 0 0;
|
|
border-color: #007aad transparent transparent transparent;
|
|
}
|
|
.changelog ol li:nth-child(even) div {
|
|
top: calc(100% + 16px);
|
|
}
|
|
.changelog ol li:nth-child(even) div::before {
|
|
top: -8px;
|
|
border-width: 8px 0 0 8px;
|
|
border-color: transparent transparent transparent #007aad;
|
|
}
|
|
.changelog #version {
|
|
display: block;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
//margin-bottom: 8px;
|
|
}
|
|
.changelog #description {
|
|
display: block;
|
|
font-size: 0.7rem;
|
|
margin-bottom: 8px;
|
|
}
|
|
.changelog #download a {
|
|
color: #ffffff;
|
|
}
|
|
.changelog .arrows {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.changelog .arrows .arrow__prev {
|
|
margin-right: 20px;
|
|
}
|
|
.changelog .disabled {
|
|
opacity: .5;
|
|
}
|
|
.changelog .arrows img {
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
@media screen and (max-width: 599px) {
|
|
.changelog ol,
|
|
.changelog ol li {
|
|
width: auto;
|
|
}
|
|
.changelog ol {
|
|
padding: 0;
|
|
transform: none !important;
|
|
}
|
|
.changelog ol li {
|
|
display: block;
|
|
height: auto;
|
|
background: transparent;
|
|
}
|
|
.changelog ol li:first-child {
|
|
margin-top: 25px;
|
|
}
|
|
.changelog ol li:not(:first-child) {
|
|
margin-left: auto;
|
|
}
|
|
.changelog ol li div {
|
|
width: 94%;
|
|
height: auto !important;
|
|
margin: 0 auto 25px;
|
|
}
|
|
.changelog ol li div {
|
|
position: static;
|
|
}
|
|
.changelog ol li:nth-child(odd) div {
|
|
transform: none;
|
|
}
|
|
.changelog ol li:nth-child(odd) div::before,
|
|
.changelog ol li:nth-child(even) div::before {
|
|
left: 50%;
|
|
top: 100%;
|
|
transform: translateX(-50%);
|
|
border: none;
|
|
border-left: 1px solid white;
|
|
height: 25px;
|
|
}
|
|
.changelog ol li:last-child,
|
|
.changelog ol li:nth-last-child(2) div::before,
|
|
.changelog ol li:not(:last-child)::after,
|
|
.changelog .arrows {
|
|
display: none;
|
|
}
|
|
}
|