aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_top.scss
blob: 0c1f7299e8e6b253750e4a084b80957dd88fbe35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 * Top - back to top button using only CSS
 */
.topout {
  position: sticky;
  bottom: 1px;
  padding: 20px;
  place-self: end;
  margin-top: 110vh;
  pointer-events: none;
}
.topleft {
  margin-left: calc(100% - 80px);
}
.top {
  pointer-events: all;
  padding: 9px;
  border-radius: 9px;
  font-weight:700;
  color: var(--a1);
  background: var(--c2);
}
.top:hover {
  text-decoration: none;
  color: var(--c2);
  background: var(--a1);
  .svgh {
    background: var(--c2);
    opacity: 1;
  }
}