Difference between revisions of "MediaWiki:Print.css"

From LNF Wiki
Jump to navigation Jump to search
 
Line 45: Line 45:
 
   text-decoration:none;
 
   text-decoration:none;
 
   vertical-align:baseline;
 
   vertical-align:baseline;
 
+
  margin-top:0;
 
}
 
}
  

Latest revision as of 18:29, 25 March 2021

/* CSS placed here will affect the print output */
/*@media print {
    @page {
        size: letter portrait;
       
    }
}*/

body{
  margin:0 !important;
  margin:auto !important;
  background:#CCC !important;
}

#content{
  width:8.5in !important;
  margin:auto !important;
  padding:0.5in !important;
}

#toc { 
  display: none;
}

#jump-to-nav {
  display:none;
}

#contentSub {
  display:none;
}

#siteSub{
  display:none;
}

#firstHeading {
  font-size:24pt;
  font-family:Helvetica;
  color:#4f81bd;
  background-color:transparent;
  font-weight:700;
  font-style:normal;
  font-variant:normal;
  text-decoration:none;
  vertical-align:baseline;
  margin-top:0;
}

p {
  font-size: 12 pt;
  font-family: Calibri;
  text-align: justify;
  margin-top:2px !important;
}


h2, h3, h4 {
  font-size:18pt;
  font-family:Helvetica;
  color:#4f81bd;
  background-color:transparent;
  font-weight:500;
  font-style:normal;
  font-variant:normal;
  text-decoration:none;
  vertical-align:baseline;

}

h2 { margin-bottom: 5px; font-weight:500; padding-top:15px !important;}
h3 { margin-bottom: 5px; font-size:15pt; font-weight:400; color:5d9bd8; }
h4 { margin-bottom: 5px; font-size:12pt; font-weight:400; color:5d9bd8; font-style:italic;}

table.wikitable {
  margin:auto;
}

iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


li {
color: rgb(37, 37, 37);
list-style-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANAQMAAABb8jbLAAAABlBMVEX///8AUow5QSOjAAAAAXRSTlMAQObYZgAAABNJREFUCB1jYEABBQw/wLCAgQEAGpIDyT0IVcsAAAAASUVORK5CYII=);

}

div.gallerytext {
  font-size: 12 pt;
  font-family: Calibri;
  font-weight:bold;
  text-align:right;
  width:100%;
}


div.thumbcaption{
  font-size: 12 pt;
  font-family: Calibri;
  font-weight:bold;
  text-align:center;

}

.gallery {
  text-align:center;
}

.gallerytext p {
  text-align:center;
}

/* Do not print:
   1: When in mainspace: Article message boxes,
      navboxes, sister project boxes, disambig links,
      and items marked as metadata.
   2: section edit links.
   3: navbar links.
   4: Show/hide toggles for collapsible items.
*/
.ns-0 .ambox,
.ns-0 .navbox,
.ns-0 .vertical-navbox,
.ns-0 .infobox.sisterproject,
.ns-0 .hatnote,
.ns-0 .dablink,
.ns-0 .metadata,
.editlink,
.navbar,
a.NavToggle, span.collapseButton, span.mw-collapsible-toggle, 
th .sortkey, td .sortkey {
  display:none;
}

table.infobox th{
  font-family:Cambria;
  color:#4f81bd;
  font-weight:700;
  font-style:normal;
  text-decoration:none;
}

table.infobox td{
  font-size: 12 pt;
  font-family: Calibri;
  text-align: justify;
}

table.wikitable tbody{
   border-collapse: separate;
   border:none;
}

table.wikitable {
  border-collapse: separate;
  border-spacing:0;
  border: 1px solid #CCC;
  border-radius: 5px;
   border:none;
   border-collapse: collapse;


}

table.wikitable th{
  border: none !important;
  border-bottom: 2px solid black !important;

  font-family:Cambria;
  color:#4f81bd;
  background: #EEE !important;
  font-weight:700;
  font-style:normal;
  text-decoration:none;
  text-align:center;
}

table.wikitable td{
  border: none !important;
  border-bottom: 1px solid black !important;

  font-size: 12 pt;
  font-family: Calibri;
  text-align: justify;
  text-align:center;
}


table.wikitable td:last-child {
    border-bottom-left-radius:10px;
}

/* Uncollapse collapsible tables/divs.
   The proper way to do this for tables is to use display:table-row,
   but this is not supported by all browsers, so use display:block as fallback.
*/
table.collapsible tr, div.NavPic, div.NavContent {
    display: block !important;
}
table.collapsible tr {
    display: table-row !important;
}

#mw-normal-catlinks{ display:none; }
div.printfooter { display:none;}
#footer {display:none; }
#jquery-foot-hovzer {display:none;}