1 /*! normalize.css v1.1.3 | MIT License | git.io/normalize */
3 /* ==========================================================================
4 HTML5 display definitions
5 ========================================================================== */
8 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
27 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
33 display: inline-block;
39 * Prevent modern browsers from displaying `audio` without controls.
40 * Remove excess height in iOS 5 devices.
43 audio:not([controls]) {
49 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
50 * Known issue: no IE 6 support.
57 /* ==========================================================================
59 ========================================================================== */
62 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
64 * 2. Prevent iOS text size adjust after orientation change, without disabling
69 font-size: 100%; /* 1 */
70 -ms-text-size-adjust: 100%; /* 2 */
71 -webkit-text-size-adjust: 100%; /* 2 */
75 * Address `font-family` inconsistency between `textarea` and other form
84 font-family: sans-serif;
88 * Address margins handled incorrectly in IE 6/7.
95 /* ==========================================================================
97 ========================================================================== */
100 * Address `outline` inconsistency between Chrome and other browsers.
104 outline: thin dotted;
108 * Improve readability when focused and also mouse hovered in all browsers.
116 /* ==========================================================================
118 ========================================================================== */
121 * Address font sizes and margins set differently in IE 6/7.
122 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
157 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
161 border-bottom: 1px dotted;
165 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
178 * Address styling not present in Safari 5 and Chrome.
186 * Address differences between Firefox and other browsers.
187 * Known issue: no IE 6/7 normalization.
191 -moz-box-sizing: content-box;
192 box-sizing: content-box;
197 * Address styling not present in IE 6/7/8/9.
206 * Address margins set differently in IE 6/7.
215 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
222 font-family: monospace, serif;
223 _font-family: 'courier new', monospace;
228 * Improve readability of pre-formatted text in all browsers.
233 white-space: pre-wrap;
234 word-wrap: break-word;
238 * Address CSS quotes not supported in IE 6/7.
246 * Address `quotes` property not supported in Safari 4.
256 * Address inconsistent and variable font size in all browsers.
264 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
272 vertical-align: baseline;
283 /* ==========================================================================
285 ========================================================================== */
288 * Address margins set differently in IE 6/7.
303 * Address paddings set differently in IE 6/7.
313 * Correct list images handled incorrectly in IE 7.
319 list-style-image: none;
322 /* ==========================================================================
324 ========================================================================== */
327 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
328 * 2. Improve image quality when scaled in IE 7.
333 -ms-interpolation-mode: bicubic; /* 2 */
337 * Correct overflow displayed oddly in IE 9.
344 /* ==========================================================================
346 ========================================================================== */
349 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
356 /* ==========================================================================
358 ========================================================================== */
361 * Correct margin displayed oddly in IE 6/7.
369 * Define consistent border, margin, and padding.
373 border: 1px solid #c0c0c0;
375 padding: 0.35em 0.625em 0.75em;
379 * 1. Correct color not being inherited in IE 6/7/8/9.
380 * 2. Correct text not wrapping in Firefox 3.
381 * 3. Correct alignment displayed oddly in IE 6/7.
387 white-space: normal; /* 2 */
388 *margin-left: -7px; /* 3 */
392 * 1. Correct font size not being inherited in all browsers.
393 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
395 * 3. Improve appearance and consistency in all browsers.
402 font-size: 100%; /* 1 */
404 vertical-align: baseline; /* 3 */
405 *vertical-align: middle; /* 3 */
409 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
419 * Address inconsistent `text-transform` inheritance for `button` and `select`.
420 * All other form control elements do not inherit `text-transform` values.
421 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
422 * Correct `select` style inheritance in Firefox 4+ and Opera.
427 text-transform: none;
431 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
432 * and `video` controls.
433 * 2. Correct inability to style clickable `input` types in iOS.
434 * 3. Improve usability and consistency of cursor style between image-type
435 * `input` and others.
436 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
437 * Known issue: inner spacing remains in IE 6.
441 html input[type="button"], /* 1 */
443 input[type="submit"] {
444 -webkit-appearance: button; /* 2 */
445 cursor: pointer; /* 3 */
446 *overflow: visible; /* 4 */
450 * Re-set default cursor for disabled elements.
454 html input[disabled] {
459 * 1. Address box sizing set to content-box in IE 8/9.
460 * 2. Remove excess padding in IE 8/9.
461 * 3. Remove excess padding in IE 7.
462 * Known issue: excess padding remains in IE 6.
465 input[type="checkbox"],
466 input[type="radio"] {
467 box-sizing: border-box; /* 1 */
469 *height: 13px; /* 3 */
470 *width: 13px; /* 3 */
474 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
475 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
476 * (include `-moz` to future-proof).
479 input[type="search"] {
480 -webkit-appearance: textfield; /* 1 */
481 -moz-box-sizing: content-box;
482 -webkit-box-sizing: content-box; /* 2 */
483 box-sizing: content-box;
487 * Remove inner padding and search cancel button in Safari 5 and Chrome
491 input[type="search"]::-webkit-search-cancel-button,
492 input[type="search"]::-webkit-search-decoration {
493 -webkit-appearance: none;
497 * Remove inner padding and border in Firefox 3+.
500 button::-moz-focus-inner,
501 input::-moz-focus-inner {
507 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
508 * 2. Improve readability and alignment in all browsers.
512 overflow: auto; /* 1 */
513 vertical-align: top; /* 2 */
516 /* ==========================================================================
518 ========================================================================== */
521 * Remove most spacing between table cells.
525 border-collapse: collapse;