Add back to home button
This commit is contained in:
parent
3cdfa0bd5b
commit
3f94771d32
@ -42,8 +42,14 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "link.html" . }}
|
||||
{{ if ne .Url "/" }}
|
||||
<a href="{{ .Site.BaseUrl }}" class="btn-header btn-back hidden-xs">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
Home
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ with .RSSLink }}
|
||||
<a href="{{ . }}" class="btn-subscribe hidden-xs">
|
||||
<a href="{{ . }}" class="btn-header btn-subscribe hidden-xs">
|
||||
<i class="fa fa-rss"></i>
|
||||
Subscribe
|
||||
</a>
|
||||
|
@ -61,10 +61,9 @@ main {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.btn-subscribe {
|
||||
a.btn-header {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
padding: 7px 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 1.0);
|
||||
border-radius: 3px;
|
||||
@ -75,11 +74,19 @@ a.btn-subscribe {
|
||||
transition: color,background-color 0.1s linear;
|
||||
}
|
||||
|
||||
a.btn-subscribe:hover {
|
||||
a.btn-header:hover {
|
||||
background-color: rgba(255, 255, 255, 1.0);
|
||||
color: rgba(0, 0, 0, 1.0);
|
||||
}
|
||||
|
||||
a.btn-subscribe {
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
a.btn-back {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
.global-footer {
|
||||
|
Loading…
Reference in New Issue
Block a user