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 }} - -
+ +
{{ with .Site.Params.copyright }} {{ . | markdownify }} {{ else }} - © Copyright {{ now.Format "2006"}} {{ .Site.Params.Author }} + © Copyright + {{ now.Format "2006"}} + + {{ partial "svgs/heart.svg" (dict "fill" "#bbbbbb" "width" 15 "height" 15 ) }} + + {{ .Site.Params.Author }} {{ end }}
-+
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 @@ 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 @@ + \ 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 @@ + \ 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 @@ + \ 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 {