|
6 | 6 | if subject
|
7 | 7 | title= subject
|
8 | 8 | meta(name="viewport", content="width=device-width, initial-scale=1")
|
9 |
| - style(type='text/css')= normalize |
| 9 | + style(type='text/css'). |
| 10 | + /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ |
| 11 | + |
| 12 | + /* Document |
| 13 | + ========================================================================== */ |
| 14 | + |
| 15 | + /** |
| 16 | + * 1. Correct the line height in all browsers. |
| 17 | + * 2. Prevent adjustments of font size after orientation changes in iOS. |
| 18 | + */ |
| 19 | + |
| 20 | + html { |
| 21 | + line-height: 1.15; /* 1 */ |
| 22 | + -webkit-text-size-adjust: 100%; /* 2 */ |
| 23 | + } |
| 24 | + |
| 25 | + /* Sections |
| 26 | + ========================================================================== */ |
| 27 | + |
| 28 | + /** |
| 29 | + * Remove the margin in all browsers. |
| 30 | + */ |
| 31 | + |
| 32 | + body { |
| 33 | + margin: 0; |
| 34 | + } |
| 35 | + |
| 36 | + /** |
| 37 | + * Render the `main` element consistently in IE. |
| 38 | + */ |
| 39 | + |
| 40 | + main { |
| 41 | + display: block; |
| 42 | + } |
| 43 | + |
| 44 | + /** |
| 45 | + * Correct the font size and margin on `h1` elements within `section` and |
| 46 | + * `article` contexts in Chrome, Firefox, and Safari. |
| 47 | + */ |
| 48 | + |
| 49 | + h1 { |
| 50 | + font-size: 2em; |
| 51 | + margin: 0.67em 0; |
| 52 | + } |
| 53 | + |
| 54 | + /* Grouping content |
| 55 | + ========================================================================== */ |
| 56 | + |
| 57 | + /** |
| 58 | + * 1. Add the correct box sizing in Firefox. |
| 59 | + * 2. Show the overflow in Edge and IE. |
| 60 | + */ |
| 61 | + |
| 62 | + hr { |
| 63 | + box-sizing: content-box; /* 1 */ |
| 64 | + height: 0; /* 1 */ |
| 65 | + overflow: visible; /* 2 */ |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * 1. Correct the inheritance and scaling of font size in all browsers. |
| 70 | + * 2. Correct the odd `em` font sizing in all browsers. |
| 71 | + */ |
| 72 | + |
| 73 | + pre { |
| 74 | + font-family: monospace, monospace; /* 1 */ |
| 75 | + font-size: 1em; /* 2 */ |
| 76 | + } |
| 77 | + |
| 78 | + /* Text-level semantics |
| 79 | + ========================================================================== */ |
| 80 | + |
| 81 | + /** |
| 82 | + * Remove the gray background on active links in IE 10. |
| 83 | + */ |
| 84 | + |
| 85 | + a { |
| 86 | + background-color: transparent; |
| 87 | + } |
| 88 | + |
| 89 | + /** |
| 90 | + * 1. Remove the bottom border in Chrome 57- |
| 91 | + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
| 92 | + */ |
| 93 | + |
| 94 | + abbr[title] { |
| 95 | + border-bottom: none; /* 1 */ |
| 96 | + text-decoration: underline; /* 2 */ |
| 97 | + text-decoration: underline dotted; /* 2 */ |
| 98 | + } |
| 99 | + |
| 100 | + /** |
| 101 | + * Add the correct font weight in Chrome, Edge, and Safari. |
| 102 | + */ |
| 103 | + |
| 104 | + b, |
| 105 | + strong { |
| 106 | + font-weight: bolder; |
| 107 | + } |
| 108 | + |
| 109 | + /** |
| 110 | + * 1. Correct the inheritance and scaling of font size in all browsers. |
| 111 | + * 2. Correct the odd `em` font sizing in all browsers. |
| 112 | + */ |
| 113 | + |
| 114 | + code, |
| 115 | + kbd, |
| 116 | + samp { |
| 117 | + font-family: monospace, monospace; /* 1 */ |
| 118 | + font-size: 1em; /* 2 */ |
| 119 | + } |
| 120 | + |
| 121 | + /** |
| 122 | + * Add the correct font size in all browsers. |
| 123 | + */ |
| 124 | + |
| 125 | + small { |
| 126 | + font-size: 80%; |
| 127 | + } |
| 128 | + |
| 129 | + /** |
| 130 | + * Prevent `sub` and `sup` elements from affecting the line height in |
| 131 | + * all browsers. |
| 132 | + */ |
| 133 | + |
| 134 | + sub, |
| 135 | + sup { |
| 136 | + font-size: 75%; |
| 137 | + line-height: 0; |
| 138 | + position: relative; |
| 139 | + vertical-align: baseline; |
| 140 | + } |
| 141 | + |
| 142 | + sub { |
| 143 | + bottom: -0.25em; |
| 144 | + } |
| 145 | + |
| 146 | + sup { |
| 147 | + top: -0.5em; |
| 148 | + } |
| 149 | + |
| 150 | + /* Embedded content |
| 151 | + ========================================================================== */ |
| 152 | + |
| 153 | + /** |
| 154 | + * Remove the border on images inside links in IE 10. |
| 155 | + */ |
| 156 | + |
| 157 | + img { |
| 158 | + border-style: none; |
| 159 | + } |
| 160 | + |
| 161 | + /* Forms |
| 162 | + ========================================================================== */ |
| 163 | + |
| 164 | + /** |
| 165 | + * 1. Change the font styles in all browsers. |
| 166 | + * 2. Remove the margin in Firefox and Safari. |
| 167 | + */ |
| 168 | + |
| 169 | + button, |
| 170 | + input, |
| 171 | + optgroup, |
| 172 | + select, |
| 173 | + textarea { |
| 174 | + font-family: inherit; /* 1 */ |
| 175 | + font-size: 100%; /* 1 */ |
| 176 | + line-height: 1.15; /* 1 */ |
| 177 | + margin: 0; /* 2 */ |
| 178 | + } |
| 179 | + |
| 180 | + /** |
| 181 | + * Show the overflow in IE. |
| 182 | + * 1. Show the overflow in Edge. |
| 183 | + */ |
| 184 | + |
| 185 | + button, |
| 186 | + input { /* 1 */ |
| 187 | + overflow: visible; |
| 188 | + } |
| 189 | + |
| 190 | + /** |
| 191 | + * Remove the inheritance of text transform in Edge, Firefox, and IE. |
| 192 | + * 1. Remove the inheritance of text transform in Firefox. |
| 193 | + */ |
| 194 | + |
| 195 | + button, |
| 196 | + select { /* 1 */ |
| 197 | + text-transform: none; |
| 198 | + } |
| 199 | + |
| 200 | + /** |
| 201 | + * Correct the inability to style clickable types in iOS and Safari. |
| 202 | + */ |
| 203 | + |
| 204 | + button, |
| 205 | + [type="button"], |
| 206 | + [type="reset"], |
| 207 | + [type="submit"] { |
| 208 | + -webkit-appearance: button; |
| 209 | + } |
| 210 | + |
| 211 | + /** |
| 212 | + * Remove the inner border and padding in Firefox. |
| 213 | + */ |
| 214 | + |
| 215 | + button::-moz-focus-inner, |
| 216 | + [type="button"]::-moz-focus-inner, |
| 217 | + [type="reset"]::-moz-focus-inner, |
| 218 | + [type="submit"]::-moz-focus-inner { |
| 219 | + border-style: none; |
| 220 | + padding: 0; |
| 221 | + } |
| 222 | + |
| 223 | + /** |
| 224 | + * Restore the focus styles unset by the previous rule. |
| 225 | + */ |
| 226 | + |
| 227 | + button:-moz-focusring, |
| 228 | + [type="button"]:-moz-focusring, |
| 229 | + [type="reset"]:-moz-focusring, |
| 230 | + [type="submit"]:-moz-focusring { |
| 231 | + outline: 1px dotted ButtonText; |
| 232 | + } |
| 233 | + |
| 234 | + /** |
| 235 | + * Correct the padding in Firefox. |
| 236 | + */ |
| 237 | + |
| 238 | + fieldset { |
| 239 | + padding: 0.35em 0.75em 0.625em; |
| 240 | + } |
| 241 | + |
| 242 | + /** |
| 243 | + * 1. Correct the text wrapping in Edge and IE. |
| 244 | + * 2. Correct the color inheritance from `fieldset` elements in IE. |
| 245 | + * 3. Remove the padding so developers are not caught out when they zero out |
| 246 | + * `fieldset` elements in all browsers. |
| 247 | + */ |
| 248 | + |
| 249 | + legend { |
| 250 | + box-sizing: border-box; /* 1 */ |
| 251 | + color: inherit; /* 2 */ |
| 252 | + display: table; /* 1 */ |
| 253 | + max-width: 100%; /* 1 */ |
| 254 | + padding: 0; /* 3 */ |
| 255 | + white-space: normal; /* 1 */ |
| 256 | + } |
| 257 | + |
| 258 | + /** |
| 259 | + * Add the correct vertical alignment in Chrome, Firefox, and Opera. |
| 260 | + */ |
| 261 | + |
| 262 | + progress { |
| 263 | + vertical-align: baseline; |
| 264 | + } |
| 265 | + |
| 266 | + /** |
| 267 | + * Remove the default vertical scrollbar in IE 10+. |
| 268 | + */ |
| 269 | + |
| 270 | + textarea { |
| 271 | + overflow: auto; |
| 272 | + } |
| 273 | + |
| 274 | + /** |
| 275 | + * 1. Add the correct box sizing in IE 10. |
| 276 | + * 2. Remove the padding in IE 10. |
| 277 | + */ |
| 278 | + |
| 279 | + [type="checkbox"], |
| 280 | + [type="radio"] { |
| 281 | + box-sizing: border-box; /* 1 */ |
| 282 | + padding: 0; /* 2 */ |
| 283 | + } |
| 284 | + |
| 285 | + /** |
| 286 | + * Correct the cursor style of increment and decrement buttons in Chrome. |
| 287 | + */ |
| 288 | + |
| 289 | + [type="number"]::-webkit-inner-spin-button, |
| 290 | + [type="number"]::-webkit-outer-spin-button { |
| 291 | + height: auto; |
| 292 | + } |
| 293 | + |
| 294 | + /** |
| 295 | + * 1. Correct the odd appearance in Chrome and Safari. |
| 296 | + * 2. Correct the outline style in Safari. |
| 297 | + */ |
| 298 | + |
| 299 | + [type="search"] { |
| 300 | + -webkit-appearance: textfield; /* 1 */ |
| 301 | + outline-offset: -2px; /* 2 */ |
| 302 | + } |
| 303 | + |
| 304 | + /** |
| 305 | + * Remove the inner padding in Chrome and Safari on macOS. |
| 306 | + */ |
| 307 | + |
| 308 | + [type="search"]::-webkit-search-decoration { |
| 309 | + -webkit-appearance: none; |
| 310 | + } |
| 311 | + |
| 312 | + /** |
| 313 | + * 1. Correct the inability to style clickable types in iOS and Safari. |
| 314 | + * 2. Change font properties to `inherit` in Safari. |
| 315 | + */ |
| 316 | + |
| 317 | + ::-webkit-file-upload-button { |
| 318 | + -webkit-appearance: button; /* 1 */ |
| 319 | + font: inherit; /* 2 */ |
| 320 | + } |
| 321 | + |
| 322 | + /* Interactive |
| 323 | + ========================================================================== */ |
| 324 | + |
| 325 | + /* |
| 326 | + * Add the correct display in Edge, IE 10+, and Firefox. |
| 327 | + */ |
| 328 | + |
| 329 | + details { |
| 330 | + display: block; |
| 331 | + } |
| 332 | + |
| 333 | + /* |
| 334 | + * Add the correct display in all browsers. |
| 335 | + */ |
| 336 | + |
| 337 | + summary { |
| 338 | + display: list-item; |
| 339 | + } |
| 340 | + |
| 341 | + /* Misc |
| 342 | + ========================================================================== */ |
| 343 | + |
| 344 | + /** |
| 345 | + * Add the correct display in IE 10+. |
| 346 | + */ |
| 347 | + |
| 348 | + template { |
| 349 | + display: none; |
| 350 | + } |
| 351 | + |
| 352 | + /** |
| 353 | + * Add the correct display in IE 10. |
| 354 | + */ |
| 355 | + |
| 356 | + [hidden] { |
| 357 | + display: none; |
| 358 | + } |
10 | 359 | style(type='text/css').
|
11 | 360 | body {
|
12 | 361 | font-family: arial, sans-serif;
|
|
0 commit comments