Sha256: 7f4af8fe04b663b7716c3de8f6178495a609c13211f38d389293f2a8f75064eb
Contents?: true
Size: 1.72 KB
Versions: 6
Compression:
Stored size: 1.72 KB
Contents
/* This fixes the zero print margin issue without adding extra */ @page { size: auto; margin: 0; } @media print and (color) { * { /* Prevent browsers from discarding the majority of color info */ -webkit-print-color-adjust: exact; -moz-print-color-adjust: exact; print-color-adjust: exact; } body, html, main, #main { background-image: none; /* Safari */ background-color: white; border: none; box-shadow: none; padding: 0; margin: 0; } .paper { margin: 0; max-width: none; padding: 0; background-color: white; border: none; box-shadow: none; font-size: 12pt; } /* General tweaks */ html { font-size: 80%; margin: 0.25in; min-height: 0; } a { text-decoration: none; } .field { page-break-inside: avoid; } hr { display: none; } table th, table td { padding: 3px; } /* Stuff to hide */ /* NOTE: "display: none" breaks unrelated table printing in Chrome */ nav, footer, .button, .no_print, input[type=submit], #notice, #alert { position: absolute; visibility: hidden; } /* Hide Tablesorter sorting indicators */ table.tablesorter thead th { background-image: none; padding-left: 3px; } /* contents of "table_hover" cells should appear in printouts. */ table tr td.table_hover{ color: black !important; } /* The plain panel divs clutter up the page in print. */ /* Remove their style. Note we add it back to modifier panels below. */ .panel { border-width: 0; padding: 0; } /* Add back the panel padding when there is a modifier class as well. */ .panel.okay, .panel.highlight, .panel.warn, .panel.alert, .panel.gray { border-width: 1px; padding: 20px; } }
Version data entries
6 entries across 6 versions & 1 rubygems