MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 217: Line 217:
   font-style: italic;
   font-style: italic;
}
}
/* Mod line */
/* Mod line — force one tight line, no indent */
.article-mod-line {
  display: inline;                    /* don’t be a full-width block */
  white-space: nowrap !important;      /* never wrap */
  text-indent: 0 !important;          /* kill inherited indent */
  font-size: 0 !important;            /* remove inter-node whitespace width */
  letter-spacing: 0 !important;        /* container adds no spacing */
  line-height: 1.05;
  color: grey;
  margin: 5px 0 0 0 !important;
  padding: 0 !important;
}
/* restore typography per piece */
.article-mod-line span,
.article-mod-line .article-label-modification-date,
.article-mod-line .article-modification-date {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 10px !important;
  letter-spacing: 0.3px !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* date slightly stronger and with tiny spacing */
.article-mod-line .article-modification-date {
  font-size: 11px !important;
  margin: 0 .25ch !important;  /* small gap around date */
}
/* if you have a legacy rule adding left margins between spans, neutralize it */
.article-mod-line > span + span { margin-left: 0 !important; }


/* Resets */
/* Resets */
Line 422: 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: 0 !important;
  /* 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