diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7a3d373..2bb658e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,15 +2,20 @@ {{ if .Site.Social }} {{ partial "social.html" . }} {{ end }} - -

+ +

-

+

Powered by Hugo Theme By nodejh

diff --git a/layouts/partials/social.html b/layouts/partials/social.html index ce96cc8..62ba3bb 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,20 +1,10 @@
-{{ if eq .Site.Params.iconFont "font-awesome" }} - - {{ range $key, $val := .Site.Social }} - - - - {{ end }} -{{ else }} - - {{ $iconStyle := .Site.Params.socialIconStyle }} - {{ range $key, $val := .Site.Social }} - - {{ $iconStyle }}{{ if eq $key "twitter" }}twitterbird{{ else }}{{ $key }}{{ end }} +{{ range $key, $val := .Site.Social }} + + {{ $svg := print "svgs/" $key ".svg" }} + {{ partial $svg (dict "fill" "#bbbbbb" "width" 28 "height" 28 ) }} - {{ end }} - {{ end }} +
diff --git a/layouts/partials/svgs/facebook.svg b/layouts/partials/svgs/facebook.svg new file mode 100644 index 0000000..47882f3 --- /dev/null +++ b/layouts/partials/svgs/facebook.svg @@ -0,0 +1,14 @@ + + + Facebook + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/layouts/partials/svgs/github.svg b/layouts/partials/svgs/github.svg new file mode 100644 index 0000000..64b26cf --- /dev/null +++ b/layouts/partials/svgs/github.svg @@ -0,0 +1,14 @@ + + + Github + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/layouts/partials/svgs/heart.svg b/layouts/partials/svgs/heart.svg new file mode 100644 index 0000000..75f6d3e --- /dev/null +++ b/layouts/partials/svgs/heart.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/layouts/partials/svgs/stackoverflow.svg b/layouts/partials/svgs/stackoverflow.svg new file mode 100644 index 0000000..6469fa9 --- /dev/null +++ b/layouts/partials/svgs/stackoverflow.svg @@ -0,0 +1,14 @@ + + + stackoverflow + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/layouts/partials/svgs/twitter.svg b/layouts/partials/svgs/twitter.svg new file mode 100644 index 0000000..03cabec --- /dev/null +++ b/layouts/partials/svgs/twitter.svg @@ -0,0 +1,20 @@ + + + + + diff --git a/static/css/style.css b/static/css/style.css index f8b2f4d..cb13054 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -36,7 +36,7 @@ p { } p, pre { - white-space: break-spaces; + white-space: normal; line-break: anywhere; word-break: break-word; } @@ -136,8 +136,31 @@ nav.navigation a.button { /* footer */ #footer { margin-top: 100px; + margin-bottom: 100px; + text-align: center; + color: #bbbbbb; + font-size: 14px; +} +#footer .copyright { + margin: 20px auto; + font-size: 15px; +} +.powerby { + margin: 20px auto; + font-size: 13px; +} +#footer .split { + cursor: pointer; +} +#footer .split:hover path { + fill: #ff3356; + transition: 0.7s ease-out; + cursor: pointer;; } +#social a { + margin: 0 4px; +} /* main content */ .main {