summaryrefslogtreecommitdiff
path: root/assets/css/common/footer.css
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2025-09-01 11:27:12 -0700
committerrtk0c <[email protected]>2025-09-01 11:27:12 -0700
commit86b0d0c422e34c38837b5b5495ad6d295d0e73d2 (patch)
tree039e513e5cebe1ba60b747372b50d8049edf29ae /assets/css/common/footer.css
Squashed 'themes/PaperMod/' content from commit 5a46517
git-subtree-dir: themes/PaperMod git-subtree-split: 5a4651783fa9159123d947bd3511b355146d4797
Diffstat (limited to 'assets/css/common/footer.css')
-rw-r--r--assets/css/common/footer.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css
new file mode 100644
index 0000000..5addb1e
--- /dev/null
+++ b/assets/css/common/footer.css
@@ -0,0 +1,60 @@
+.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: 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 0.5s, opacity 0.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,
+#theme-toggle:focus {
+ outline: 0;
+}