mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
b5f3debebb
close: #91
60 lines
1.0 KiB
CSS
60 lines
1.0 KiB
CSS
.footer,
|
|
.top-link {
|
|
font-size: 12px;
|
|
color: var(--secondary)
|
|
}
|
|
|
|
.footer {
|
|
max-width: calc(var(--main-width) + var(--gap) * 2);
|
|
margin: auto;
|
|
padding: calc((var(--footer-height) - (var(--gap)) - 10px) / 2) var(--gap);
|
|
text-align: center;
|
|
line-height: 24px
|
|
}
|
|
|
|
.footer span {
|
|
margin-inline-start: 1px;
|
|
margin-inline-end: 1px
|
|
}
|
|
|
|
.footer a {
|
|
color: inherit;
|
|
border-bottom: 1px solid var(--secondary)
|
|
}
|
|
|
|
.footer a:hover {
|
|
border-bottom: 1px solid var(--primary)
|
|
}
|
|
|
|
.top-link {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
position: fixed;
|
|
bottom: 60px;
|
|
right: 30px;
|
|
z-index: 99;
|
|
background: var(--tertiary);
|
|
width: 42px;
|
|
height: 42px;
|
|
padding: 12px;
|
|
border-radius: 64px;
|
|
fill: currentColor;
|
|
fill-opacity: 80%;
|
|
transition: visibility .5s, opacity .8s linear
|
|
}
|
|
|
|
.footer a:hover,
|
|
.top-link:hover {
|
|
color: var(--primary)
|
|
}
|
|
|
|
.top-link:focus {
|
|
outline: 0
|
|
}
|
|
|
|
@media screen and (max-width:800px) {
|
|
.list .top-link {
|
|
transform: translateY(-5rem)
|
|
}
|
|
}
|