summaryrefslogtreecommitdiff
path: root/assets/css/footer.css
blob: 4fd3acea78e1c810e16c05750fa69a40ddb83523 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* Footer
-------------------------------------------------- */
.footer {
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: calc((var(--footer-height) - (var(--gap)) - 10px) / 2) var(--gap);
    color: var(--secondary);
    font-size: 12px;
    text-align: center;
    line-height: 24px;
}

.footer span {
    margin-left: 1px;
    margin-right: 1px;
}

.footer a {
    color: inherit;
    border-bottom: 1px solid var(--secondary);
}

.footer a:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.top-link {
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 99;
    background: var(--tertiary);
    width: 42px;
    height: 42px;
    padding: 12px;
    color: var(--secondary);
    border-radius: 64px;
    fill: currentColor;
    fill-opacity: 80%;
    transition: visibility 0.5s,
        opacity 0.8s linear;
}

.top-link:hover {
    color: var(--primary);
}