Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commita743d9a59031f42fc87c4eef3c5950dd3747c9cc (patch)
Author
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2022-02-20 16:15:08 +0000
Committer
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2022-02-20 16:15:08 +0000
Files94886a67c26511ad7127941f841ee25e6eb0fb34 /src/styles.css
syndamia.com-a743d9a59031f42fc87c4eef3c5950dd3747c9cc.tar
syndamia.com-a743d9a59031f42fc87c4eef3c5950dd3747c9cc.tar.gz
syndamia.com-a743d9a59031f42fc87c4eef3c5950dd3747c9cc.zip
Parent2288151c5cd34f04cd10cd35565d278d06a301f3 (diff)
Parent009cb25eb083bbc5ccc0d26977dfc47e0b7166bb (diff)
Merge branch 'back-to-top' into 'master'
Back to top See merge request Syndamia/syndamiadotcom!3
1 files changed, 16 insertions, 0 deletions
-rw-r--r--src/styles.css16
diff --git a/src/styles.css b/src/styles.css
index 7024177..ff120e8 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -373,12 +373,28 @@ 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;
+ padding: 0.3em;
+}
+
+.btnBackToTop:hover {
+ cursor: pointer;
+}
+
/* OpenSans font */
@font-face {