fix kleine schermen
This commit is contained in:
parent
ae2e399265
commit
20cd77c025
|
@ -39,21 +39,24 @@
|
|||
</blockquote>
|
||||
|
||||
<hr/>
|
||||
<h2>
|
||||
<i class="fa fa-newspaper-o"></i> {{ markdownify .Site.Params.Description }}:
|
||||
</h2>
|
||||
|
||||
{{ range (.Paginator 1).Pages.ByDate.Reverse }}
|
||||
{{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") | $.Scratch.Set "subtitle" }}
|
||||
{{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }}
|
||||
<div class="freshly-baked">
|
||||
<h2>
|
||||
<i class="fa fa-newspaper-o"></i> {{ markdownify .Site.Params.Description }}:
|
||||
</h2>
|
||||
|
||||
<h4>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h4>
|
||||
{{ .Params.subtitle }} <span style="color: lightgrey;"><i class='fa fa-calendar'></i> {{ $.Scratch.Get "subtitle" }}</span>
|
||||
{{ end }}
|
||||
{{ range (.Paginator 1).Pages.ByDate.Reverse }}
|
||||
{{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") | $.Scratch.Set "subtitle" }}
|
||||
{{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }}
|
||||
|
||||
<hr/>
|
||||
<h4>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h4>
|
||||
{{ .Params.subtitle }} <span style="color: lightgrey;"><i class='fa fa-calendar'></i> {{ $.Scratch.Get "subtitle" }}</span>
|
||||
{{ end }}
|
||||
|
||||
<hr/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -21,10 +21,20 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
.intro .freshly-baked {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.intro {
|
||||
margin-top: -150px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 500px) {
|
||||
.intro .freshly-baked {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.intro {
|
||||
margin-top: -40px;
|
||||
|
|
Loading…
Reference in New Issue