PaperModX/assets/css/common/footer.css

77 lines
1.3 KiB
CSS
Raw Normal View History

.footer,
.top-link {
font-size: 12px;
color: var(--secondary);
}
2020-07-21 09:50:35 +01:00
.footer {
max-width: calc(var(--main-width) + var(--gap) * 2);
margin: auto;
padding: calc((var(--footer-height) - var(--gap)) / 2) var(--gap);
2020-07-21 09:50:35 +01:00
text-align: center;
line-height: 24px;
2020-07-21 09:50:35 +01:00
}
.footer span {
margin-inline-start: 1px;
margin-inline-end: 1px;
2020-07-21 09:50:35 +01:00
}
.footer span:last-child {
white-space: nowrap;
}
2020-07-21 09:50:35 +01:00
.footer a {
font-weight: 500;
2020-07-21 09:50:35 +01:00
color: inherit;
box-shadow: var(--link-underline-shadow);
2020-07-21 09:50:35 +01:00
}
.footer a:hover {
color: var(--link-hover-color);
box-shadow: var(--link-hover-underline-shadow);
}
.top-link:hover {
color: var(--link-hover-color);
2020-07-27 07:34:36 +01:00
}
.top-link {
visibility: hidden;
position: fixed;
bottom: 60px;
right: 30px;
z-index: 99;
2022-04-21 10:32:20 +01:00
background: var(--tertiary-bg);
2020-07-27 07:34:36 +01:00
width: 42px;
height: 42px;
padding: 12px;
border-radius: 64px;
2021-06-11 09:04:55 +01:00
transition: visibility 0.5s, opacity 0.8s linear;
2022-05-05 09:29:52 +01:00
line-height: 1.5;
2020-08-21 16:47:14 +01:00
}
.top-link,
.top-link svg {
filter: drop-shadow(0px 0px 0px var(--theme));
}
2021-02-12 06:28:44 +00:00
.top-link:focus,
#theme-toggle:focus {
outline: 0;
}
2022-04-11 08:31:36 +01:00
/* InstantClick css */
#instantclick-bar {
2022-04-21 10:32:20 +01:00
background: var(--tertiary-bg);
2022-04-11 08:31:36 +01:00
}
2022-05-05 09:49:21 +01:00
/* make zoom overlay and image higher than toc */
.medium-zoom-overlay {
z-index: 2;
}
.medium-zoom-image--opened {
z-index: 3;
}