MediaWiki:Print.css: Difference between revisions

From The Wild Beyond the Witchlight
(Created page with "→‎**********: →‎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-d...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 39: Line 39:
     content: none !important;
     content: none !important;
   }
   }
   .container .rpgtable td, .container .rpgtable th {
   p {
  line-height: inherit;
  }
/*  .container .rpgtable td, .container .rpgtable th {
font-size:90%;
font-size:90%;
   }
   }
 
*/
   .container.cheatsheet .rpgtable td,  
   .container.cheatsheet .rpgtable td,  
   .container.cheatsheet .rpgtable th {
   .container.cheatsheet .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;
  }
  }
Line 66: Line 74:
}
}


span.circle.black {
.rpgtable {
  background-color:#000000;
  /* don't color circles for print*/
  background-color:#fff;
  color:#000;
}
  .rpgtable {
     color: #000000;
     color: #000000;
   }   
   }   
  .rpgtable td, .rpgtable th  {
/*  .rpgtable td, .rpgtable th  {
     height: 28px;
     height: 28px;
   }
   }*/
   .arksheet .arkimage .image {
   .arksheet .arkimage .image {
     height: 289px;
     height: 289px;
Line 86: Line 88:


   /* smaller fixes for print zoom level */
   /* smaller fixes for print zoom level */


   .printfooter {  
   .printfooter {  

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;
  }
}