MediaWiki:Print.css

From hormonobotanik

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect the print output */

:root{
    --pink: black;
    --brown: black;
    --orange: black;

    --green: white;
    --yellow: white;
    --postit-yellow: white;
    
    --border: 2pt dotted black;
    --fat-border: 2pt dotted black;
}

img{
  break-inside: avoid;
}
figure:not([typeof="mw:File/Frameless"]){
  border: 1pt dotted black !important;
  break-inside: avoid;
  width: fit-content !important;
  margin auto !important;
}
figcaption{
 color: black !important;
 text-align: center !important;
 font-size: 10pt !important;
 margin: 0.35rem 0 0 !important;
 padding: 0 !important;
}

.page-break{
 break-before: always !important;
}

.gallery{
  margin-left: auto;
  margin-right: auto;
  break-inside: avoid;
}
li.gallerybox div.thumb{
 background-color: black !important;
}
li.gallerybox div.thumb img{
  width: 6cm !important;
  height: auto !important;
}

dt{
  color: white;
}
dd{
  border: 2pt solid black;
}
dt + dd{
  border-bottom: 0;
}
dd + dd{
  border-bottom: 0;
  border-top: 0;
}
.vector-body a{
  text-decoration: 2pt underline !important;
  text-decoration-skip-ink: none !important;
  border-bottom: 0 !important;
}

.vector-body blockquote.big{
  outline-color: black !important;
  background-color: black !important;
  color: white !important;
}




h2{
   /*break-before: always;*/
}
.vector-body h3, .vector-body h4, .vector-body h5, .vector-body h6 {
	margin-top: 0.3em !important;
    margin-bottom: 0em !important;
}

html, body {
	font-family: sans-serif;
}

.vector-body,
p, ul, ol, li, blockquote, dd, dt{
	font-size: 10pt !important;
	line-height: 1.45 !important;
    text-align: left !important;
}

.mw-body h1{
    font-size: 48pt !important;
    border: 0 !important;
    font-family: 'gbjones' !important;
    margin: 0 !important;
}
.mw-body h1 span{
    padding-top: 0.05em !important;
    display: block;
}
.mw-body h2{
    font-size: 20pt !important;
}

.vector-header-container{
   display: none;
}

.mw-body-header.vector-page-titlebar{
   border: 0 !important;
}

.vector-page-toolbar, .patrollink, .printfooter, .catlinks, .vector-settings, .mw-footer-container{
   display: none;
}

.mw-body, .mw-body-header, .mw-body h1{
   padding: 0 !important;
   margin: 0 !important; 
}


.mw-parser-output a:not(.mw-file-description)::after{
   content: '( ' attr(href) ' )';
   margin-left: 1em;
   font-size: 8pt;
   margin-top: 2pt;
   font-family: monospace;
   word-break: break-word;
   white-space: break-spaces;
}
.mw-parser-output a:not(.mw-file-description, .external)::after{
   content: '( hormonobotanik.wiki' attr(href) ' )';
}
a{
   word-break: break-word;
}
.no-print{
   display: none;
}