hugo-PaperMod/assets/css/footer.css
Aditya Telange 757a3094b2
add drop-shadow to show go-to-top button
on code-bg in light mode
2021-01-20 19:21:59 +05:30

56 lines
963 B
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;
position: fixed;
bottom: 60px;
right: 30px;
z-index: 99;
background: var(--tertiary);
width: 42px;
height: 42px;
padding: 12px;
border-radius: 64px;
transition: visibility .5s, opacity .8s linear
}
.top-link,
.top-link svg {
filter: drop-shadow(0px 0px 0px var(--theme));
}
.footer a:hover,
.top-link:hover {
color: var(--primary)
}
.top-link:focus {
outline: 0
}