From 73fb08026eaf3ecc378558c77e2c2914287af7f7 Mon Sep 17 00:00:00 2001 From: Mivinci <1366723936@qq.com> Date: Fri, 5 May 2023 14:39:11 +0800 Subject: [PATCH] update layout and style for footer --- assets/css/atom.scss | 6 +++++- exampleSite/config.yaml | 2 +- layouts/partials/footer.html | 13 ++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/assets/css/atom.scss b/assets/css/atom.scss index 0e3f786..54fdce1 100644 --- a/assets/css/atom.scss +++ b/assets/css/atom.scss @@ -9,7 +9,7 @@ } } -/* flex */ +/* classes that breakpoints are necessary for */ $screens: ("", 0), (sm\:, 640px); @each $k, $v in $screens { @include breakpoint($k, $v) { @@ -30,6 +30,10 @@ $screens: ("", 0), (sm\:, 640px); .#{$k}items-end { align-items: flex-end; } .#{$k}items-baseline { align-items: baseline; } + + .#{$k}text-center { text-align: center; } + + .#{$k}text-left { text-align: left; } } } diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 7581172..d78930a 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,7 +1,7 @@ baseURL: https://mivinci.github.io/hugo-theme-minima languageCode: en-us title: Hugo on Minima -copyright: © 2023 X +copyright: © 2020-2023 X googleAnalytics: # paginate specifies the maximum number of posts displayed on the home page. paginate: 12 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index bf7ad67..6038407 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,11 +1,14 @@