compromise to some browsers, damn

This commit is contained in:
mivinci 2021-08-27 15:26:44 +08:00
parent 83a4994368
commit cad8aa401e
2 changed files with 6 additions and 2 deletions

View file

@ -75,6 +75,10 @@
margin-left: 2em; margin-left: 2em;
} }
.mx-0_4 {
margin: 0 0.4rem;
}
.mr-1 { .mr-1 {
margin-right: 1rem; margin-right: 1rem;
} }

View file

@ -4,9 +4,9 @@
<a href="https://github.com/mivinci/hugo-theme-minima" target="_blank" rel="noopener noreferrer">Minima</a> on <a href="https://github.com/mivinci/hugo-theme-minima" target="_blank" rel="noopener noreferrer">Minima</a> on
<a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a> <a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a>
</p> </p>
<p class="row gap-0_5"> <p class="row">
{{ range $_, $key := .Site.Params.Social }} {{ range $_, $key := .Site.Params.Social }}
<a class="icon" href="{{ $key.url }}" title="{{ $key.name }}"> <a class="icon mx-0_4" href="{{ $key.url }}" title="{{ $key.name }}">
{{ if $key.svg }} {{ if $key.svg }}
{{ $key.svg | safeHTML }} {{ $key.svg | safeHTML }}
{{ else }} {{ else }}