Commit 443edded authored by Dan Allen's avatar Dan Allen

add page class to doctitle for more accurate styling

parent 5ea915f7
......@@ -284,7 +284,7 @@
max-width: 100%;
}
.doc > h1 {
.doc > h1.page:first-child {
font-size: 2rem;
margin: 2rem 0 1.5rem;
}
......
<article class="doc">
{{#if (eq page.layout '404')}}
<h1>{{{or page.title 'Page Not Found'}}}</h1>
<h1 class="page">{{{or page.title 'Page Not Found'}}}</h1>
<div class="paragraph">
<p>The page you&#8217;re looking for does not exist. It may have been moved.</p>
</div>
......@@ -10,7 +10,7 @@ If you typed the URL of this page manually, please double check that you entered
</div>
{{else}}
{{#if page.title}}
<h1>{{{page.title}}}</h1>
<h1 class="page">{{{page.title}}}</h1>
{{/if}}
{{{page.contents}}}
{{/if}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment