Add colours and stuff
This commit is contained in:
parent
db30275f49
commit
64aa9b93e2
2 changed files with 38 additions and 9 deletions
|
@ -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">
|
||||
<body class="deep-orange lighten-1">
|
||||
<main>
|
||||
<div class="container cards-list">
|
||||
<div class="row">
|
||||
{{ range sort .Pages "Title" }}
|
||||
{{ range .Pages.ByTitle }}
|
||||
<div class="col s3">
|
||||
{{ partial "card.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="page-footer blue-grey darken-4">
|
||||
<div class="footer-copyright">
|
||||
<div class="container">
|
||||
© {{ now.Year }} {{ .Site.Title }}.
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{ partial "script.html" "js/materialize.js" }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue