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