Center the copyright string and icons

This commit is contained in:
Jente Hidskes
2017-02-25 18:57:29 +01:00
committed by Alexis Tacnet
parent a26920d1a1
commit 77a27406dd
2 changed files with 11 additions and 8 deletions

View File

@@ -41,10 +41,6 @@
<div class="container">
<div class="content">
{{ if .Site.Params.copyright }}
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
{{ end }}
{{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
<i class="icon ion-social-github" title="github"></i>
@@ -74,6 +70,12 @@
<i class="icon ion-social-rss larger" title="rss"></i>
</a>
{{ end }}
{{ if .Site.Params.copyright }}
</br>
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
{{ end }}
</div>
</div>
</section>

View File

@@ -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;