Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit0b1e949609f0483286f315b2ad72d6d39087951f (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-02-20 15:24:08 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-02-20 15:24:08 +0200
Files1faf534c7990cbd89f74afc44404d027e102d9a3 /src/styles.css
syndamia.com-0b1e949609f0483286f315b2ad72d6d39087951f.tar
syndamia.com-0b1e949609f0483286f315b2ad72d6d39087951f.tar.gz
syndamia.com-0b1e949609f0483286f315b2ad72d6d39087951f.zip
Parent2288151c5cd34f04cd10cd35565d278d06a301f3 (diff)
Implemented scrolling to top button
1 files changed, 15 insertions, 0 deletions
-rw-r--r--src/styles.css15
diff --git a/src/styles.css b/src/styles.css
index 7024177..b391ba2 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -373,12 +373,27 @@ code span {
left: 0;
top: 0;
padding: 1em;
+ z-index: 2;
}
.body-on-clicked-image {
overflow: hidden;
}
+.btnBackToTop {
+ font-size: 1rem;
+ position: fixed;
+ right: 1em;
+ bottom: 1em;
+ z-index: 1;
+ border: 1px solid;
+ transition-duration: 0.5s;
+}
+
+.btnBackToTop:hover {
+ cursor: pointer;
+}
+
/* OpenSans font */
@font-face {