aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml1
-rw-r--r--sass/include/_nav.scss4
-rw-r--r--sass/include/_sectioning.scss2
-rw-r--r--sass/include/_top.scss2
-rw-r--r--templates/base.html8
5 files changed, 10 insertions, 7 deletions
diff --git a/config.toml b/config.toml
index 2e7063e..404f397 100644
--- a/config.toml
+++ b/config.toml
@@ -53,6 +53,7 @@ meta_post = { position="top", size="s95", author=true, readtime=false, readstrin
## position: top, bottom, both, false(hidden) ## size: s95, s90, s85, s80, false(full size)
## divider: "·" "•" " "
+footer_size = "s90" # size: s95, s90, s85, s80, false(full size)
footer_credit = true
#footer_credit_override = '<p>Powered by <a href="https://www.getzola.org/">Zola</a> &#38; <a href="https://github.com/Jieiku/abridge/">Abridge</a></p>' # <i class="fa-solid fa-heart"></i>
#uncomment one of the two lines, or neither, depending on which type of logo you want to use:
diff --git a/sass/include/_nav.scss b/sass/include/_nav.scss
index 14e04d1..c046efd 100644
--- a/sass/include/_nav.scss
+++ b/sass/include/_nav.scss
@@ -7,6 +7,9 @@
}
main nav {
margin-top: var(--s2);//pagination margin
+ ul li {
+ margin: 0;
+ }
}
.off {
color: var(--c4);
@@ -22,7 +25,6 @@ main nav a:visited {//pagination link styling
border: .1rem solid var(--c4);
border-radius: var(--br);
padding: .1rem var(--s1);
- margin: .1rem;
}
main nav a:hover {//makes border of pagination links hover color
border-color: var(--a3);
diff --git a/sass/include/_sectioning.scss b/sass/include/_sectioning.scss
index b433ac2..f5e2edf 100644
--- a/sass/include/_sectioning.scss
+++ b/sass/include/_sectioning.scss
@@ -80,7 +80,7 @@ body {
}
}
footer{
- hr {
+ hr, p {
margin:0.5rem 0
}
}
diff --git a/sass/include/_top.scss b/sass/include/_top.scss
index 5ad0898..e4ad6fe 100644
--- a/sass/include/_top.scss
+++ b/sass/include/_top.scss
@@ -4,7 +4,7 @@
bottom: 1px;
padding: 20px;
place-self: end;
- margin-top: 109vh;
+ margin-top: 101vh;
pointer-events: none;
}
.topin {
diff --git a/templates/base.html b/templates/base.html
index dc48e5c..3a59395 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -93,9 +93,9 @@
{%- set copyright_start_year=config.extra.copyright_start_year | default(value="") %}
{%- if copyright_start_year %}{%- set copyright_start_year=copyright_start_year ~ "-" %}{%- endif %}
{%- set copyright_end_year=config.extra.copyright_end_year | default(value=now() | date(format="%Y")) %}
- <p>Copyright &copy; {{ copyright_start_year ~ copyright_end_year }} {{ config.title }}</p>
+ <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}>Copyright &copy; {{ copyright_start_year ~ copyright_end_year }} {{ config.title }}</p>
{#- Copyright END #}
- <p>
+ <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}>
{%- for i in config.extra.menu_footer %}
<a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}{%- if i.slash and config.extra.uglyurls %}index.html{%- endif %}">{{ i.name | safe }}</a> &nbsp;
{%- endfor %}
@@ -105,8 +105,8 @@
{%- if config.extra.footer_credit | default(value=true) %}
{%- if config.extra.footer_credit_override %}
{{ config.extra.footer_credit_override | safe }}
- {%- else %}
- <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p>
+ {%- else %}
+ <p{%- if config.extra.footer_size %} class="{{ config.extra.footer_size }}"{% endif %}>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p>
{%- endif %}
{%- endif %}
</div>