From b299a35f3970c94f7fb5987801fa72c374937584 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 10 Jun 2022 22:25:01 -0700 Subject: Meta Data Options --- sass/_imports.scss | 1 + sass/include/_top.scss | 17 +++++++++++++++++ sass/include/_zola.scss | 9 ++++++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 sass/include/_top.scss (limited to 'sass') 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 -- cgit v1.3.1