From 305ae5ba7d677e4f515fa8e7afa94e79cf64955d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 19 May 2023 16:37:15 +0200 Subject: [PATCH] Fix voor svg op Firefox en betere weergave --- themes/nluug/assets/scss/styles.scss | 17 ++++++++++++++--- themes/nluug/layouts/partials/footer.html | 12 ++++++------ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/themes/nluug/assets/scss/styles.scss b/themes/nluug/assets/scss/styles.scss index 6eae44a..4433a7b 100644 --- a/themes/nluug/assets/scss/styles.scss +++ b/themes/nluug/assets/scss/styles.scss @@ -102,12 +102,23 @@ a.button:hover, a.button:active { background-color: $color-button-hover; } -a.footer-social:link, .a.footer-social:hover { +.icon { + margin: 3px; +} +.icon:link { + text-decoration: none; +} +.icon:visited { + text-decoration: none; +} +.icon:hover { + text-decoration: none; +} +.icon:active { text-decoration: none; - margin: 5px; } -// Button +// Button .btn:link, .btn:visited { border-radius: 4px; color: white; diff --git a/themes/nluug/layouts/partials/footer.html b/themes/nluug/layouts/partials/footer.html index 99c58cf..a429248 100644 --- a/themes/nluug/layouts/partials/footer.html +++ b/themes/nluug/layouts/partials/footer.html @@ -10,18 +10,18 @@

Volg ons

{{ $iconsize := .Site.Params.mediumIconSize }} {{ with .Site.Params.twitter_handle }} - {{- partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer) -}} + {{- partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer) -}} {{ end }} {{ if and (.Site.Params.mastodon_handle) (.Site.Params.mastodon_instance) }} - {{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer) }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer) }} {{ end }} - {{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer) }} - {{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer) }} - {{ partial "show-svg-icon.html" (dict "context" . "icon" "rss" "iconsize" $iconsize_footer) }} - {{ partial "show-svg-icon.html" (dict "context" . "icon" "database" "iconsize" $iconsize_footer) }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer) }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer) }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "rss" "iconsize" $iconsize_footer) }} + {{ partial "show-svg-icon.html" (dict "context" . "icon" "database" "iconsize" $iconsize_footer) }}

Nuttige links