58 lines
956 B
CSS
58 lines
956 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)) / 2) var(--gap);
|
|
text-align: center;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.footer span {
|
|
margin-inline-start: 1px;
|
|
margin-inline-end: 1px;
|
|
}
|
|
|
|
.footer span:last-child {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.footer a {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.top-link {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
bottom: 60px;
|
|
right: 60px;
|
|
z-index: 99;
|
|
border: none;
|
|
outline: none;
|
|
background-color: var(--tertiary);
|
|
color: black;
|
|
cursor: pointer;
|
|
padding: 14px;
|
|
border-radius: 5px;
|
|
font-size: 18px;
|
|
transition: visibility 0.5s, opacity 0.8s linear;
|
|
}
|
|
|
|
.footer a:hover,
|
|
.top-link:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.top-link:focus,
|
|
#theme-toggle:focus {
|
|
outline: 0;
|
|
}
|