32 lines
512 B
CSS
32 lines
512 B
CSS
/* ============= 列印 PDF 設定 ============= */
|
|
@media print {
|
|
h1, h2 {
|
|
page-break-after:avoid;
|
|
page-break-inside:avoid
|
|
}
|
|
h3+h4 {
|
|
page-break-after:avoid;
|
|
}
|
|
/* -------- 列印強調 ---------- */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
color: #2c2c2c !important;
|
|
}
|
|
ruby strong {
|
|
color: red !important;
|
|
}
|
|
ruby em {
|
|
color: blue !important;
|
|
}
|
|
strong {
|
|
font-weight:800;
|
|
color:red;
|
|
}
|
|
em {
|
|
font-weight:800;
|
|
color:blue;
|
|
}
|
|
html, body {
|
|
color: black;
|
|
}
|
|
}
|