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" }} {{ define "main" }}
<main id="main"> <main id="main">
<h2>Limerent Object</h2>
{{ $paginator := .Paginate (.Pages) 1 }} {{ $paginator := .Paginate (.Pages) 1 }}
{{ template "_internal/pagination.html" . }} {{ template "_internal/pagination.html" . }}
{{ range $paginator.Pages }} {{ range $paginator.Pages }}

View File

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

View File

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