1 /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
3 /* =============================================================================
4 HTML5 display definitions
5 ========================================================================== */
8 * Corrects block display not defined in IE6/7/8/9 & FF3
26 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
32 display: inline-block;
38 * Prevents modern browsers from displaying 'audio' without controls
39 * Remove excess height in iOS5 devices
42 audio:not([controls]) {
48 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
49 * Known issue: no IE6 support
57 /* =============================================================================
59 ========================================================================== */
62 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
63 * http://clagnut.com/blog/348/#c790
64 * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
65 * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
69 font-size: 100%; /* 1 */
70 -webkit-text-size-adjust: 100%; /* 2 */
71 -ms-text-size-adjust: 100%; /* 2 */
75 * Addresses font-family inconsistency between 'textarea' and other form elements.
83 font-family: sans-serif;
87 * Addresses margins handled incorrectly in IE6/7
95 /* =============================================================================
97 ========================================================================== */
100 * Addresses outline displayed oddly in Chrome
104 outline: thin dotted;
108 * Improves readability when focused and also mouse hovered in all browsers
109 * people.opera.com/patrickl/experiments/keyboard/test
118 /* =============================================================================
120 ========================================================================== */
123 * Addresses font sizes and margins set differently in IE6/7
124 * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
158 * Addresses styling not present in IE7/8/9, S5, Chrome
162 border-bottom: 1px dotted;
166 * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
179 * Addresses styling not present in S5, Chrome
187 * Addresses styling not present in IE6/7/8/9
196 * Addresses margins set differently in IE6/7
205 * Corrects font family set oddly in IE6, S4/5, Chrome
206 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
213 font-family: monospace, serif;
214 _font-family: 'courier new', monospace;
219 * Improves readability of pre-formatted text in all browsers
224 white-space: pre-wrap;
225 word-wrap: break-word;
229 * 1. Addresses CSS quotes not supported in IE6/7
230 * 2. Addresses quote property not supported in S4
252 * Prevents sub and sup affecting line-height in all browsers
253 * gist.github.com/413930
261 vertical-align: baseline;
273 /* =============================================================================
275 ========================================================================== */
278 * Addresses margins set differently in IE6/7
293 * Addresses paddings set differently in IE6/7
303 * Corrects list images handled incorrectly in IE7
309 list-style-image: none;
313 /* =============================================================================
315 ========================================================================== */
318 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
319 * 2. Improves image quality when scaled in IE7
320 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
325 -ms-interpolation-mode: bicubic; /* 2 */
329 * Corrects overflow displayed oddly in IE9
337 /* =============================================================================
339 ========================================================================== */
342 * Addresses margin not present in IE6/7/8/9, S5, O11
350 /* =============================================================================
352 ========================================================================== */
355 * Corrects margin displayed oddly in IE6/7
363 * Define consistent border, margin, and padding
367 border: 1px solid #c0c0c0;
369 padding: 0.35em 0.625em 0.75em;
373 * 1. Corrects color not being inherited in IE6/7/8/9
374 * 2. Corrects text not wrapping in FF3
375 * 3. Corrects alignment displayed oddly in IE6/7
381 white-space: normal; /* 2 */
382 *margin-left: -7px; /* 3 */
386 * 1. Corrects font size not being inherited in all browsers
387 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
388 * 3. Improves appearance and consistency in all browsers
395 font-size: 100%; /* 1 */
397 vertical-align: baseline; /* 3 */
398 *vertical-align: middle; /* 3 */
402 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
407 line-height: normal; /* 1 */
411 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
412 * 2. Corrects inability to style clickable 'input' types in iOS
413 * 3. Removes inner spacing in IE7 without affecting normal text inputs
414 * Known issue: inner spacing remains in IE6
418 input[type="button"],
420 input[type="submit"] {
421 cursor: pointer; /* 1 */
422 -webkit-appearance: button; /* 2 */
423 *overflow: visible; /* 3 */
427 * Re-set default cursor for disabled elements
436 * 1. Addresses box sizing set to content-box in IE8/9
437 * 2. Removes excess padding in IE8/9
438 * 3. Removes excess padding in IE7
439 Known issue: excess padding remains in IE6
442 input[type="checkbox"],
443 input[type="radio"] {
444 box-sizing: border-box; /* 1 */
446 *height: 13px; /* 3 */
447 *width: 13px; /* 3 */
451 * 1. Addresses appearance set to searchfield in S5, Chrome
452 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
455 input[type="search"] {
456 -webkit-appearance: textfield; /* 1 */
457 -moz-box-sizing: content-box;
458 -webkit-box-sizing: content-box; /* 2 */
459 box-sizing: content-box;
463 * Removes inner padding and search cancel button in S5, Chrome on OS X
466 input[type="search"]::-webkit-search-decoration,
467 input[type="search"]::-webkit-search-cancel-button {
468 -webkit-appearance: none;
472 * Removes inner padding and border in FF3+
473 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
476 button::-moz-focus-inner,
477 input::-moz-focus-inner {
483 * 1. Removes default vertical scrollbar in IE6/7/8/9
484 * 2. Improves readability and alignment in all browsers
488 overflow: auto; /* 1 */
489 vertical-align: top; /* 2 */
493 /* =============================================================================
495 ========================================================================== */
498 * Remove most spacing between table cells
502 border-collapse: collapse;