Add button to go back to top

Fixes #72
This commit is contained in:
Zed
2019-10-13 20:17:12 +02:00
parent ed03fe0a4a
commit a5c0fc3d72
2 changed files with 28 additions and 2 deletions

View File

@@ -7,8 +7,8 @@
.timeline {
background-color: $bg_panel;
> div:not(:last-child) {
border-bottom: 1px solid $border_grey;
> div:not(:first-child) {
border-top: 1px solid $border_grey;
}
}
@@ -121,6 +121,26 @@
}
}
.top-ref {
background-color: #0f0f0f;
border-top: none !important;
.icon-down {
font-size: 20px;
display: flex;
justify-content: center;
text-decoration: none;
&:hover {
color: $accent_light;
}
&::before {
transform: rotate(180deg) translateY(-1px);
}
}
}
.timeline-item {
overflow-wrap: break-word;
border-left-width: 0;