| 1 | /*! normalize.css v3.0.mwfork.3 | MIT License | git.io/normalize */ |
| 2 | |
| 3 | /** |
| 4 | * Prevent iOS text size adjust after orientation change, without disabling |
| 5 | * user zoom. |
| 6 | */ |
| 7 | |
| 8 | html { |
| 9 | -ms-text-size-adjust: 100%; |
| 10 | -webkit-text-size-adjust: 100%; |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * Remove default margin. |
| 15 | */ |
| 16 | |
| 17 | body { |
| 18 | margin: 0; |
| 19 | } |
| 20 | |
| 21 | /* HTML5 display definitions |
| 22 | ========================================================================== */ |
| 23 | |
| 24 | /** |
| 25 | * Correct 'block' display not defined in IE 8/9. |
| 26 | */ |
| 27 | |
| 28 | article, |
| 29 | aside, |
| 30 | details, |
| 31 | figcaption, |
| 32 | figure, |
| 33 | footer, |
| 34 | header, |
| 35 | hgroup, |
| 36 | main, |
| 37 | nav, |
| 38 | section, |
| 39 | summary { |
| 40 | display: block; |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * 1. Correct 'inline-block' display not defined in IE 8/9. |
| 45 | * 2. Normalize vertical alignment of 'progress' in Chrome, Firefox, and Opera. |
| 46 | */ |
| 47 | |
| 48 | audio, |
| 49 | canvas, |
| 50 | progress, |
| 51 | video { |
| 52 | display: inline-block; /* 1 */ |
| 53 | vertical-align: baseline; /* 2 */ |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Prevent modern browsers from displaying 'audio' without controls. |
| 58 | * Remove excess height in iOS 5 devices. |
| 59 | */ |
| 60 | |
| 61 | audio:not([controls]) { |
| 62 | display: none; |
| 63 | height: 0; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Address '[hidden]' styling not present in IE 8/9. |
| 68 | * Hide the 'template' element in IE, Safari, and Firefox < 22. |
| 69 | */ |
| 70 | |
| 71 | [hidden], |
| 72 | template { |
| 73 | display: none; |
| 74 | } |
| 75 | |
| 76 | /* Links |
| 77 | ========================================================================== */ |
| 78 | |
| 79 | /** |
| 80 | * Remove the gray background color from active links in IE 10. |
| 81 | */ |
| 82 | |
| 83 | a { |
| 84 | background: transparent; |
| 85 | } |
| 86 | |
| 87 | /* Text-level semantics |
| 88 | ========================================================================== */ |
| 89 | |
| 90 | /** |
| 91 | * Address styling not present in IE 8/9, Safari 5, and Chrome. |
| 92 | */ |
| 93 | |
| 94 | abbr[title] { |
| 95 | border-bottom: 1px dotted; |
| 96 | } |
| 97 | |
| 98 | @supports (text-decoration: underline dotted) { |
| 99 | abbr[title] { |
| 100 | border-bottom: none; |
| 101 | text-decoration: underline dotted; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Address style set to 'bolder' in Firefox 4+, Safari 5, and Chrome. |
| 107 | */ |
| 108 | |
| 109 | b, |
| 110 | strong { |
| 111 | font-weight: bold; |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Address styling not present in Safari 5 and Chrome. |
| 116 | */ |
| 117 | |
| 118 | dfn { |
| 119 | font-style: italic; |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * Address variable 'h1' font-size and margin within 'section' and 'article' |
| 124 | * contexts in Firefox 4+, Safari 5, and Chrome. |
| 125 | */ |
| 126 | |
| 127 | h1 { |
| 128 | font-size: 2em; |
| 129 | margin: 0.67em 0; |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Address styling not present in IE 8/9. |
| 134 | */ |
| 135 | |
| 136 | mark { |
| 137 | background: #ff0; |
| 138 | color: #000; |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Address inconsistent and variable font size in all browsers. |
| 143 | */ |
| 144 | |
| 145 | small { |
| 146 | font-size: 80%; |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Prevent 'sub' and 'sup' affecting 'line-height' in all browsers. |
| 151 | */ |
| 152 | |
| 153 | sub, |
| 154 | sup { |
| 155 | font-size: 75%; |
| 156 | line-height: 0; |
| 157 | position: relative; |
| 158 | vertical-align: baseline; |
| 159 | } |
| 160 | |
| 161 | sup { |
| 162 | top: -0.5em; |
| 163 | } |
| 164 | |
| 165 | sub { |
| 166 | bottom: -0.25em; |
| 167 | } |
| 168 | |
| 169 | /* Embedded content |
| 170 | ========================================================================== */ |
| 171 | |
| 172 | /** |
| 173 | * Remove border when inside 'a' element in IE 8/9. |
| 174 | */ |
| 175 | |
| 176 | img { |
| 177 | border: 0; |
| 178 | vertical-align: middle; |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * Correct overflow displayed oddly in IE 9. |
| 183 | */ |
| 184 | |
| 185 | svg:not(:root) { |
| 186 | overflow: hidden; |
| 187 | } |
| 188 | |
| 189 | /* Grouping content |
| 190 | ========================================================================== */ |
| 191 | |
| 192 | /** |
| 193 | * Address margin not present in IE 8/9 and Safari 5. |
| 194 | */ |
| 195 | |
| 196 | figure { |
| 197 | margin: 1em 40px; |
| 198 | } |
| 199 | |
| 200 | /** |
| 201 | * Address differences between Firefox and other browsers. |
| 202 | */ |
| 203 | |
| 204 | hr { |
| 205 | box-sizing: content-box; |
| 206 | height: 0; |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * Address odd 'em'-unit font size rendering in all browsers. |
| 211 | * Added tt per https://phabricator.wikimedia.org/T175709 |
| 212 | */ |
| 213 | |
| 214 | code, |
| 215 | tt, |
| 216 | kbd, |
| 217 | pre, |
| 218 | samp { |
| 219 | font-family: monospace, monospace; |
| 220 | font-size: 1em; |
| 221 | } |
| 222 | |
| 223 | /* Forms |
| 224 | ========================================================================== */ |
| 225 | |
| 226 | /** |
| 227 | * Known limitation: by default, Chrome and Safari on OS X allow very limited |
| 228 | * styling of 'select', unless a 'border' property is set. |
| 229 | */ |
| 230 | |
| 231 | /** |
| 232 | * 1. Inherit most font properties to avoid cross-browser weirdness |
| 233 | * 2. Address margins set differently in Firefox 4+, Safari 5, and Chrome. |
| 234 | */ |
| 235 | |
| 236 | button, |
| 237 | input, |
| 238 | optgroup, |
| 239 | select, |
| 240 | textarea { |
| 241 | font-style: inherit; |
| 242 | font-variant: inherit; |
| 243 | font-weight: inherit; |
| 244 | font-stretch: inherit; |
| 245 | font-size: inherit; |
| 246 | line-height: inherit; /* 1 */ |
| 247 | margin: 0; /* 2 */ |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * Address 'overflow' set to 'hidden' in IE 8/9/10. |
| 252 | */ |
| 253 | |
| 254 | button { |
| 255 | overflow: visible; |
| 256 | } |
| 257 | |
| 258 | /** |
| 259 | * Address inconsistent 'text-transform' inheritance for 'button' and 'select'. |
| 260 | * All other form control elements do not inherit 'text-transform' values. |
| 261 | * Correct 'button' style inheritance in Firefox, IE 8+, and Opera |
| 262 | * Correct 'select' style inheritance in Firefox. |
| 263 | */ |
| 264 | |
| 265 | button, |
| 266 | select { |
| 267 | text-transform: none; |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native 'audio' |
| 272 | * and 'video' controls. |
| 273 | * 2. Correct inability to style clickable 'input' types in iOS. |
| 274 | * 3. Improve usability and consistency of cursor style between image-type |
| 275 | * 'input' and others. |
| 276 | */ |
| 277 | |
| 278 | button, |
| 279 | html input[type="button"], /* 1 */ |
| 280 | input[type="reset"], |
| 281 | input[type="submit"] { |
| 282 | -webkit-appearance: button; /* 2 */ |
| 283 | cursor: pointer; /* 3 */ |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * Re-set default cursor for disabled elements. |
| 288 | */ |
| 289 | |
| 290 | button[disabled], |
| 291 | html input[disabled] { |
| 292 | cursor: default; |
| 293 | } |
| 294 | |
| 295 | /** |
| 296 | * Remove inner padding and border in Firefox 4+. |
| 297 | */ |
| 298 | |
| 299 | button::-moz-focus-inner, |
| 300 | input::-moz-focus-inner { |
| 301 | border: 0; |
| 302 | padding: 0; |
| 303 | } |
| 304 | |
| 305 | /** |
| 306 | * Address Firefox 4+ setting 'line-height' on 'input' using '!important' in |
| 307 | * the UA stylesheet. |
| 308 | */ |
| 309 | |
| 310 | input { |
| 311 | line-height: normal; |
| 312 | } |
| 313 | |
| 314 | /** |
| 315 | * It's recommended that you don't attempt to style these elements. |
| 316 | * Firefox's implementation doesn't respect box-sizing, padding, or width. |
| 317 | * |
| 318 | * 1. Address box sizing set to 'content-box' in IE 8/9/10. |
| 319 | * 2. Remove excess padding in IE 8/9/10. |
| 320 | */ |
| 321 | |
| 322 | input[type="checkbox"], |
| 323 | input[type="radio"] { |
| 324 | box-sizing: border-box; /* 1 */ |
| 325 | padding: 0; /* 2 */ |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain |
| 330 | * 'font-size' values of the 'input', it causes the cursor style of the |
| 331 | * decrement button to change from 'default' to 'text'. |
| 332 | */ |
| 333 | |
| 334 | input[type="number"]::-webkit-inner-spin-button, |
| 335 | input[type="number"]::-webkit-outer-spin-button { |
| 336 | height: auto; |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * 1. Address 'appearance' set to 'searchfield' in Safari 5 and Chrome. |
| 341 | * 2. Address 'box-sizing' set to 'border-box' in Safari 5 and Chrome |
| 342 | * (include '-moz' to future-proof). |
| 343 | */ |
| 344 | |
| 345 | input[type="search"] { |
| 346 | -webkit-appearance: textfield; /* 1 */ |
| 347 | box-sizing: content-box; |
| 348 | } |
| 349 | |
| 350 | /** |
| 351 | * Remove inner padding and search cancel button in Safari and Chrome on OS X. |
| 352 | * Safari (but not Chrome) clips the cancel button when the search input has |
| 353 | * padding (and 'textfield' appearance). |
| 354 | */ |
| 355 | |
| 356 | input[type="search"]::-webkit-search-cancel-button, |
| 357 | input[type="search"]::-webkit-search-decoration { |
| 358 | -webkit-appearance: none; |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * Define consistent border, margin, and padding. |
| 363 | */ |
| 364 | |
| 365 | fieldset { |
| 366 | border: 1px solid #c0c0c0; |
| 367 | margin: 0 2px; |
| 368 | padding: 0.35em 0.625em 0.75em; |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * 1. Correct 'color' not being inherited in IE 6/7/8/9. |
| 373 | * 2. Remove padding so people aren't caught out if they zero out fieldsets. |
| 374 | */ |
| 375 | |
| 376 | legend { |
| 377 | border: 0; /* 1 */ |
| 378 | padding: 0; /* 2 */ |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Remove default vertical scrollbar in IE 8/9. |
| 383 | */ |
| 384 | |
| 385 | textarea { |
| 386 | overflow: auto; |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * Don't inherit the 'font-weight' (applied by a rule above). |
| 391 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. |
| 392 | */ |
| 393 | |
| 394 | optgroup { |
| 395 | font-weight: bold; |
| 396 | } |