Difference between revisions of "MediaWiki:Print.css"

From 1MinuteSite Wiki
 
Line 2: Line 2:
 
<pre> */
 
<pre> */
  
 
/* Hiding some items when printing with Simple skin */
 
.skin-simple div#column-one,
 
.skin-simple div#f-poweredbyico,
 
.skin-simple div#f-copyrightico,
 
.skin-simple .editsection {
 
    display: none;
 
}
 
 
/* wikitable class for skinning normal tables */
 
table.wikitable {
 
    margin: 1em 1em 1em 0;
 
    border: 1px #aaa solid;
 
    border-collapse: collapse;
 
}
 
.wikitable th, .wikitable td {
 
    border: 1px #aaa solid;
 
    padding: 0.2em;
 
}
 
.wikitable th {
 
    text-align: center;
 
    background: #F2F2F2;
 
    font-weight: bold;
 
}
 
.wikitable caption {
 
    font-weight: bold;
 
}
 
 
/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
 
 
#firstHeading {
 
#firstHeading {
 
     margin: 0px;
 
     margin: 0px;
 
}
 
}
 
   
 
   
/* Remove once r76522 is live */
 
.wikitable, .thumb, img {
 
page-break-inside: avoid;
 
}
 
 
h2, h3, h4, h5, h6, h7 {
 
h2, h3, h4, h5, h6, h7 {
 
page-break-after: avoid;
 
page-break-after: avoid;

Latest revision as of 15:01, 10 February 2011

<p>/* CSS placed here will affect the print output */ /*</p>
<pre> */

#firstHeading {
    margin: 0px;
}
 
h2, h3, h4, h5, h6, h7 {
	page-break-after: avoid;
}
p {
	widows: 3;
	orphans: 3;
}

#footer {
    display: none;
}

/* </pre>
<p>*/</p>