diff --git a/index.html b/index.html
index e38b878..1095bf0 100644
--- a/index.html
+++ b/index.html
@@ -360,43 +360,43 @@ var I18N = {
var d = I18N[lang] || I18N.ru;
function tile(n, t, p, back){
return {
- width:1, margin:10,
+ width:1, margin:8,
border: back ? {color:RED, width:2, style:"solid"} : null,
background: back ? "#fff5f5" : PAPER,
stack:[
- {text:n, color:(back?RED:BLUE), fontSize:30, bold:true, alignment:"center", margin:[0,0,0,0]},
- {text:t, color:INK, fontSize:21, bold:true, alignment:"center", margin:[0,8,0,8]},
- {text:p, color:MUT, fontSize:12.5, alignment:"center", lineHeight:1.35}
+ {text:n, color:(back?RED:BLUE), fontSize:26, bold:true, alignment:"center"},
+ {text:t, color:INK, fontSize:17, bold:true, alignment:"center", margin:[0,5,0,5]},
+ {text:p, color:MUT, fontSize:11, alignment:"center", lineHeight:1.25}
]
};
}
var docDef = {
pageSize: "A4",
pageOrientation: "portrait",
- margin: [40, 40, 40, 40],
+ margin: [32, 32, 32, 32],
content:[
- {text:d.chip, color:PAPER, fontSize:13, bold:true, alignment:"center",
- backgroundColor:BLUE2, margin:[0,0,0,14]},
- {text:d.title, color:BLUE, fontSize:56, bold:true, alignment:"center",
- margin:[0,0,0,10]},
- {text:d.sectionSub, color:MUT, fontSize:16, alignment:"center",
- lineHeight:1.4, margin:[24,0,24,16]},
+ {text:d.chip, color:PAPER, fontSize:11, bold:true, alignment:"center",
+ backgroundColor:BLUE2, margin:[0,0,0,10]},
+ {text:d.title, color:BLUE, fontSize:44, bold:true, alignment:"center",
+ margin:[0,0,0,8]},
+ {text:d.sectionSub, color:MUT, fontSize:13, alignment:"center",
+ lineHeight:1.3, margin:[24,0,24,12]},
{columns:[
tile("01", d.side1, d.side1p, false),
tile("02", d.side2, d.side2p, false),
tile("03", d.side3, d.side3p, true),
tile("04", d.side4, d.side4p, false)
- ], margin:[16,0,16,16]},
+ ], margin:[16,0,16,12]},
{border:{color:RED, width:2, style:"solid"}, background:"#fff5f5",
- margin:[16,0,16,16],
+ margin:[16,0,16,12],
stack:[
- {text:d.warn1, color:INK, fontSize:15, bold:true, lineHeight:1.35, margin:[0,0,0,4]},
- {text:d.warn2, color:MUT, fontSize:12, lineHeight:1.3}
+ {text:d.warn1, color:INK, fontSize:13, bold:true, lineHeight:1.3, margin:[0,0,0,3]},
+ {text:d.warn2, color:MUT, fontSize:10.5, lineHeight:1.25}
]},
{text:[
{text:d.slogan1+" — ", color:INK, bold:true},
{text:d.slogan2, color:BLUE, bold:true}
- ], fontSize:34, alignment:"center", margin:[0,20,0,0]}
+ ], fontSize:26, alignment:"center", margin:[0,12,0,0]}
]
};
pdfMake.createPdf(docDef).download(filename);