MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(41 intermediate revisions by the same user not shown)
Line 78: Line 78:
/* Centered link row */
/* Centered link row */
.link-pdf {
.link-pdf {
   text-align: center;
   display: flex !important;
   color: #292828 !important;
  justify-content: center !important;
   text-decoration: none;
   align-items: flex-start !important;
   margin: 2px 0 0 0;
   gap: 1px !important;
   padding-top: 0;
   margin: 2px 0 0 0 !important;
   padding: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  font-size: 11px !important;
  font-family: "HALColant-TextRegular", Georgia, "Times New Roman", serif !important;
}
 
.link-pdf a::after {
  content: "" !important;
}
 
.link-pdf > * {
  display: block !important;
  margin-top: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  font: inherit !important;
}
}
.link-pdf p,
.link-pdf a,
.link-pdf a,
.link-pdf p {
.link-pdf span {
  display: inline-block;
  text-decoration: none;
  color: #292828 !important;
   margin: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   padding: 0 !important;
  line-height: 1 !important;
  font: inherit !important;
  letter-spacing: 0 !important;
  color: #292828 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.link-pdf a {
  display: inline-block !important;
  margin-top: 4px !important;
}
.link-pdf .text-symbol {
  font: inherit !important;
  line-height: 1 !important;
}
.pdf-link-icon {
    margin-right: 0px!important;
    margin-left: 0px!important;
}
}


Line 187: Line 225:
   text-indent: 20px;
   text-indent: 20px;
   line-height: 1.05;
   line-height: 1.05;
   font-size: 10px;
   font-size: 9.5px;
   letter-spacing: 0.4px;
   letter-spacing: 0.4px;
}
}
Line 202: Line 240:
.article-reflection,
.article-reflection,
.article-external-reference,
.article-external-reference,
.article-quote,
.article-quote {
.article-mod-line {
   text-indent: 20px;
   text-indent: 20px;
   line-height: 1.15;
   line-height: 1.15;
   font-size: 11.5px;
   font-size: 11px;
   letter-spacing: 0.4px;
   letter-spacing: 0.4px;
   margin-top: 0 !important;
   margin-top: 0 !important;
Line 217: Line 254:
   line-height: 1.2;
   line-height: 1.2;
   font-style: italic;
   font-style: italic;
}
/* Mod line */
.article-mod-line {
  display: inline-flex;        /* lay out pieces in one row */
  flex-wrap: nowrap;          /* forbid wrapping */
  gap: 4px;                    /* spacing between spans */
  align-items: baseline;      /* nice vertical alignment */
  white-space: nowrap;
  color: grey;
  line-height: 1.05;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.article-mod-line span {
  white-space: nowrap;
}
.article-modification-date {
  font-size: 11px;
  letter-spacing: 0.3px;
}
}


Line 404: Line 420:
       border-bottom: 0 !important;
       border-bottom: 0 !important;
     }
     }
    .entry-wrapper {
      margin-top: 20px;
    }
  }
}
/* --- Mod line: force one single unbroken line --- */
.article-mod-line {
  /* be its own inline box, but narrow as content */
  display: inline-block !important;
  white-space: nowrap !important;
  text-indent: 20px;
  /* kill spacing artifacts from wiki newlines between spans */
  font-size: 0 !important;
  letter-spacing: 0 !important;
  /* keep your tone */
  color: grey;
  line-height: 1.05;
  margin: 5px 0 0 0 !important;
  padding: 0 !important;
}
/* every child is a pure inline; no blocks, no inline-blocks */
.article-mod-line > *,
.article-mod-line span,
.article-mod-line .article-label-modification-date,
.article-mod-line .article-modification-date {
  display: inline !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  /* restore actual text styling (container is font-size:0) */
  font-size: 10px !important;
  letter-spacing: 0.3px !important;
}
/* the date a touch larger + tiny spaces around it */
.article-mod-line .article-modification-date {
  font-size: 11px !important;
  margin: 0 .25ch !important;
}
/* absolutely forbid rogue breaks */
.article-mod-line br { display: none !important; }
/* neutralize any legacy “span + span { margin-left }” rule */
.article-mod-line > span + span { margin-left: 0 !important; }
@media print {
  .print-only {
    page-break-after: always;
    break-after: page;
    padding-top: 6mm;
    box-sizing: border-box;
  }
  .print-only:last-child {
    page-break-after: auto;
    break-after: auto;
   }
   }
}
}

Navigation menu