MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 220: Line 220:


/* Mod line */
/* Mod line */
.article-mod-line > span + span { margin-left: 0 !important; }
/* one tight, unbreakable line */
.article-mod-line{
.article-mod-line{
   display: inline-flex;
   display: block;            /* keeps your row/border layout happy */
   justify-content: flex-start !important;
  white-space: nowrap;       /* never wrap */
   align-items: baseline;
   font-size: 0;              /* <- collapses ALL inter-element gaps */
   gap: 0;                         /* we’ll control spacing ourselves */
  letter-spacing: 0;        /* no extra spacing from container */
  color: grey;
  line-height: 1.05;
  margin: 5px 0 0 0 !important;
   padding: 0 !important;
}
 
/* restore typography per piece */
.article-mod-line span{
  display: inline-block;     /* precise control */
   font-size: 10px;           /* restore text size */
  letter-spacing: 0.3px;
   white-space: nowrap;
   white-space: nowrap;
  word-spacing: normal !important;
}
.article-mod-line > span{
  flex: 0 0 auto;                /* don't grow or shrink */
   margin: 0 !important;
   margin: 0 !important;
   padding: 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 */
/* tiny *controlled* gap only around the date */
.article-modification-date,
.article-modification-date{
.article-label-modification-date{
   font-size: 11px;
   font-size: 11px;
   letter-spacing: 0.3px;
   letter-spacing: 0.3px;
   color: grey;
   color: grey;
  margin: 0 .25ch !important;  /* ~quarter character on both sides */
}
}


Navigation menu