4,554
edits
No edit summary  | 
				No edit summary  | 
				||
| Line 42: | Line 42: | ||
}  | }  | ||
/* 5 Titles & people (COMPACT) */  | /* 5 Titles & people (COMPACT) */  | ||
.article-title {  | .article-title {  | ||
| Line 361: | Line 354: | ||
     page-break-inside: avoid;  |      page-break-inside: avoid;  | ||
     break-inside: avoid;  |      break-inside: avoid;  | ||
  }  | |||
}  | |||
@media print {  | |||
  /* Default: WITH border (when <html> does NOT have .print-no-border) */  | |||
  html:not(.print-no-border) .print-only .entry-wrapper,  | |||
  html:not(.print-no-border) .entry-wrapper.print-a4-narrow,  | |||
  html:not(.print-no-border) .entry-wrapper.print-a5 {  | |||
    border: 1px solid #000 !important;  | |||
    box-sizing: border-box;  | |||
    /* tiny inset so the stroke never clips on some engines */  | |||
    padding: 3mm;  | |||
    background-clip: padding-box;  | |||
  }  | |||
  /* NO border when <html> has .print-no-border */  | |||
  html.print-no-border .print-only .entry-wrapper,  | |||
  html.print-no-border .entry-wrapper.print-a4-narrow,  | |||
  html.print-no-border .entry-wrapper.print-a5 {  | |||
    border: 0 !important;  | |||
    /* optional: reduce the inset when no border */  | |||
    padding: 0 !important;  | |||
   }  |    }  | ||
}  | }  | ||