This commit is contained in:
Vrifox 2020-11-12 16:31:56 +01:00
parent a9852b3403
commit b33be9c288
4 changed files with 5 additions and 8 deletions

View file

@ -7,7 +7,7 @@
.section-article {
article {
margin: 80px auto;
margin: 0 auto;
max-width: 720px;
.meta {
color: $white-dark;

View file

@ -63,10 +63,8 @@
}
}
@media (max-width: 900px) {
main {
.section.articles.inner {
grid-template-columns: repeat(1, 1fr);
}
.section.posts .inner {
grid-template-columns: repeat(1, 1fr);
}
}
}

View file

@ -42,6 +42,7 @@ h4 {
font-size: .9em;
}
hr {
border-color: $bg60;
color: $bg60;
margin: 60px 0;
}

View file

@ -13,9 +13,7 @@
<span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p>
<h1 class="title">{{ .Title }}</h1>
{{ with .Params.featured_image }}
<img src="{{ . | relURL }}" loading="lazy" alt="">
{{ end }}
{{ with .Params.featured_image }}<img src="{{ . | relURL }}" loading="lazy" alt="">{{ end }}
{{ .Content }}
<aside class="meta">
{{ with .Params.topics }}