50 lines
699 B
CSS
50 lines
699 B
CSS
@page {
|
|
margin: 0;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
page-break-after: always;
|
|
}
|
|
|
|
body.A3 {
|
|
width: 297mm;
|
|
height: 420mm;
|
|
}
|
|
body.A3.landscape .sheet {
|
|
width: 420mm;
|
|
height: 297mm;
|
|
}
|
|
body.A4 .sheet {
|
|
width: 210mm;
|
|
height: 297mm;
|
|
}
|
|
body.A4.landscape .sheet {
|
|
width: 297mm;
|
|
height: 210mm;
|
|
}
|
|
body.A5 .sheet {
|
|
width: 148mm;
|
|
height: 210mm;
|
|
}
|
|
body.A5.landscape .sheet {
|
|
width: 210mm;
|
|
height: 148mm;
|
|
}
|
|
body.letter .sheet {
|
|
width: 216mm;
|
|
height: 280mm;
|
|
}
|
|
body.letter.landscape .sheet {
|
|
width: 280mm;
|
|
height: 216mm;
|
|
}
|
|
body.legal .sheet {
|
|
width: 216mm;
|
|
height: 357mm;
|
|
}
|
|
body.legal.landscape .sheet {
|
|
width: 357mm;
|
|
height: 216mm;
|
|
}
|