Bit of styling fixes

This commit is contained in:
Madison Scott-Clary
2021-09-02 08:44:28 -07:00
parent 423cfecddb
commit d969b65cdd
3 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{{ define "main" }}
<main id="main">
<h2>Limerent Object</h2>
{{ $paginator := .Paginate (.Pages) 1 }}
{{ template "_internal/pagination.html" . }}
{{ range $paginator.Pages }}

View File

@ -1,4 +1,5 @@
<head>
<title>{{ if .Title }}{{ .Title }} | {{ end }}A Wildness of the Heart by Madison Scott-Clary</title>
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<meta name="viewport" content="width=device-width" />
</head>

View File

@ -85,3 +85,14 @@ h1, h2 {
font-family: "Tom's New Roman", sans-serif;
text-align: center;
}
@media only screen and (max-width: 640px) {
body {
padding: 0;
margin: 0;
}
main, header, footer {
width: 100%;
padding: 0 2rem;
}
}