MediaWiki:Print.css: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 40: Line 40:
   }
   }
   p {
   p {
   line-height: auto;
   line-height: inherit;
   }
   }
/*  .container .rpgtable td, .container .rpgtable th {
/*  .container .rpgtable td, .container .rpgtable th {

Revision as of 13:58, 22 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%;
  }

  .rootpage-Cheat_Sheet_Print .firstHeading,
  .rootpage-Cheat_Sheet .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;
  }
}