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