From 77a27406dd5b0f0afb8be3cb72b706c94ff7dcac Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Sat, 25 Feb 2017 18:57:29 +0100 Subject: [PATCH] Center the copyright string and icons --- layouts/partials/header.html | 10 ++++++---- static/css/main.css | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fbbe78f..03bf284 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -41,10 +41,6 @@
- {{ if .Site.Params.copyright }} - {{ .Site.Params.copyright}} - {{ end }} - {{ if .Site.Params.github }} @@ -74,6 +70,12 @@ {{ end }} + + {{ if .Site.Params.copyright }} +
+ {{ .Site.Params.copyright}} + {{ end }} +
diff --git a/static/css/main.css b/static/css/main.css index 40e27e3..47bf4a9 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -420,6 +420,7 @@ section.icons .container { } section.icons .content { width: auto; + text-align: center; } section.icons .content a { font-size: 14px; @@ -451,10 +452,10 @@ section.icons .content a .icon.larger { background-color: transparent; } section.icons .container { - -webkit-justify-content: flex-start; - -moz-justify-content: flex-start; - -ms-justify-content: flex-start; - justify-content: flex-start; + -webkit-justify-content: center; + -moz-justify-content: center; + -ms-justify-content: center; + justify-content: center; } section.icons .content a { margin-left: 3px;