MediaWiki:Print.css: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 38: Line 38:
   a[href]:after {
   a[href]:after {
     content: none !important;
     content: none !important;
  }
  p {
  line-height: inherit;
   }
   }
/*  .container .rpgtable td, .container .rpgtable th {
/*  .container .rpgtable td, .container .rpgtable th {
Line 48: Line 51:
   }
   }


  .container {
    height: 1285px;
  }
   .rootpage-Cheat_Sheet_Print .firstHeading,
   .rootpage-Cheat_Sheet_Print .firstHeading,
   .rootpage-Cheat_Sheet .firstHeading {
   .rootpage-Cheat_Sheet .firstHeading,
  .firstHeading
{
   display:none;
   display:none;
  }
  }

Latest revision as of 23:02, 25 October 2024

/************/
/* PRINTING */
/************/
@media print
{    
  body, .mw-page-container {
    background: none;
  }
  mw-body, .mw-content-container {
    background: none;
    border: none;
  }
  .mw-header, .mw-panel-toc {
    height:0px;
    display:none;
  }
  .mw-category-generated {
    display:none;
  }
  a {
    text-decoration:none !important;
    border-bottom: none !important;
    color: #000 !important;
  }
  a:visited {
    color: #000 !important;
	text-decoration: none !important;
  }
  a.new {
    text-decoration:none !important;
    border-bottom: none !important;
    color: #000 !important;
  }
  a.new:visited {
    color: #000 !important;
	text-decoration: none !important;
  }
  a[href]:after {
    content: none !important;
  }
  p {
   line-height: inherit;
  }
/*  .container .rpgtable td, .container .rpgtable th {
	font-size:90%;
  }
*/
  .container.cheatsheet .rpgtable td, 
  .container.cheatsheet .rpgtable th {
	font-size:90%;
  }

  .container {
     height: 1285px;
  }
  .rootpage-Cheat_Sheet_Print .firstHeading,
  .rootpage-Cheat_Sheet .firstHeading, 
  .firstHeading
 {
  display:none;
 }

.hiddenheader {
  font-size:150%; 
  font-weight:bold; 
  margin-bottom: 10px;
  font-family: var(--font-family__header--campaign,var(--font-family__header)) !important;
  display:block !important;
}


span.circle {
    border: 1px solid #000000;
}

.rpgtable {
    color: #000000;
  }  
/*  .rpgtable td, .rpgtable th  {
    height: 28px;
  }*/
  .arksheet .arkimage .image {
    height: 289px;
  }
  .rpgtable {
    outline: 1px solid #000;
  }

  /* smaller fixes for print zoom level */

  .printfooter { 
    display: none; 
  }

  /* hide table of contents from prints*/
  .toc { 
    display: none; 
  }

  /* black dice */
  .rot .rpgtable.dice tr:nth-child(2) td:nth-child(3), 
  .rot .rpgtable.dice tr:nth-child(2) td:nth-child(7), 
  .rot .rpgtable.dice tr:nth-child(3) td:nth-child(2), 
  .rot .rpgtable.dice tr:nth-child(3) td:nth-child(5) {
    background-color: #000;
  }
  .weapons .rpgtable td:nth-child(4) {
    background-color: #000;
  }
  .weapons .rpgtable td.empty {
    background-color: transparent;
  }
}