reduce footer icon max-width to 20rem

This commit is contained in:
2022-09-06 23:51:32 +08:00
parent ad2207816e
commit 46746b2c07
2 changed files with 2 additions and 2 deletions

View File

@@ -462,7 +462,7 @@ footer {
margin: 1rem 0;
}
.footer-home-icon {
max-width: 30rem;
max-width: 20rem;
border: 0.39rem solid pink;
border-radius: 4rem;
margin: 0;

View File

@@ -1,7 +1,7 @@
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
<a href="{{ $.Site.BaseURL }}" class="footer-link">
{{ with resources.GetMatch .Site.Params.homeimg -}}
{{ $homeButton := .Resize "544x Lanczos" }}
{{ $homeButton := .Resize "990x Lanczos" }}
<img class="footer-home-icon" src="{{ $homeButton.Permalink }}" alt="Home">
{{ end }}
</a>