Difference between revisions of "MediaWiki:Print.css"

From Species-ID
Jump to: navigation, search
(things not to print)
 
m (simplify Template:Gallery print out)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   .noprint { display:none; }
 
   .noprint { display:none; }
 
   .jkeyControls { display:none; }
 
   .jkeyControls { display:none; }
 +
span.mw-collapsible-toggle {display:none}
 +
 +
.mw-translate-page-info ~hr,
 +
  .mw-translate-page-info {display:none;}
 +
 +
/* Template:Gallery */
 +
.custom-gallery-caption div {
 +
  overflow-y: auto!important;
 +
}
 +
table.custom-gallery-picture {
 +
  background-color: #fff!important;
 +
}
 +
table.custom-gallery
 +
, table.custom-gallery-picture
 +
, td.custom-gallery-caption
 +
, td.custom-gallery-caption div
 +
{
 +
  height: auto!important;
 +
}
 +
.custom-gallery-image {
 +
  border-left: 1px solid transparent!important;
 +
  border-right: 1px solid transparent!important;
 +
  border-top: 1px solid transparent!important;
 +
}
 +
table.custom-gallery-picture tr ~ tr {
 +
  border-left: 1px solid transparent!important;
 +
  border-right: 1px solid transparent!important;
 +
  border-bottom: 1px solid transparent!important;
 +
}
 +
 +
/* table of contents */
 +
#toc {
 +
  background-color: #fff;
 +
  border-left:0px none;
 +
  border-right:0px none;
 +
  border-top-color: black;
 +
  border-top-width: 2px;
 +
  border-bottom-color: black;
 +
  border-bottom-width: 2px;
 +
}
 +
/* TOC à la LaTeX */
 +
#toc ul {
 +
list-style-type: none;
 +
padding-left: 1.0em;
 +
}
 +
#toc .tocnumber{
 +
  display: inline-block;
 +
  min-width:1.5em;
 +
}
 +
#toc .toclevel-1 {
 +
  font-weight:bold;
 +
}
 +
#toc .toclevel-2,#toc .toclevel-3,#toc .toclevel-4,#toc .toclevel-5,#toc .toclevel-6 {
 +
  font-weight:normal;
 +
}
 +
p {
 +
  margin: 0.75ex 0px;
 +
  font-family:'Linux Libertine', 'Linux Libertine O', serif;
 +
}
 +
div { font-family:'Linux Libertine', 'Linux Libertine O', serif; }

Latest revision as of 17:34, 14 March 2016

/* CSS placed here will affect the print output */
/* don't print */
  .editbtn {  display:none;}
  .noprint { display:none; }
  .jkeyControls { display:none; }
span.mw-collapsible-toggle {display:none}

.mw-translate-page-info ~hr, 
  .mw-translate-page-info {display:none;}

/* Template:Gallery */
.custom-gallery-caption div {
  overflow-y: auto!important;
}
table.custom-gallery-picture {
  background-color: #fff!important;
}
table.custom-gallery
, table.custom-gallery-picture
, td.custom-gallery-caption
, td.custom-gallery-caption div 
{
  height: auto!important;
}
.custom-gallery-image {
  border-left: 1px solid transparent!important;
  border-right: 1px solid transparent!important;
  border-top: 1px solid transparent!important;
}
table.custom-gallery-picture tr ~ tr {
  border-left: 1px solid transparent!important;
  border-right: 1px solid transparent!important;
  border-bottom: 1px solid transparent!important;
}

/* table of contents */
#toc {
  background-color: #fff;
  border-left:0px none;
  border-right:0px none;
  border-top-color: black;
  border-top-width: 2px;
  border-bottom-color: black;
  border-bottom-width: 2px;
}
/* TOC à la LaTeX */
#toc ul { 
 list-style-type: none;
 padding-left: 1.0em;
}
#toc .tocnumber{
  display: inline-block;
  min-width:1.5em;
}
#toc .toclevel-1 {
  font-weight:bold;
}
#toc .toclevel-2,#toc .toclevel-3,#toc .toclevel-4,#toc .toclevel-5,#toc .toclevel-6 {
  font-weight:normal;
}
p {
  margin: 0.75ex 0px;
  font-family:'Linux Libertine', 'Linux Libertine O', serif;
}
div { font-family:'Linux Libertine', 'Linux Libertine O', serif; }