init
This commit is contained in:
commit
a6929e88cf
12 changed files with 177 additions and 0 deletions
47
css/a4-format-portrait.css
Normal file
47
css/a4-format-portrait.css
Normal file
|
@ -0,0 +1,47 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
background-color: #242424;
|
||||
}
|
||||
|
||||
#page {
|
||||
zoom: 124.988%;
|
||||
width: 21cm;
|
||||
height: 29.7cm;
|
||||
margin: 1cm auto;
|
||||
background: white;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@page {
|
||||
size: A4;
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
||||
@page {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background-color: unset;
|
||||
zoom: 100%;
|
||||
}
|
||||
|
||||
#page {
|
||||
margin: 0;
|
||||
border: initial;
|
||||
border-radius: initial;
|
||||
box-shadow: initial;
|
||||
background: initial;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue