|
| 1 | +/** |
| 2 | + ** Print stylesheet for Resume |
| 3 | + ** Copyright 2008-2024 Adam J. Jolicoeur |
| 4 | + ** https://www.adamjolicoeur.com |
| 5 | +**/ |
| 6 | +@media print { |
| 7 | + body { |
| 8 | + font: 12pt "Times New Roman", Times, serif; |
| 9 | + line-height: 1.3; |
| 10 | + background: #fff !important; |
| 11 | + color: #000; |
| 12 | + } |
| 13 | + header, |
| 14 | + #header, |
| 15 | + footer, |
| 16 | + #footer, |
| 17 | + aside, |
| 18 | + nav, |
| 19 | + form, |
| 20 | + iframe, |
| 21 | + .menu, |
| 22 | + .hero, |
| 23 | + .adslot { |
| 24 | + display: none; |
| 25 | + } |
| 26 | + #navigation, |
| 27 | + #footer { |
| 28 | + display: none !important; |
| 29 | + } |
| 30 | + main, |
| 31 | + content { |
| 32 | + display: block !important; |
| 33 | + max-width: 8.5in !important; |
| 34 | + width: 100%; |
| 35 | + margin: 0; |
| 36 | + float: none; |
| 37 | + } |
| 38 | + section, |
| 39 | + .section-hero { |
| 40 | + padding: 0 !important; |
| 41 | + margin: 0 !important; |
| 42 | + margin-top: 16px !important; |
| 43 | + } |
| 44 | + .row { |
| 45 | + display: block !important; |
| 46 | + } |
| 47 | + .col-md-6 { |
| 48 | + width: 100% !important; |
| 49 | + } |
| 50 | + .mt-4, .mt-3, .mt-2 { |
| 51 | + margin-top: 2pt !important; |
| 52 | + } |
| 53 | + .mb-4, .mb-3, .mb-2 { |
| 54 | + margin-bottom: 2pt !important; |
| 55 | + } |
| 56 | + .my-4, .my-3, .my-2 { |
| 57 | + margin-top: 0 !important; |
| 58 | + margin-bottom: 0 !important; |
| 59 | + } |
| 60 | + .py-4, .py-3, .py-2 { |
| 61 | + padding-top: 0 !important; |
| 62 | + padding-bottom: 0 !important; |
| 63 | + } |
| 64 | + .pb-4, .pb-3, .pb-2 { |
| 65 | + padding-bottom: 2pt !important; |
| 66 | + } |
| 67 | + * { |
| 68 | + background-image: none !important; |
| 69 | + } |
| 70 | + img, |
| 71 | + svg { |
| 72 | + display: none !important; |
| 73 | + } |
| 74 | + table, |
| 75 | + img, |
| 76 | + svg { |
| 77 | + break-inside: avoid; |
| 78 | + } |
| 79 | + .text-bg-light { |
| 80 | + background-color: transparent !important; |
| 81 | + } |
| 82 | + .row-badges { |
| 83 | + display: none !important; |
| 84 | + } |
| 85 | + .hide-on-print { |
| 86 | + display: none !important; |
| 87 | + } |
| 88 | + .print { |
| 89 | + display: block !important; |
| 90 | + } |
| 91 | + h1, |
| 92 | + .h1, |
| 93 | + .text-h1 { |
| 94 | + font-size: 22pt; |
| 95 | + break-before: always; |
| 96 | + text-shadow: none; |
| 97 | + font-family: "Times New Roman", Times, serif; |
| 98 | + } |
| 99 | + h2, |
| 100 | + .h2, |
| 101 | + .text-h2 { |
| 102 | + font-size: 19pt; |
| 103 | + margin-top: 16px; |
| 104 | + margin-bottom: 8px; |
| 105 | + font-family: "Times New Roman", Times, serif !important; |
| 106 | + } |
| 107 | + h2::after, |
| 108 | + .h2::after, |
| 109 | + .text-h2::after { |
| 110 | + display: none; |
| 111 | + } |
| 112 | + h3, |
| 113 | + .h3, |
| 114 | + .text-h3 { |
| 115 | + font-size: 17pt; |
| 116 | + margin-top: 16px; |
| 117 | + margin-bottom: 8px; |
| 118 | + font-family: "Times New Roman", Times, serif !important; |
| 119 | + } |
| 120 | + h4, |
| 121 | + .h4, |
| 122 | + .text-h4 { |
| 123 | + font-size: 14pt; |
| 124 | + margin-top: 16px; |
| 125 | + margin-bottom: 8px; |
| 126 | + font-family: "Times New Roman", Times, serif !important; |
| 127 | + } |
| 128 | + h5, |
| 129 | + .h5, |
| 130 | + .text-h5 { |
| 131 | + font-size: 12pt; |
| 132 | + margin-top: 16px; |
| 133 | + margin-bottom: 8px; |
| 134 | + font-family: "Times New Roman", Times, serif !important; |
| 135 | + } |
| 136 | + p, |
| 137 | + .paragraph { |
| 138 | + font-size: 12pt; |
| 139 | + margin-bottom: 8px; |
| 140 | + font-family: "Times New Roman", Times, serif !important; |
| 141 | + } |
| 142 | + /* Defining all page breaks */ |
| 143 | + blockquote { |
| 144 | + page-break-inside: avoid; |
| 145 | + } |
| 146 | + h1, |
| 147 | + h2, |
| 148 | + h3, |
| 149 | + h4, |
| 150 | + h5, |
| 151 | + h6 { |
| 152 | + page-break-after: avoid; |
| 153 | + page-break-inside: avoid; |
| 154 | + } |
| 155 | + img { |
| 156 | + page-break-inside: avoid; |
| 157 | + page-break-after: avoid; |
| 158 | + } |
| 159 | + table, |
| 160 | + pre { |
| 161 | + page-break-inside: avoid; |
| 162 | + } |
| 163 | + ul, |
| 164 | + ol, |
| 165 | + dl { |
| 166 | + page-break-before: avoid; |
| 167 | + } |
| 168 | + /* Displaying link color and link behavior */ |
| 169 | + a { |
| 170 | + page-break-inside: avoid; |
| 171 | + } |
| 172 | + a, |
| 173 | + a:link, |
| 174 | + a:visited { |
| 175 | + background: transparent; |
| 176 | + color: #520; |
| 177 | + font-weight: bold; |
| 178 | + text-decoration: underline; |
| 179 | + text-align: left; |
| 180 | + } |
| 181 | + .badge { |
| 182 | + border-color: #000 !important; |
| 183 | + color: #000 !important; |
| 184 | + background: transparent !important; |
| 185 | + } |
| 186 | + .card { |
| 187 | + background: transparent !important; |
| 188 | + border-color: transparent !important; |
| 189 | + padding: 0 !important; |
| 190 | + box-shadow: none !important; |
| 191 | + transition: none !important; |
| 192 | + transform: none !important; |
| 193 | + } |
| 194 | +} |
0 commit comments