isite
Version:
Create High Level Multi-Language Web Site [Fast and Easy]
145 lines (134 loc) • 2.59 kB
CSS
.print-only {
visibility: collapse;
}
.page-a4 {
display: inline-block;
height: 297mm ;
width: 210mm ;
padding: 2mm ;
margin: 0mm ;
background: white ;
color: #000 ;
page-break-before: always ;
page-break-after: always ;
page-break-inside: avoid ;
}
.width-15-mm {
min-width: 15mm ;
width: 15mm ;
white-space: normal;
max-width: 15mm ;
}
.width-30-mm {
min-width: 30mm ;
width: 30mm ;
white-space: normal;
max-width: 30mm ;
}
.width-60-mm {
min-width: 60mm ;
width: 60mm ;
white-space: normal;
max-width: 60mm ;
}
.width-90-mm {
min-width: 90mm ;
width: 90mm ;
white-space: normal;
max-width: 90mm ;
}
.page-width-a4 {
padding: 2mm;
margin: 0mm;
}
body.a4 {
background: white;
color: #000;
}
body.a4 {
height: 297mm;
}
body.print-mode {
padding: 0px ;
margin: 2mm ;
display: contents;
}
body.print-mode .hide {
visibility: visible;
}
body.print-mode .not-print,
body.print-mode .dont-print {
display: none;
}
body.print-mode .print-only {
visibility: visible;
}
body.print-mode .table {
table-layout: fixed;
border-collapse: collapse;
border: 1px solid black;
font-size: 8pt;
page-break-inside: avoid;
}
body.print-mode .table.wide {
min-width: 206mm ;
width: 206mm ;
}
body.print-mode .table th {
color: #000 ;
background: #fff ;
border-collapse: collapse;
}
body.print-mode .table td {
color: #000 ;
background: #fff ;
border-collapse: collapse;
}
body.print-mode input,
body.print-mode textarea {
font-size: 8pt;
}
body.print-mode .small {
font-size: 6pt;
}
.page {
page-break-before: always;
page-break-after: always;
page-break-inside: avoid ;
}
@media print {
:root {
--legend-color: #000;
--legend-text-shadow: none;
}
html,
body,
.page {
margin: 0 ;
padding: 0 ;
}
.page {
page-break-before: always;
page-break-after: always;
page-break-inside: avoid ;
}
.print-break {
page-break-after: always;
}
.print-start {
page-break-before: always;
}
.print-content {
page-break-inside: avoid;
}
a {
font-weight: bolder;
text-decoration: none;
}
a[href^='http']:after {
content: ' [ ' attr(href) ' ] ';
}
a[href^='#']:after {
content: '';
}
}