/* * Add display for HTML5 elements * Fixes styling not present in IE6/7/8/9 FF3 */ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } /* * Vertical align for display inline block elements * Improves visual appearance in all browsers */ audio[controls], button, canvas, img, input, select, textarea, video { display: inline-block; *display: inline; vertical-align: baseline; *zoom: 1; } /* * 1. * Make normal cursor the default for element * Improves visual focus of page during mouse movement in all browsers * 2. * Add vertical scrollbar to element * Improves page center consistency regardless of content height in all browsers * 3. * Remove text size adjust tap color for element * Fixes tap color displayed oddly in iOS */ html { cursor: default; /* 1 */ overflow-y: scroll; /* 2 */ -webkit-tap-highlight-color: transparent; /* 3 */ } /* * Remove margin and hide overflow from
element */ body { margin: 0; } /* * 1. * Make outline thin dotted for * Fixes outline displayed oddly in C10 * 2. * Remove outline for element when active or hovered * Improves readability when focused and also mouse hovered in all browsers */ /* 1 */ a:focus { outline: thin dotted; } /* 2 */ a:active, a:hover { outline: none; } /* * Make display based on controls for