MediaWiki:Print.css: Difference between revisions

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


/* Mod line */
/* Mod line */
/* Mod line — keep everything on one snug line */
/* Mod line — force one tight line, no indent */
.article-mod-line > span + span { margin-left: 0 !important; }
 
.article-mod-line {
.article-mod-line {
   display: block;                 /* normal block, not flex */
   display: inline;                     /* don’t be a full-width block */
   white-space: nowrap !important; /* never wrap */
   white-space: nowrap !important;     /* never wrap */
   font-size: 0 !important;       /* kill inter-span whitespace gaps */
   text-indent: 0 !important;           /* kill inherited indent */
   letter-spacing: 0 !important;   /* container adds no spacing */
   font-size: 0 !important;             /* remove inter-node whitespace width */
   text-indent: 0 !important;     /* no first-line indent */
   letter-spacing: 0 !important;       /* container adds no spacing */
   line-height: 1.05;
   line-height: 1.05;
   color: grey;
   color: grey;
Line 235: Line 233:


/* restore typography per piece */
/* restore typography per piece */
.article-mod-line span {
.article-mod-line span,
   display: inline;               /* exact inline flow */
.article-mod-line .article-label-modification-date,
   font-size: 10px !important;     /* bring back size */
.article-mod-line .article-modification-date {
   letter-spacing: 0.3px;
   display: inline !important;
  white-space: nowrap;
  white-space: nowrap !important;
   font-size: 10px !important;
   letter-spacing: 0.3px !important;
   margin: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   padding: 0 !important;
}
}


/* tiny controlled space around the date only */
/* date slightly stronger and with tiny spacing */
.article-modification-date {
.article-mod-line .article-modification-date {
   font-size: 11px !important;
   font-size: 11px !important;
  letter-spacing: 0.3px;
   margin: 0 .25ch !important;   /* small gap around date */
  color: grey;
   margin: 0 .25ch !important;     /* small gap on both sides */
}
}
/* if you have a legacy rule adding left margins between spans, neutralize it */
.article-mod-line > span + span { margin-left: 0 !important; }


/* Resets */
/* Resets */

Navigation menu