Header improvements

master
Marc Riera Irigoyen 2018-04-01 23:44:43 +02:00
parent fd606d3c94
commit 9559d86d48
2 changed files with 11 additions and 5 deletions

View File

@ -21,9 +21,11 @@
<div id="header-left">
{{ if isset .Site.Params "logoimage" }}
<div id="site-logo">
<a href="{{ .Site.BaseURL }}"><img alt="Site logo" src="{{ .Site.BaseURL }}{{ .Site.Params.logoimage }}"></a>
</div>
{{ end }}
<div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
<div id="site-slogan">{{ .Site.Params.Description }}</div>

View File

@ -184,6 +184,7 @@ nav a.selected {
.language-selector {
list-style-type: none;
font-size: 90%;
text-align: center;
}
.language-selector li {
@ -214,15 +215,19 @@ nav a.selected {
#site-logo {
height: 100px;
width: 100px;
padding: 0 20px 0 20px;
padding: 0 20px 15px 20px;
}
#site-title {
padding: 10px 20px 0 0;
padding: 10px 20px 0 20px;
font-weight: 600;
font-size: 220%;
}
#site-slogan {
padding: 0 20px 10px 20px;
}
/* Footer */
@ -397,12 +402,12 @@ nav ul.third {
#header-left {
float: left;
width: 60%;
width: 65%;
}
#header-right {
float: right;
width: 40%;
width: 35%;
}
#site-logo {
@ -474,7 +479,6 @@ nav ul.second > li a {
/* Language selector */
.language-selector {
text-align: center;
float: none;
margin: auto;
padding: 0;