aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorJieiku2022-06-10 22:25:01 -0700
committerJieiku2022-06-10 22:25:01 -0700
commitb299a35f3970c94f7fb5987801fa72c374937584 (patch)
tree048f8756a4b34b866e39af3a569e32a2fe9a2506 /sass
parent8fa86ba6c13335eed38e4dc65731bece92ce2f74 (diff)
downloadabridge-b299a35f3970c94f7fb5987801fa72c374937584.tar.gz
abridge-b299a35f3970c94f7fb5987801fa72c374937584.tar.bz2
abridge-b299a35f3970c94f7fb5987801fa72c374937584.zip
Meta Data Options
Diffstat (limited to 'sass')
-rw-r--r--sass/_imports.scss1
-rw-r--r--sass/include/_top.scss17
-rw-r--r--sass/include/_zola.scss9
3 files changed, 24 insertions, 3 deletions
diff --git a/sass/_imports.scss b/sass/_imports.scss
index 8a7e650..6e61b8e 100644
--- a/sass/_imports.scss
+++ b/sass/_imports.scss
@@ -29,6 +29,7 @@
@import "include/scroller"; // figure
@import "include/button"; // button, a[role=button], type=button, type=submit ...
@import "include/form"; // input, select, textarea, label, fieldset, legend (If you import this, you should also import button)
+@import "include/top"; // back to top button using only CSS
@import "include/search"; // Zola Search - elasticlunr site-wide search
@import "include/toc"; // Zola TOC - Table of Content Menu (recent posts & index), sticky (floats top right)
diff --git a/sass/include/_top.scss b/sass/include/_top.scss
new file mode 100644
index 0000000..98b2a61
--- /dev/null
+++ b/sass/include/_top.scss
@@ -0,0 +1,17 @@
+.top {
+ position: sticky;
+ bottom: 9px;
+ padding: 9px;
+ place-self: end;
+ margin-top: 109vh;
+
+ font-weight:700;
+ border-radius: 9px;
+ color: var(--a1);
+ background: var(--c2);
+}
+.top:hover {
+ color: var(--c2);
+ background: var(--a1);
+ text-decoration: none;
+}
diff --git a/sass/include/_zola.scss b/sass/include/_zola.scss
index e07c1e1..504fb3a 100644
--- a/sass/include/_zola.scss
+++ b/sass/include/_zola.scss
@@ -1,4 +1,7 @@
.sum {margin: 0.2rem 0}
-.info {font-size: .8rem}
-.hpad {padding: 0 .4rem}
-.rpad {padding-right: .4rem} \ No newline at end of file
+.s95 {font-size: .95rem}
+.s90 {font-size: .90rem}
+.s85 {font-size: .85rem}
+.s80 {font-size: .80rem}
+.hpad {padding: 0 .2rem}
+.rpad {padding-right: .2rem} \ No newline at end of file