always have <span> for title text and move spacing to logo
This commit is contained in:
parent
d94b4196ba
commit
73e53768c9
2 changed files with 3 additions and 9 deletions
|
@ -98,9 +98,7 @@ ul.pagination {
|
||||||
max-width: 40px;
|
max-width: 40px;
|
||||||
max-height: 40px;
|
max-height: 40px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
margin-right: 0.5rem;
|
||||||
span {
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<h2 class="book-brand">
|
<h2 class="book-brand">
|
||||||
<a href="{{ .Site.BaseURL }}">
|
<a href="{{ .Site.BaseURL }}"><span>
|
||||||
{{- with .Site.Params.BookLogo -}}
|
{{- with .Site.Params.BookLogo -}}
|
||||||
<img src="{{ . | relURL }}" alt="Logo" />
|
<img src="{{ . | relURL }}" alt="Logo" />
|
||||||
<span>
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
{{- with .Site.Params.BookLogo -}}
|
</span></a>
|
||||||
</span>
|
|
||||||
{{- end -}}
|
|
||||||
</a>
|
|
||||||
</h2>
|
</h2>
|
||||||
|
|
Loading…
Reference in a new issue