summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authoramzrk22020-04-14 16:56:25 +0800
committeramzrk22020-04-14 16:56:25 +0800
commitf78c71572b2bc7f408aca5a5b2843a2cd7e93524 (patch)
treeeefc860462dfe7dc40aa089d663ebe3411b39403 /assets
parent971f9bd9155eccdeefe563a3608dc46d2132abab (diff)
downloadhugo-theme-fuji-f78c71572b2bc7f408aca5a5b2843a2cd7e93524.tar.gz
hugo-theme-fuji-f78c71572b2bc7f408aca5a5b2843a2cd7e93524.tar.bz2
hugo-theme-fuji-f78c71572b2bc7f408aca5a5b2843a2cd7e93524.zip
Add scroll to top button
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_sidebar.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/sass/_sidebar.scss b/assets/sass/_sidebar.scss
index 9053ac1..88a39d8 100644
--- a/assets/sass/_sidebar.scss
+++ b/assets/sass/_sidebar.scss
@@ -44,4 +44,18 @@
width: 3em;
right: 1em;
bottom: 1em;
+
+ @include link-primary();
+
+ .progressbar-text {
+ svg {
+ width: 24px;
+ vertical-align: middle;
+ }
+
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ }
} \ No newline at end of file