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"> <div id="header-left">
{{ if isset .Site.Params "logoimage" }}
<div id="site-logo"> <div id="site-logo">
<a href="{{ .Site.BaseURL }}"><img alt="Site logo" src="{{ .Site.BaseURL }}{{ .Site.Params.logoimage }}"></a> <a href="{{ .Site.BaseURL }}"><img alt="Site logo" src="{{ .Site.BaseURL }}{{ .Site.Params.logoimage }}"></a>
</div> </div>
{{ end }}
<div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div> <div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
<div id="site-slogan">{{ .Site.Params.Description }}</div> <div id="site-slogan">{{ .Site.Params.Description }}</div>

View File

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