kittv
/
prezgen
Archived
1
0
Fork 0

Add PT Serif fonts

master
Emil Miler 3 years ago
parent 1eb06dc6e5
commit 00e260479d

Binary file not shown.

@ -1,3 +1,28 @@
@font-face {
font-family: "ptserif";
src: url("fonts/PTSerif-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "ptserif";
src: url("fonts/PTSerif-Italic.ttf") format("truetype");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "ptserif";
src: url("fonts/PTSerif-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "ptserif";
src: url("fonts/PTSerif-BoldItalic.ttf") format("truetype");
font-weight: bold;
font-style: italic;
}
@page { @page {
size: A4; size: A4;
margin: 0; margin: 0;
@ -26,6 +51,7 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 6mm 6mm 6mm 12mm; padding: 6mm 6mm 6mm 12mm;
font-family: ptserif, serif;
counter-reset: list; counter-reset: list;
} }
@ -35,11 +61,11 @@ header {
} }
table#meta { table#meta {
margin: 8mm 0; margin: 7mm 0;
width: 100%; width: 100%;
} }
table#meta td { table#meta td {
padding: .5mm 2mm; padding: 0 2mm;
} }
table#meta td:nth-child(odd) { table#meta td:nth-child(odd) {
text-align: right; text-align: right;