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/nav.scss';
@import '../import/footer.scss'; @import '../import/footer.scss';
.section.header { main {
align-items: center; margin: 60px 0 0 0;
background: $bg70;
display: flex;
height: 120px;
margin: 0 0 40px 0;
text-align: center;
header {
h1 {
font-size: 1.5em;
margin: auto;
}
}
} }
.section-articles { .section-articles {

View file

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

View file

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

View file

@ -4,14 +4,6 @@
{{ define "main" }} {{ define "main" }}
<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"> <div class="container">
<section class="section-articles"> <section class="section-articles">
{{ range .Pages }} {{ range .Pages }}

View file

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

View file

@ -4,14 +4,6 @@
{{ define "main" }} {{ define "main" }}
<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"> <div class="container">
<section class="section-articles"> <section class="section-articles">
{{ range .Pages }} {{ range .Pages }}