home | blog | art | now | git gpg | email | rss

pollux.codes

Files for the pollux.codes site
git clone git://pollux.codes/git/pollux.codes.git
Log | Files | Refs
commit 12d03a516b92834c74d070b9e9c6ccee4006fa99
parent f82b1c3be079692720deff741ea3535fc1545e29
Author: Pollux <pollux@pollux.codes>
Date:   Tue, 27 May 2025 12:57:02 -0500

Various button changes

Signed-off-by: Pollux <pollux@pollux.codes>

Diffstat:
Aassets/buttons/fpc.gif | 0
Aassets/buttons/vim.gif | 0
Mhugo.toml | 23++++++++++++-----------
Mlayouts/partials/footer.html | 4++--
Mstatic/style.css | 7+------
5 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/assets/buttons/fpc.gif b/assets/buttons/fpc.gif Binary files differ. diff --git a/assets/buttons/vim.gif b/assets/buttons/vim.gif Binary files differ. diff --git a/hugo.toml b/hugo.toml @@ -15,21 +15,22 @@ enableGitInfo = true [params] buttons = [ - { file="buttons/landchad.gif", url="https://landchad.net" }, - { file="buttons/wiby.gif", url="https://wiby.me" }, - { file="buttons/renard.gif", url="https://lapfox.bandcamp.com" }, { file="buttons/88x31.png", url="https://eightyeightthirty.one" }, + { file="buttons/fpc.gif", url="https://www.firearmspolicy.org/" }, + { file="buttons/gnu-linux.gif", url="https://kernel.org/" }, + { file="buttons/landchad.gif", url="https://landchad.net" }, + { file="buttons/monero-now.gif", url="https://www.getmonero.org/" }, { file="buttons/qutebrowser.gif", url="https://qutebrowser.org/" }, - { file="buttons/gnu-linux.gif" }, - { file="buttons/nvim.gif" }, - { file="buttons/tor.gif" }, - { file="buttons/hoppean.png" }, + { file="buttons/renard.gif", url="https://lapfox.bandcamp.com" }, + { file="buttons/tor.gif", url="https://www.torproject.org/" }, + { file="buttons/vim.gif", url="https://www.vim.org/" }, + { file="buttons/wiby.gif", url="https://wiby.me" }, { file="buttons/burned_fur.gif" }, - { file="buttons/monero-now.gif" }, - { file="buttons/piracy.gif" }, - { file="buttons/hatems.jpg" }, + { file="buttons/coffee.gif" }, { file="buttons/hatemac.jpg" }, - { file="buttons/coffee.gif" } + { file="buttons/hatems.jpg" }, + { file="buttons/hoppean.png" }, + { file="buttons/piracy.gif" }, ] [params.author] diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html @@ -7,9 +7,9 @@ {{ range (index .Site.Params "buttons") -}} {{- $image := resources.Get .file -}} {{- if .url -}} - <a href="{{ .url }}"><img class="button" src="{{ $image.RelPermalink }}"></a> + <a href="{{ .url }}"><img src="{{ $image.RelPermalink }}"></a> {{- else -}} - <img class="button" src="{{ $image.RelPermalink }}"> + <img src="{{ $image.RelPermalink }}"> {{- end -}} {{- end }} </div> diff --git a/static/style.css b/static/style.css @@ -6,10 +6,5 @@ body { max-width: 40em; font: 1.2em/1.62 monospace; } -.button { - image-rendering: auto; - image-rendering: crisp-edges; - image-rendering: pixelated; - image-rendering: -webkit-optimize-contrast; -} +img{vertical-align: bottom} a{color:skyblue}