all repos — archie @ 26f57dd1f9f8c6ed3b77642b22c7d9fb53202e3d

A minimal Hugo Theme

chore: Change CSS for Socials in Footer again
ADSWT518 tangyazhou518@outlook.com
Sat, 25 Jun 2022 11:20:26 +0800
commit

26f57dd1f9f8c6ed3b77642b22c7d9fb53202e3d

parent

5fbc45536a2999a697cebf8eb375d07acf0c6503

2 files changed, 6 insertions(+), 3 deletions(-)

jump to
M assets/css/main.cssassets/css/main.css

@@ -171,10 +171,12 @@ }

.soc { display: flex; align-items: center; - padding-right: 1rem; - margin-right: 1rem; - border-right: 2px solid; border-bottom: none; +} +.border { + margin-left: 0.5rem; + margin-right: 0.5rem; + border: 1px solid; } .footer-info { padding: var(--footer-padding);
M layouts/partials/footer.htmllayouts/partials/footer.html

@@ -2,6 +2,7 @@ <footer>

<div style="display:flex"> {{- range $index, $key := .Site.Params.Social -}} <a class="soc" href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a> + <a class="border"></a> {{- end -}} </div> <div class="footer-info">