archive
/
md-pdf
Archived
1
Fork 0

Set footer font size

This commit is contained in:
Jake Howard 2017-05-10 20:56:57 +01:00
parent a072017525
commit bc95f592ab
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
$image-spacing: 30px;
$font-size-base: 12px;
body.cover {
@ -22,7 +23,7 @@ body.cover {
body.content {
line-height: 1.5;
font-size: 12px;
font-size: $font-size-base;
img {
margin-top: $image-spacing;
@ -45,3 +46,7 @@ body.content {
page-break-after: avoid;
}
}
body.footer {
font-size: $font-size-base;
}

View File

@ -6,7 +6,7 @@
<body class="footer">
<table style="width: 100%;">
<tr>
<td style="text-align: center">
<td style="text-align: center;">
Page <span class="page"></span> of <span class="topage"></span>
</td>
</tr>