MediaWiki:Print.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(20 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 {
  white-space: nowrap;
  color: grey;
  line-height: 1.05;
  font-size: 10px;
  letter-spacing: 0.3px;
  margin: 5px 0 0 0 !important;
  padding-top: 0 !important;
}
.article-mod-line > span {
  display: inline;
  margin: 0;
  padding: 0;
}
.article-mod-line > span + span {
  margin-left: 4px;
}
.article-modification-date {
  font-size: 11px;
  letter-spacing: 0.3px;
}
}


Line 405: Line 381:
     #article-content > :last-child {
     #article-content > :last-child {
       border-bottom: 0 !important;
       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; }

Navigation menu