3 // Adapted from http://github.com/necolas/normalize.css
4 // --------------------------------------------------
7 // Display in IE6-9 and FF3
8 // -------------------------
23 // Display block in IE6-9 and FF3
24 // -------------------------
29 display: inline-block;
34 // Prevents modern browsers from displaying 'audio' without controls
35 // -------------------------
37 audio:not([controls]) {
42 // -------------------------
46 -webkit-text-size-adjust: 100%;
47 -ms-text-size-adjust: 100%;
59 // Prevents sub and sup affecting line-height in all browsers
60 // -------------------------
67 vertical-align: baseline;
76 // Img border in a's and image quality
77 // -------------------------
80 /* Responsive images (ensure images don't scale beyond their parents) */
81 max-width: 100%; /* Part 1: Set a maxium relative to the parent */
82 width: auto\9; /* IE7-8 need help adjusting responsive images */
83 height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
85 vertical-align: middle;
87 -ms-interpolation-mode: bicubic;
90 // Prevent max-width from affecting Google Maps
96 // -------------------------
98 // Font size in all browsers, margin changes, misc consistency
105 vertical-align: middle;
109 *overflow: visible; // Inner spacing ie IE6/7
110 line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
112 button::-moz-focus-inner,
113 input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
118 input[type="button"],
120 input[type="submit"] {
121 cursor: pointer; // Cursors on all buttons applied consistently
122 -webkit-appearance: button; // Style clickable inputs in iOS
124 input[type="search"] { // Appearance in Safari/Chrome
125 -webkit-box-sizing: content-box;
126 -moz-box-sizing: content-box;
127 box-sizing: content-box;
128 -webkit-appearance: textfield;
130 input[type="search"]::-webkit-search-decoration,
131 input[type="search"]::-webkit-search-cancel-button {
132 -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
135 overflow: auto; // Remove vertical scrollbar in IE6-9
136 vertical-align: top; // Readability and alignment cross-browser