MediaWiki:Print.css: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
 
(138 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* --- Load custom print font --- */
/* ===========================
  Softwear — A4 Narrow Print (compact, cleaned)
  =========================== */
 
/* Visibility of the print-only block (Common.css hides it on screen) */
.print-only {
  display: block !important;
}
 
/* Font face */
@font-face {
@font-face {
   font-family: 'HALColant-TextRegular';
   font-family: "HALColant-TextRegular";
   src: url('/fonts/HALColant-TextRegular.woff2?v=20250820') format('woff2'),
   src: url("/fonts/HALColant-TextRegular.woff2?v=20250820") format("woff2"),
      url('/fonts/HALColant-TextRegular.woff?v=20250820') format('woff');
    url("/fonts/HALColant-TextRegular.woff?v=20250820") format("woff");
   font-weight: normal;
   font-weight: normal;
   font-style: normal;
   font-style: normal;
Line 9: Line 18:
}
}


* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
/* Print color fidelity */
* {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}


/* Global print baseline */
/* Base typography */
.print-only { display: block !important; }
html,
 
body {
/* Use the font everywhere in print */
html, body {
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
   font-family: 'HALColant-TextRegular', Georgia, "Times New Roman", serif;
   font-family: "HALColant-TextRegular", Georgia, "Times New Roman", serif;
   color: #111;
   color: #292828 !important;
  background: #fff !important;
}
}


/* A5 page setup */
/* Page & column */
@page {  
@page {
    size: A5 portrait;  
  size: A4 portrait;
    margin: 2.5mm;  
  margin: 12mm;
} /* minimal outside margin for Chrome defaults */
}
.entry-wrapper.print-a5 { padding: 2.5mm; }  /* inner breathing room */


html, body { margin: 0; padding: 0;}
.entry-wrapper.print-a4-narrow {
 
/* Main wrapper for the printable entry */
.entry-wrapper.print-a5 {
  width: 100%;
   box-sizing: border-box;
   box-sizing: border-box;
   /* remove forced page break to avoid a blank trailing page on single prints */
   width: 93mm;
   /* page-break-after: always; */
  margin: 0 auto;
   padding: 3mm;
}
}


/* Avoid splitting key sections across pages */
/* Titles & people */
#article-title,
.article-title {
.article-title-link,
  font-size: 16px;
.article-images,
  line-height: 18px;
.article-metadata,
  letter-spacing: 0.5px;
.article-description,
  text-align: center;
.article-reflection,
  margin: 0;
.article-external-reference,
}
.article-quote {
.article-people {
   page-break-inside: avoid;
  font-size: 14px;
   break-inside: avoid;
  line-height: 18px;
  letter-spacing: 0.4px;
  text-align: center;
  text-decoration: underline;
  margin: 0;
  padding-top: 6px;
}
.article-people a {
   text-decoration: underline;
   color: #292828 !important;
}
}


/* Typography & spacing for the print layout */
/* Entry number row */
body { font-family: HALColant-TextRegular!important; color: #292828!important;}
.article-entry-number {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}


.article-title {  
/* Centered link row */
    font-size: 22px;
.link-pdf {
    line-height: 24px;
  text-align: center;
    letter-spacing: 0.8px;
  color: #292828 !important;
    text-align: center;
  text-decoration: none;
    color: #292828!important;
  margin: 2px 0 0 0;
    margin: 0;
  padding-top: 0;
}
}
.article-people {
.link-pdf a,
    font-size: 22px;
.link-pdf p {
    line-height: 28px;
  display: inline-block;
    letter-spacing: 0.8px;
  text-decoration: none;
    text-align: center;
  color: #292828 !important;
    text-decoration: underline;
  margin: 0 !important;
    color: #292828!important;
  padding: 0 !important;
    margin: 0;
    padding-top: 15px;
}
}


.article-people a {  
/* Type line */
    text-decoration: underline;
.article-type {
    color: #292828!important;
  font-size: 12px;
  line-height: 1.1;
  margin: 0;
  padding-top: 4px;
  color: #292828 !important;
}
.article-type a {
  text-decoration: none;
  color: #292828 !important;
}
}


.article-entry-number {
/* Metadata grid (compact) */
    font-size: 16px;
.article-metadata,
    line-height: 23px;
.article-metadata * {
    letter-spacing: 0;
  margin: 0 !important;
    margin: 0;
  border: none;
    padding-bottom: 4px;
  background: none;
    border-bottom: none;
}


    background-image: linear-gradient(#000, #000);
.article-metadata {
    background-repeat: no-repeat;
  display: grid;
    background-position: 0 100%;
  grid-template-columns: repeat(3, 1fr);
    background-size: 100% 0.5px;   
  gap: 1.5mm;
  padding-top: 6px;
  line-height: 1.05 !important;
}
.article-metadata-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.article-metadata-value {
  font-size: 11px;
  text-transform: capitalize;
}
.article-metadata-value a {
  color: #292828 !important;
   text-decoration: none;
}
}


.link-pdf {
/* Images (shorter to favor text) */
    text-align: center;
.article-metadata + .article-images {
    color: #292828!important;
  margin-top: 0 !important;
    text-decoration: none;
  padding-top: 0 !important;
}
.article-images {
  margin: 0 !important;
  padding-top: 0 !important;
}
.article-images .image-container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}
.article-images .image-container img,
.image-container img {
  display: block;
  max-height: 60mm;
  height: auto;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  line-height: 0;
}
.caption-image1 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
  font-size: 8px;
  color: #555;
  text-align: left;
  width: 100%;
}
.caption-image1:empty {
  display: none;
}


    margin-top: 4px;
/* Labels & bodies (compact) */
    margin-bottom: 0;
.article-label-description,
    padding-bottom: 0;
.article-label-reflection,
    border-bottom: none;
.article-label-external-reference,
 
.article-label-quote,
    background-image: linear-gradient(#000, #000);
.article-label-modification-date {
    background-repeat: no-repeat;
  text-transform: uppercase;
    background-position: 0 100%;
  margin: 6px 0 0 0 !important;
    background-size: 100% 0.5px;  
  padding: 0 !important;
  text-indent: 20px;
  line-height: 1.05;
  font-size: 9.5px;
  letter-spacing: 0.4px;
}
}
.link-pdf a, .link-pdf p {
.article-metadata + .article-label-description,
    text-decoration: none;
.article-images + .article-label-description,
    display: inline-block; 
.article-description + .article-label-reflection,
    color: #292828!important;
.article-reflection + .article-label-external-reference,
    margin-top: 0!important;
.article-external-reference + .article-label-quote,
.article-quote + .article-label-modification-date {
  margin-top: 6px !important;
}
}


.article-type {  
.article-description,
    font-size: 16px;
.article-reflection,
    line-height: 23px;
.article-external-reference,
    letter-spacing: 0;
.article-quote {
    margin-top: 4px!important;
  text-indent: 20px;
    padding-bottom: 3px!important;
  line-height: 1.15;
    text-decoration: none;
  font-size: 11px;
    color: #292828!important;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}


    border-bottom: none;
/* Quote */
    background-image: linear-gradient(#000, #000);
.article-quote {
    background-repeat: no-repeat;
  font-size: 13px;
    background-position: 0 100%;
  line-height: 1.2;
    background-size: 100% 0.5px;  
  font-style: italic;
}
}


.article-type a {
/* Resets */
    text-decoration: none;
.vector-body p {
    display: inline-block;
  margin: 0 !important;
    color: #292828!important;
  padding: 0 !important;
}
a[href]:after {
  content: none !important;
}
.article-external-reference a {
  word-break: break-word;
  overflow-wrap: anywhere;
  text-decoration: none;
  color: #292828 !important;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0;
}
}
.article-metadata {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2mm;
    margin: 0!important;
    padding: 0!important;


    border-bottom: none;
/* Basic split control */
    background-image: linear-gradient(#000, #000);
#article-content {
    background-repeat: no-repeat;
  orphans: 2;
    background-position: 0 100%;
  widows: 2;
    background-size: 100% 0.5px;  
}
}
.article-metadata-column {
#article-title,
    margin: 0!important;
.article-title-link,
    padding: 0!important;
.article-metadata,
.article-images {
  break-inside: avoid;
  page-break-inside: avoid;
}
}


.article-metadata-column > .article-metadata-label {
/* Column enforcement & border toggle (print.css is print-only, so no wrappers needed) */
    color: red;
.entry-wrapper.print-a4-narrow,
.print-only.entry-wrapper,
.print-only .entry-wrapper,
.print-only {
  width: 93mm !important;
  max-width: 93mm !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
}
 
.print-only *,
.article-metadata-column > .article-metadata-value, .article-metadata-column > a {
.entry-wrapper.print-a4-narrow * {
    color: green;
  max-width: 100% !important;
}
.print-only .mw-body,
.print-only .vector-body,
.print-only .content,
.print-only .list-container,
.print-only table {
  width: auto !important;
  max-width: 100% !important;
}
.print-only img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}
}


.article-metadata-label {
/* Default WITH border */
    text-transform: uppercase;
html:not(.print-no-border) .print-only .entry-wrapper,
    font-size: 14px;
html:not(.print-no-border) .entry-wrapper.print-a4-narrow,
    line-height: 18px;
html:not(.print-no-border) .entry-wrapper.print-a5 {
    letter-spacing: 0.2px;
  border: 0.5pt solid #292828 !important;
    margin-top: 0!important;
  background-clip: padding-box;
    margin-bottom: 0!important;
  padding: 3mm;
    padding-top: 0important;
    padding-bottom: 0!important;
}
}
.article-metadata-value {
/* NO border */
    text-transform: capitalize;
html.print-no-border .print-only .entry-wrapper,
    font-size: 14px;
html.print-no-border .entry-wrapper.print-a4-narrow,
    line-height: 16px;
html.print-no-border .entry-wrapper.print-a5 {
    letter-spacing: 0.4px;
  border: 0 !important;
    margin-top: 0!important;
  padding: 0 !important;
    padding-top: 0!important;
}
}


.article-metadata-value a {  
/* Section rules: ONE consistent line under rows/bodies (no ::after tricks) */
    text-decoration: none;
.article-entry-number,
    color: #292828!important;
.link-pdf,
    margin-top: 0!important;
.article-type,
.article-metadata,
.article-images,
.article-description,
.article-reflection,
.article-external-reference,
.article-quote,
.article-mod-line {
  border-bottom: 0.5pt solid #292828 !important;
  padding-bottom: 6px !important;
}
}
.article-images .image-container { text-align: center; margin: 6mm 0; }
/* Labels show no line (avoids doubles) */
.article-images img { max-width: 100%; height: auto; }
.caption-image1 { font-size: 8pt; color: #555; margin-top: 2mm; }
 
.article-label-description,
.article-label-description,
.article-label-reflection,
.article-label-reflection,
Line 195: Line 314:
.article-label-quote,
.article-label-quote,
.article-label-modification-date {
.article-label-modification-date {
   font-weight: bold;
   border-bottom: 0 !important;
   margin: 4mm 0 1.5mm;
  padding-bottom: 0 !important;
   font-size: 9pt;
}
/* Don’t draw a line under the last item */
#article-content > :last-child {
   border-bottom: 0 !important;
}
 
/* Paragraph fragmentation to avoid big gaps */
.article-description p,
.article-reflection p,
.article-external-reference p,
.article-quote p {
  break-inside: auto !important;
   page-break-inside: auto !important;
  orphans: 2 !important;
  widows: 2 !important;
  margin: 0 0 1.2mm !important;
}
}
.article-description,
.article-description p:last-child,
.article-reflection,
.article-reflection p:last-child,
.article-external-reference,
.article-external-reference p:last-child,
.article-quote,
.article-quote p:last-child {
.article-modification-date {
  margin-bottom: 0 !important;
   font-size: 10pt;
}
   line-height: 1.35;
 
/* Entry page: unblock pagination + hide UI */
html,
body,
#show-article-wrapper-entry,
#show-article,
#article-content,
#content,
.mw-body,
.vector-body,
#mw-content-text {
  display: block !important;
  overflow: visible !important;
  contain: none !important;
  max-height: none !important;
}
#article-content > * {
  break-inside: auto !important;
  page-break-inside: auto !important;
}
#print-chooser,
#print-options {
  display: none !important;
}
 
/* 22) Firefox: real thin borders (kept simple; still consistent with 0.5pt) */
@-moz-document url-prefix() {
  @media print {
    .article-entry-number,
    .link-pdf,
    .article-type,
    .article-metadata,
    .article-images,
    .article-description,
    .article-reflection,
    .article-external-reference,
    .article-quote,
    .article-mod-line {
      border-bottom: 0.5pt solid #292828 !important;
    }
    #article-content > :last-child {
      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;
}
}


/* Don’t append raw URLs in print */
/* every child is a pure inline; no blocks, no inline-blocks */
a[href]:after { content: none !important; }
.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;
}


/* Wrap long links gracefully */
/* the date a touch larger + tiny spaces around it */
.article-external-reference a {
.article-mod-line .article-modification-date {
   word-break: break-word;
   font-size: 11px !important;
   overflow-wrap: anywhere;
   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; }

Latest revision as of 17:05, 2 September 2025

/* ===========================
   Softwear — A4 Narrow Print (compact, cleaned)
   =========================== */

/* Visibility of the print-only block (Common.css hides it on screen) */
.print-only {
  display: block !important;
}

/* Font face */
@font-face {
  font-family: "HALColant-TextRegular";
  src: url("/fonts/HALColant-TextRegular.woff2?v=20250820") format("woff2"),
    url("/fonts/HALColant-TextRegular.woff?v=20250820") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Print color fidelity */
* {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Base typography */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "HALColant-TextRegular", Georgia, "Times New Roman", serif;
  color: #292828 !important;
  background: #fff !important;
}

/* Page & column */
@page {
  size: A4 portrait;
  margin: 12mm;
}

.entry-wrapper.print-a4-narrow {
  box-sizing: border-box;
  width: 93mm;
  margin: 0 auto;
  padding: 3mm;
}

/* Titles & people */
.article-title {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
}
.article-people {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.4px;
  text-align: center;
  text-decoration: underline;
  margin: 0;
  padding-top: 6px;
}
.article-people a {
  text-decoration: underline;
  color: #292828 !important;
}

/* Entry number row */
.article-entry-number {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}

/* Centered link row */
.link-pdf {
  text-align: center;
  color: #292828 !important;
  text-decoration: none;
  margin: 2px 0 0 0;
  padding-top: 0;
}
.link-pdf a,
.link-pdf p {
  display: inline-block;
  text-decoration: none;
  color: #292828 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Type line */
.article-type {
  font-size: 12px;
  line-height: 1.1;
  margin: 0;
  padding-top: 4px;
  color: #292828 !important;
}
.article-type a {
  text-decoration: none;
  color: #292828 !important;
}

/* Metadata grid (compact) */
.article-metadata,
.article-metadata * {
  margin: 0 !important;
  border: none;
  background: none;
}

.article-metadata {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5mm;
  padding-top: 6px;
  line-height: 1.05 !important;
}
.article-metadata-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.article-metadata-value {
  font-size: 11px;
  text-transform: capitalize;
}
.article-metadata-value a {
  color: #292828 !important;
  text-decoration: none;
}

/* Images (shorter to favor text) */
.article-metadata + .article-images {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.article-images {
  margin: 0 !important;
  padding-top: 0 !important;
}
.article-images .image-container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}
.article-images .image-container img,
.image-container img {
  display: block;
  max-height: 60mm;
  height: auto;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  line-height: 0;
}
.caption-image1 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
  font-size: 8px;
  color: #555;
  text-align: left;
  width: 100%;
}
.caption-image1:empty {
  display: none;
}

/* Labels & bodies (compact) */
.article-label-description,
.article-label-reflection,
.article-label-external-reference,
.article-label-quote,
.article-label-modification-date {
  text-transform: uppercase;
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
  text-indent: 20px;
  line-height: 1.05;
  font-size: 9.5px;
  letter-spacing: 0.4px;
}
.article-metadata + .article-label-description,
.article-images + .article-label-description,
.article-description + .article-label-reflection,
.article-reflection + .article-label-external-reference,
.article-external-reference + .article-label-quote,
.article-quote + .article-label-modification-date {
  margin-top: 6px !important;
}

.article-description,
.article-reflection,
.article-external-reference,
.article-quote {
  text-indent: 20px;
  line-height: 1.15;
  font-size: 11px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Quote */
.article-quote {
  font-size: 13px;
  line-height: 1.2;
  font-style: italic;
}

/* Resets */
.vector-body p {
  margin: 0 !important;
  padding: 0 !important;
}
a[href]:after {
  content: none !important;
}
.article-external-reference a {
  word-break: break-word;
  overflow-wrap: anywhere;
  text-decoration: none;
  color: #292828 !important;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0;
}

/* Basic split control */
#article-content {
  orphans: 2;
  widows: 2;
}
#article-title,
.article-title-link,
.article-metadata,
.article-images {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Column enforcement & border toggle (print.css is print-only, so no wrappers needed) */
.entry-wrapper.print-a4-narrow,
.print-only.entry-wrapper,
.print-only .entry-wrapper,
.print-only {
  width: 93mm !important;
  max-width: 93mm !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
.print-only *,
.entry-wrapper.print-a4-narrow * {
  max-width: 100% !important;
}
.print-only .mw-body,
.print-only .vector-body,
.print-only .content,
.print-only .list-container,
.print-only table {
  width: auto !important;
  max-width: 100% !important;
}
.print-only img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Default WITH 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: 0.5pt solid #292828 !important;
  background-clip: padding-box;
  padding: 3mm;
}
/* 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;
  padding: 0 !important;
}

/* Section rules: ONE consistent line under rows/bodies (no ::after tricks) */
.article-entry-number,
.link-pdf,
.article-type,
.article-metadata,
.article-images,
.article-description,
.article-reflection,
.article-external-reference,
.article-quote,
.article-mod-line {
  border-bottom: 0.5pt solid #292828 !important;
  padding-bottom: 6px !important;
}
/* Labels show no line (avoids doubles) */
.article-label-description,
.article-label-reflection,
.article-label-external-reference,
.article-label-quote,
.article-label-modification-date {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Don’t draw a line under the last item */
#article-content > :last-child {
  border-bottom: 0 !important;
}

/* Paragraph fragmentation to avoid big gaps */
.article-description p,
.article-reflection p,
.article-external-reference p,
.article-quote p {
  break-inside: auto !important;
  page-break-inside: auto !important;
  orphans: 2 !important;
  widows: 2 !important;
  margin: 0 0 1.2mm !important;
}
.article-description p:last-child,
.article-reflection p:last-child,
.article-external-reference p:last-child,
.article-quote p:last-child {
  margin-bottom: 0 !important;
}

/* Entry page: unblock pagination + hide UI */
html,
body,
#show-article-wrapper-entry,
#show-article,
#article-content,
#content,
.mw-body,
.vector-body,
#mw-content-text {
  display: block !important;
  overflow: visible !important;
  contain: none !important;
  max-height: none !important;
}
#article-content > * {
  break-inside: auto !important;
  page-break-inside: auto !important;
}
#print-chooser,
#print-options {
  display: none !important;
}

/* 22) Firefox: real thin borders (kept simple; still consistent with 0.5pt) */
@-moz-document url-prefix() {
  @media print {
    .article-entry-number,
    .link-pdf,
    .article-type,
    .article-metadata,
    .article-images,
    .article-description,
    .article-reflection,
    .article-external-reference,
    .article-quote,
    .article-mod-line {
      border-bottom: 0.5pt solid #292828 !important;
    }
    #article-content > :last-child {
      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; }