MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 187: Line 187:
   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 202:
.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 216:
   line-height: 1.2;
   line-height: 1.2;
   font-style: italic;
   font-style: italic;
}
/* Mod line */
.article-mod-line{
  display: inline-flex;
  justify-content: flex-start !important;
  align-items: baseline;
  gap: 0;                        /* we’ll control spacing ourselves */
  white-space: nowrap;
  word-spacing: normal !important;
}
.article-mod-line > span{
  flex: 0 0 auto;                /* don't grow or shrink */
  margin: 0 !important;
  padding: 0 !important;
}
/* remove any legacy “+ span” spacing */
.article-mod-line > span + span{ margin-left: 0 !important; }
/* add a tiny space only before the LAST label */
.article-mod-line .article-label-modification-date:last-of-type{
  margin-left: 0.25ch;            /* ~quarter character space */
}
/* Keep your text styles */
.article-modification-date,
.article-label-modification-date{
  font-size: 11px;
  letter-spacing: 0.3px;
  color: grey;
}
}


Line 418: Line 387:
   }
   }
}
}
/* --- 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; }

Navigation menu