1
Fork 0

Add colours and stuff

This commit is contained in:
Jake Howard 2019-01-16 21:25:25 +00:00
parent db30275f49
commit 64aa9b93e2
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 38 additions and 9 deletions

View file

@ -8,17 +8,27 @@
{{ partial "style.html" "css/materialize.css" }}
{{ partial "style.html" "css/font-awesome.css" }}
{{ partial "style.html" "index.scss" }}
</head>
<body>
<div class="container">
<div class="row">
{{ range sort .Pages "Title" }}
<div class="col s3">
{{ partial "card.html" . }}
</div>
{{ end }}
<body class="deep-orange lighten-1">
<main>
<div class="container cards-list">
<div class="row">
{{ range .Pages.ByTitle }}
<div class="col s3">
{{ partial "card.html" . }}
</div>
{{ end }}
</div>
</div>
</div>
</main>
<footer class="page-footer blue-grey darken-4">
<div class="footer-copyright">
<div class="container">
&copy; {{ now.Year }} {{ .Site.Title }}.
</div>
</div>
</footer>
{{ partial "script.html" "js/materialize.js" }}
</body>
</html>

View file

@ -1,5 +1,16 @@
$primary: #E85537;
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
main {
flex: 1 0 auto;
}
.card {
text-align: center;
color: black;
@ -12,3 +23,11 @@ $primary: #E85537;
color: $primary;
}
}
.cards-list {
margin-top: 3rem;
}
footer {
padding-top: 0 !important;
}