hugo-PaperMod/assets/css/footer.css

54 lines
941 B
CSS
Raw Normal View History

.footer,
.top-link {
font-size: 12px;
color: var(--secondary)
}
2020-07-21 10:50:35 +02:00
.footer {
max-width: calc(var(--main-width) + var(--gap)*2);
margin: auto;
padding: calc((var(--footer-height) - (var(--gap)) - 10px)/2) var(--gap);
2020-07-21 10:50:35 +02:00
text-align: center;
line-height: 24px
2020-07-21 10:50:35 +02:00
}
.footer span {
margin-inline-start: 1px;
margin-inline-end: 1px
2020-07-21 10:50:35 +02:00
}
.footer a {
color: inherit;
border-bottom: 1px solid var(--secondary)
2020-07-21 10:50:35 +02:00
}
.footer a:hover {
border-bottom: 1px solid var(--primary)
2020-07-27 08:34:36 +02:00
}
.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
2020-08-21 17:47:14 +02:00
}
.footer a:hover,
2020-08-21 17:47:14 +02:00
.top-link:hover {
color: var(--primary)
}
.top-link:focus {
outline: 0
}