Commit eff3014e authored by Adrian DC's avatar Adrian DC
Browse files

docs(templates): add 'Author' and 'Description' to PDF front page

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 75052568
Loading
Loading
Loading
Loading
Loading
+22 −0
Changes for docs/assets/stylesheets/pdf.scss: 22 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -180,6 +180,28 @@ body {
      margin-top: 1em;
    }

    .author {
      font-size: 16pt;
      font-weight: 400;
      line-height: 1.1;
      margin-top: 1em;

      b {
        font-weight: 900;
      }
    }

    .description {
      font-size: 10pt;
      font-weight: 400;
      line-height: 1.1;
      margin-top: 1em;

      b {
        font-weight: 900;
      }
    }

    .version {
      font-size: 12pt;
      font-weight: 600;
+2 −0
Changes for docs/templates/covers/front.html.j2: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@
<div class="front-cover">
  <section>
    <div class="brand"><span>{{ config.site_name }}</span></div>
    <div class="author"><b>Author:</b><span> {{ config.site_author }}</span></div>
    <div class="description"><b>Description:</b><span> {{ config.site_description }}</span></div>
    <div class="version"><b>Version:</b><span> {{ git.tag }}</span></div>
    <div class="title"><span>{{ page.title }}</span></div>
  </section>