2020-03-16 19:03:36 +01:00
|
|
|
#fixed-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-03-16 08:01:51 +01:00
|
|
|
.fixed-button {
|
2020-03-14 14:47:51 +01:00
|
|
|
display: none;
|
|
|
|
z-index: 100;
|
|
|
|
position: fixed;
|
2020-03-16 08:01:51 +01:00
|
|
|
right: 1.5rem;
|
2020-03-16 03:59:51 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.3rem;
|
2020-03-14 14:47:51 +01:00
|
|
|
padding: .6rem .6rem;
|
|
|
|
color: $global-font-secondary-color;
|
|
|
|
background: $header-background-color;
|
2020-03-16 03:59:51 +01:00
|
|
|
border: 1px solid darken($global-border-color, 10%);
|
2020-03-14 14:47:51 +01:00
|
|
|
border-radius: 2rem;
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
color: $global-font-color;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active, &:focus, &:hover {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
background: $header-background-color-dark;
|
2020-03-16 03:59:51 +01:00
|
|
|
border-color: darken($global-border-color-dark, 10%);
|
2020-03-14 14:47:51 +01:00
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
color: $global-font-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-16 08:01:51 +01:00
|
|
|
|
|
|
|
#top-button {
|
2020-03-16 19:03:36 +01:00
|
|
|
display: block;
|
2020-03-16 08:01:51 +01:00
|
|
|
bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comment-button {
|
|
|
|
bottom: 4.5rem;
|
|
|
|
}
|