summaryrefslogtreecommitdiffstats
path: root/assets/sass
diff options
context:
space:
mode:
authoramzrk22020-04-23 11:50:45 +0800
committeramzrk22020-04-23 11:50:45 +0800
commit77ec19755260ec2e65ef284a63d28129c42d70dc (patch)
tree09dd25613d6b65d1dd83abbde3d69d7b0cf6ed11 /assets/sass
parent7376c7f9e511b59638271861600305dd821c559a (diff)
downloadhugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.tar.gz
hugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.tar.bz2
hugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.zip
Switch progressbar.js to fa
Diffstat (limited to 'assets/sass')
-rw-r--r--assets/sass/_content.scss10
-rw-r--r--assets/sass/_sidebar.scss22
2 files changed, 16 insertions, 16 deletions
diff --git a/assets/sass/_content.scss b/assets/sass/_content.scss
index c92a3d4..ab8b76d 100644
--- a/assets/sass/_content.scss
+++ b/assets/sass/_content.scss
@@ -100,7 +100,7 @@ article {
// in-post license style
#license {
- @include link-primary();
+ @include link-secondary();
margin-bottom: 1.5em;
}
@@ -110,14 +110,14 @@ article {
border-top: $spliter;
margin: 0 0 1.5em 0;
padding-top: 1.5em;
+ text-align: center;
- #container-loading-bar {
- width: 2em;
- margin: 0 auto;
+ i {
+ font-size: 1.5em;
+ color: $color-primary;
}
p {
- text-align: center;
margin: 0.5em 0 0 0;
}
}
diff --git a/assets/sass/_sidebar.scss b/assets/sass/_sidebar.scss
index ed4bee3..9fa49e7 100644
--- a/assets/sass/_sidebar.scss
+++ b/assets/sass/_sidebar.scss
@@ -40,27 +40,27 @@
}
}
-#container-progress {
+#scroll-top {
cursor: pointer;
position: fixed;
width: 2.5em;
+ height: 2.5em;
right: 1em;
bottom: 1em;
color: $color-primary;
+ background-color: $color-spliter;
+ border-radius: 100%;
+ line-height: 2.5em;
+ text-align: center;
+ vertical-align: middle;
+ display: inline-block;
&:hover {
color: $color-secondary;
}
- .progressbar-text {
- svg {
- width: 1em;
- vertical-align: middle;
- }
-
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
+ i {
+ font-size: 1.5em;
+ line-height: inherit;
}
} \ No newline at end of file