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 { .section-article {
article { article {
margin: 80px auto; margin: 0 auto;
max-width: 720px; max-width: 720px;
.meta { .meta {
color: $white-dark; color: $white-dark;

View file

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

View file

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

View file

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