commit 9ba9380d0c4704fd13ab069047806560183d75a6
parent d8aac1a01c23f48d09483e6c324a0d43cc4d7b5e
Author: mpizzzle <m@michaelpercival.xyz>
Date: Sat, 27 Aug 2022 13:25:02 +0100
removing text decoration on image links
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html
@@ -3,7 +3,7 @@
{{ $image := resources.Get (printf "wallpapers/%s" $name) }}
{{ $image := $image.Resize "192x108" }}
{{ with $image }}
-<a href="{{ $name }}">
+<a href="{{ $name }}" class="img-link-href">
<img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}">
</a>
{{ end }}
diff --git a/static/style.css b/static/style.css
@@ -75,6 +75,10 @@ footer {
justify-content: center;
}
+.img-link-href {
+ text-decoration: none;
+}
+
.nav-container {
display: flex;
background-color: #1d2021;