diff options
author | Lukas Nagel <lukas@lna-dev.net> | 2022-10-11 12:33:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 12:33:18 +0300 |
commit | 1ca18416d1020067ec82c88214a0ca8b9d149f36 (patch) | |
tree | abe073d6ba4d58de4971f159d819d7c1cacf9290 | |
parent | 3ef375f4889e7391bc067b556c7b0cfe0dfe6a2a (diff) |
Centered Arrow (#664)
-rw-r--r-- | layouts/partials/sections/home.html | 2 | ||||
-rw-r--r-- | static/css/sections/home.css | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html index 37608da..9dddf46 100644 --- a/layouts/partials/sections/home.html +++ b/layouts/partials/sections/home.html @@ -132,7 +132,7 @@ {{ if .section.id }} {{ $sectionID = .section.id }} {{ end }} - <a href="#{{ $sectionID }}" aria-label="{{ i18n "read" }} {{ i18n "more" }} - {{ $name }}"><i class="arrow bounce fa fa-chevron-down"></i></a> + <a href="#{{ $sectionID }}" class="arrow-center" aria-label="{{ i18n "read" }} {{ i18n "more" }} - {{ $name }}"><i class="arrow bounce fa fa-chevron-down"></i></a> {{ end }} {{ end }} </div> diff --git a/static/css/sections/home.css b/static/css/sections/home.css index 0e995f8..e3edea8 100644 --- a/static/css/sections/home.css +++ b/static/css/sections/home.css @@ -18,6 +18,11 @@ background-size: cover; } +.arrow-center { + display: flex; + justify-content: center; +} + /* Resolves https://github.com/hugo-toha/toha/issues/70 |