From: Dan Allen Date: Wed, 17 Jul 2019 07:34:32 +0000 (-0600) Subject: add page class to doctitle for more accurate styling X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=443edded2f1df2aae0f8cc108d3823ccfcba0093;p=eg-antora.git add page class to doctitle for more accurate styling --- diff --git a/src/css/doc.css b/src/css/doc.css index 648e14c..c91937b 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -284,7 +284,7 @@ max-width: 100%; } -.doc > h1 { +.doc > h1.page:first-child { font-size: 2rem; margin: 2rem 0 1.5rem; } diff --git a/src/partials/article.hbs b/src/partials/article.hbs index 01df513..11a5117 100644 --- a/src/partials/article.hbs +++ b/src/partials/article.hbs @@ -1,6 +1,6 @@
{{#if (eq page.layout '404')}} -

{{{or page.title 'Page Not Found'}}}

+

{{{or page.title 'Page Not Found'}}}

The page you’re looking for does not exist. It may have been moved.

@@ -10,7 +10,7 @@ If you typed the URL of this page manually, please double check that you entered {{else}} {{#if page.title}} -

{{{page.title}}}

+

{{{page.title}}}

{{/if}} {{{page.contents}}} {{/if}}