MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 55: Line 55:
.article-people a { text-decoration: underline; color: #292828 !important; }
.article-people a { text-decoration: underline; color: #292828 !important; }


/* 6 Hairline rules via pseudo-element (Blink) */
/* Hairline rules via pseudo-element (Blink) — NOT on large body blocks */
.article-entry-number,
.article-entry-number,
.link-pdf,
.link-pdf,
Line 61: Line 61:
.article-metadata,
.article-metadata,
.article-images,
.article-images,
.article-description,
.article-mod-line,
.article-reflection,
/* labels only */
.article-external-reference,
.article-label-description,
.article-quote,
.article-label-reflection,
.article-mod-line {
.article-label-external-reference,
.article-label-quote,
.article-label-modification-date {
   position: relative;
   position: relative;
   padding-bottom: 6px;
   padding-bottom: 6px;
   border-bottom: none !important;
   border-bottom: none !important;
}
}
.article-entry-number::after,
.article-entry-number::after,
.link-pdf::after,
.link-pdf::after,
Line 75: Line 78:
.article-metadata::after,
.article-metadata::after,
.article-images::after,
.article-images::after,
.article-description::after,
.article-mod-line::after,
.article-reflection::after,
.article-label-description::after,
.article-external-reference::after,
.article-label-reflection::after,
.article-quote::after,
.article-label-external-reference::after,
.article-mod-line::after {
.article-label-quote::after,
.article-label-modification-date::after {
   content: "";
   content: "";
   position: absolute;
   position: absolute;
Line 93: Line 97:
/* 7 Firefox fallback: use real thin borders instead of ::after hairlines */
/* 7 Firefox fallback: use real thin borders instead of ::after hairlines */
@-moz-document url-prefix() {
@-moz-document url-prefix() {
  /* turn off ::after there too */
   .article-entry-number::after,
   .article-entry-number::after,
   .link-pdf::after,
   .link-pdf::after,
Line 98: Line 103:
   .article-metadata::after,
   .article-metadata::after,
   .article-images::after,
   .article-images::after,
   .article-description::after,
   .article-mod-line::after,
   .article-reflection::after,
  .article-label-description::after,
   .article-external-reference::after,
   .article-label-reflection::after,
   .article-quote::after,
   .article-label-external-reference::after,
   .article-mod-line::after { content: none !important; }
   .article-label-quote::after,
   .article-label-modification-date::after { content: none !important; }


   .article-entry-number,
   .article-entry-number,
Line 109: Line 115:
   .article-metadata,
   .article-metadata,
   .article-images,
   .article-images,
   .article-description,
   .article-mod-line,
   .article-reflection,
  .article-label-description,
   .article-external-reference,
   .article-label-reflection,
   .article-quote,
   .article-label-external-reference,
   .article-mod-line { border-bottom: 0.5pt solid #292828 !important; }
   .article-label-quote,
   .article-label-modification-date {
    border-bottom: 0.5pt solid #292828 !important;
  }


   #article-content > :last-child { border-bottom: 0 !important; }
   #article-content > :last-child { border-bottom: 0 !important; }
  .entry-wrapper.print-a4-narrow::before,
  .entry-wrapper.print-a5::before,
  .print-only::before {
    content: "";
    display: block;
    height: 6mm; /* match @page top margin */
  }
  html, body { margin: 0 !important; padding: 0 !important; }
}
}


Navigation menu