Make Reader width consistent with other pages

This commit is contained in:
Matt Baer 2020-02-10 15:08:42 -05:00
parent 5d754176e0
commit b1d006fcf2

View file

@ -75,11 +75,14 @@
body#collection header nav.tabs a:first-child { body#collection header nav.tabs a:first-child {
margin-left: 1em; margin-left: 1em;
} }
body#collection article {
max-width: 40em !important;
}
</style> </style>
{{end}} {{end}}
{{define "body-attrs"}}id="collection"{{end}} {{define "body-attrs"}}id="collection"{{end}}
{{define "content"}} {{define "content"}}
<div class="content-container snug" style="max-width: 40rem;"> <div class="content-container snug">
<h1>{{.ContentTitle}}</h1> <h1>{{.ContentTitle}}</h1>
<p{{if .SelTopic}} style="text-align:center"{{end}}>{{if .SelTopic}}#{{.SelTopic}} posts{{else}}{{.Content}}{{end}}</p> <p{{if .SelTopic}} style="text-align:center"{{end}}>{{if .SelTopic}}#{{.SelTopic}} posts{{else}}{{.Content}}{{end}}</p>
</div> </div>