This commit is contained in:
Vrifox 2020-11-04 18:37:31 +01:00
parent a35e2e819f
commit 1c23a90826
6 changed files with 22 additions and 54 deletions

View file

@ -3,19 +3,8 @@
@import '../import/nav.scss';
@import '../import/footer.scss';
.section.header {
align-items: center;
background: $bg70;
display: flex;
height: 120px;
margin: 0 0 40px 0;
text-align: center;
header {
h1 {
font-size: 1.5em;
margin: auto;
}
}
main {
margin: 60px 0 0 0;
}
.section-articles {

View file

@ -5,19 +5,25 @@
.section.header {
align-items: center;
background: $bg70;
background: $bg60;
display: flex;
height: 120px;
margin: 0 0 40px 0;
height: 350px;
order: -1;
text-align: center;
header {
max-width: 600px;
margin: auto;
h1 {
font-size: 1.5em;
font-size: 2.5em;
margin: auto;
}
}
}
main {
margin: 60px 0 0 0;
}
.section.latest {
color: $white-dark;
font-size: 1.5em;

View file

@ -3,19 +3,8 @@
@import '../import/nav.scss';
@import '../import/footer.scss';
.section.header {
align-items: center;
background: $bg70;
display: flex;
height: 120px;
margin: 0 0 40px 0;
text-align: center;
header {
h1 {
font-size: 1.5em;
margin: auto;
}
}
main {
margin: 60px 0 0 0;
}
.section-articles {

View file

@ -4,14 +4,6 @@
{{ define "main" }}
<main>
<section class="section header">
<div class="container">
<header>
<h1>{{ .Title }}</h1>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
</div>
</section>
<div class="container">
<section class="section-articles">
{{ range .Pages }}

View file

@ -3,7 +3,6 @@
{{ end }}
{{ define "main" }}
<main>
<section class="section header">
<div class="container">
<header>
@ -12,6 +11,7 @@
</header>
</div>
</section>
<main>
<div class="container">
<span class="section latest">
latest

View file

@ -4,14 +4,6 @@
{{ define "main" }}
<main>
<section class="section header">
<div class="container">
<header>
<h1>{{ .Params.heading }}</h1>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
</div>
</section>
<div class="container">
<section class="section-articles">
{{ range .Pages }}