2015-09-22 07:20:47 +00:00
|
|
|
|
|
|
|
@font-face
|
|
|
|
{
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
src: url('opensans.ttf') format('truetype');
|
|
|
|
}
|
2015-10-21 23:42:52 +00:00
|
|
|
@media print
|
|
|
|
{
|
|
|
|
body
|
|
|
|
{
|
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
}
|
|
|
|
.sheet
|
|
|
|
{
|
|
|
|
width: 100%;
|
|
|
|
page-break-after: always;
|
|
|
|
}
|
|
|
|
.print-button
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen
|
|
|
|
{
|
|
|
|
body
|
|
|
|
{
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
|
|
|
.sheet
|
|
|
|
{
|
|
|
|
width: 210mm;
|
|
|
|
height: 297mm;
|
|
|
|
background-color: white;
|
|
|
|
margin: 10mm auto;
|
|
|
|
box-shadow: 0 1mm 1mm #CCC;
|
2015-11-05 07:30:19 +00:00
|
|
|
padding: 20mm;
|
2015-10-21 23:42:52 +00:00
|
|
|
}
|
|
|
|
.print-button
|
|
|
|
{
|
|
|
|
position: fixed;
|
2015-11-05 07:30:19 +00:00
|
|
|
top: 1.5em;
|
|
|
|
right: 1.5em;
|
2015-10-21 23:42:52 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
background-color: #009688;
|
|
|
|
color: white;
|
2015-11-05 07:30:19 +00:00
|
|
|
padding: .4em;
|
2015-10-21 23:42:52 +00:00
|
|
|
z-index: 100;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2015-11-05 07:30:19 +00:00
|
|
|
box-shadow: 0 .1em .1em #AAA;
|
|
|
|
font-size: 1.4em;
|
2015-10-21 23:42:52 +00:00
|
|
|
}
|
|
|
|
.print-button:hover
|
|
|
|
{
|
|
|
|
background-color: #00796B;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*
|
|
|
|
{
|
2015-11-05 07:30:19 +00:00
|
|
|
font-family: 'Open Sans';
|
2015-10-21 23:42:52 +00:00
|
|
|
}
|
2015-09-22 07:20:47 +00:00
|
|
|
body
|
|
|
|
{
|
2015-10-21 23:42:52 +00:00
|
|
|
position: relative;
|
2015-09-22 07:20:47 +00:00
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: -2;
|
2015-10-21 23:42:52 +00:00
|
|
|
}
|
|
|
|
.sheet
|
|
|
|
{
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: padding-box;
|
|
|
|
/* page-break-after: always;*/
|
2015-09-22 07:20:47 +00:00
|
|
|
}
|
|
|
|
|