diff --git a/layouts/partials/sharing-icons.html b/layouts/partials/sharing-icons.html index 3376ab0..7355550 100644 --- a/layouts/partials/sharing-icons.html +++ b/layouts/partials/sharing-icons.html @@ -1,6 +1,6 @@ {{ i18n "share" }} - + {{ if not (eq .Site.Params.sharingicons.facebook false) }}{{ end }} {{ if not (eq .Site.Params.sharingicons.googleplus false) }}{{ end }} {{ if not (eq .Site.Params.sharingicons.linkedin false) }}{{ end }} diff --git a/source/scss/main.scss b/source/scss/main.scss index 4a09838..be96531 100644 --- a/source/scss/main.scss +++ b/source/scss/main.scss @@ -160,6 +160,10 @@ article img { height: auto; margin: 13px auto; } +// add margin to sharing icons (except the first one) +.sharing-icons .nav-item+.nav-item { + margin-left: 1rem; +} /* add a margin above the disqus comments only if the preceeding sharing section is present (because sharing can be hidden, and the margin isn't always needed */ section + #disqus_thread {