MediaWiki:Print.css: Difference between revisions

From Mutant Year Zero
mNo edit summary
mNo edit summary
Tag: Reverted
Line 41: Line 41:
   .container .rpgtable td, .container .rpgtable th {
   .container .rpgtable td, .container .rpgtable th {
font-size:90%;
font-size:90%;
  }
  .container .rpgtable td {
    vertical-align: top;
   }
   }



Revision as of 13:44, 4 March 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;
  }
  .container .rpgtable td, .container .rpgtable th {
	font-size:90%;
  }

  .container .rpgtable td {
    vertical-align: top;
  }

  .container.cheatsheet .rpgtable td, 
  .container.cheatsheet .rpgtable th {
	font-size:80%;
  }

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

span.circle.black {
   background-color:#000000;
   /* don't color circles for print*/
   background-color:#fff;
   color:#000;
}
  .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;
  }
}