fix footer

This commit is contained in:
Ben Cuan 2023-01-03 00:59:17 +00:00
parent 10e72e0b35
commit b7a9e2a878
7 changed files with 35 additions and 40 deletions

@ -28,39 +28,39 @@ $hint-colors: (
danger: #f66,
) !default;
// Themes
@mixin theme-light {
--gray-100: #f8f9fa;
--gray-200: #e9ecef;
--gray-500: #adb5bd;
// Themes: USE QUARTZ INSTEAD
// @mixin theme-light {
// --gray-100: #f8f9fa;
// --gray-200: #e9ecef;
// --gray-500: #adb5bd;
--color-link: #0055bb;
--color-visited-link: #8440f1;
// --color-link: #0055bb;
// --color-visited-link: #8440f1;
--body-background: white;
--body-font-color: black;
// --body-background: white;
// --body-font-color: black;
--icon-filter: none;
// --icon-filter: none;
--hint-color-info: #6bf;
--hint-color-warning: #fd6;
--hint-color-danger: #f66;
}
// --hint-color-info: #6bf;
// --hint-color-warning: #fd6;
// --hint-color-danger: #f66;
// }
@mixin theme-dark {
--gray-100: rgba(255, 255, 255, 0.1);
--gray-200: rgba(255, 255, 255, 0.2);
--gray-500: rgba(255, 255, 255, 0.5);
// @mixin theme-dark {
// --gray-100: rgba(255, 255, 255, 0.1);
// --gray-200: rgba(255, 255, 255, 0.2);
// --gray-500: rgba(255, 255, 255, 0.5);
--color-link: #84b2ff;
--color-visited-link: #b88dff;
// --color-link: #84b2ff;
// --color-visited-link: #b88dff;
--body-background: #343a40;
--body-font-color: #e9ecef;
// --body-background: #343a40;
// --body-font-color: #e9ecef;
--icon-filter: brightness(0) invert(1);
// --icon-filter: brightness(0) invert(1);
--hint-color-info: #6bf;
--hint-color-warning: #fd6;
--hint-color-danger: #f66;
}
// --hint-color-info: #6bf;
// --hint-color-warning: #fd6;
// --hint-color-danger: #f66;
// }

@ -1,6 +1,6 @@
@import "defaults";
@import "variables";
@import "themes/{{ default "light" .Site.Params.BookTheme }}";
// @import "themes/{{ default "light" .Site.Params.BookTheme }}";
@import "normalize";
@import "utils";

@ -31,10 +31,10 @@ menu:
params:
name: Ben Cuan
title: 📓 Ben's Notes
title: 📓 Amethyst
# OPTIONAL: custom favicon location
# favicon: 'location/to/favicon. png'
# favicon: 'location/to/favicon.png'
# Show previews for links to other internal pages.
enableLinkPreview: true

@ -23,11 +23,6 @@
{{ partial "docs/inject/content-before" . }}
{{ template "main" . }} <!-- Page Content -->
{{ partial "docs/inject/content-after" . }}
{{/* <footer class="book-footer">
{{ template "footer" . }} <!-- Footer under page content -->
{{ partial "docs/inject/footer" . }}
</footer> */}}
{{ template "comments" . }} <!-- Comments block -->
@ -78,7 +73,7 @@
<article class="markdown">
<h1 class="title">{{ partial "docs/title.html" . }}</h1>
{{partial "quartz/textprocessing" . }}
{{ partial "quartz/footer"}}
{{ partial "quartz/footer" .}}
{{/* {{- .Content -}} */}}
</article>
{{ end }}

@ -1,10 +1,10 @@
<!-- set data/config yaml file based on website language -->
{{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }}
{{/* {{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }} */}}
{{ $data := $.Site.Params }}
<!-- Contact Info -->
<div id="contact_buttons">
<footer>
{{ $name := $data.name | default $.Site.Pkarams.name }}
{{ $name := $data.name | default $.Site.Params.name }}
{{ $year := dateFormat "2006" now }}
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
<ul>

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"Target":"book.min.2ed75c0ce1bf358603ecfc1ad2de2c5bb8201d25551cf85f59fc45436d1dba91.css","MediaType":"text/css","Data":{"Integrity":"sha256-LtdcDOG/NYYD7Pwa0t4sW7ggHSVVHPhfWfxFQ20dupE="}}
{"Target":"book.min.00e2484af1d96768d441cb06b14bb2ed25eb59797d1198704e2ae089102d63db.css","MediaType":"text/css","Data":{"Integrity":"sha256-AOJISvHZZ2jUQcsGsUuy7SXrWXl9EZhwTirgiRAtY9s="}}