hugo-WonderMod/assets/css/footer.css

52 lines
1.0 KiB
CSS
Raw Normal View History

2020-07-21 04:50:35 -04:00
/* Footer
-------------------------------------------------- */
.footer {
max-width: calc(var(--main-width) + var(--gap) * 2);
margin-left: auto;
margin-right: auto;
padding: calc((var(--footer-height) - (var(--gap)) - 10px)/ 2) var(--gap);
2020-07-21 04:50:35 -04:00
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);
2020-07-21 04:50:35 -04:00
}
.footer a:hover {
color: var(--primary);
border-bottom: 1px solid var(--primary);
2020-07-27 02:34:36 -04:00
}
.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;
2020-08-21 11:47:14 -04:00
color: var(--secondary);
2020-07-27 02:34:36 -04:00
border-radius: 64px;
fill: currentColor;
fill-opacity: 80%;
transition: visibility 0.5s,
opacity 0.8s linear;
2020-08-21 11:47:14 -04:00
}
.top-link:hover {
color: var(--primary);
background: var(--code-bg);
2020-07-21 04:50:35 -04:00
}