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
97 // -------------------------
99 // Font size in all browsers, margin changes, misc consistency
106 vertical-align: middle;
110 *overflow: visible; // Inner spacing ie IE6/7
111 line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
113 button::-moz-focus-inner,
114 input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
119 html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
121 input[type="submit"] {
122 -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
123 cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
128 input[type="button"],
130 input[type="submit"],
132 input[type="checkbox"] {
133 cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
135 input[type="search"] { // Appearance in Safari/Chrome
136 .box-sizing(content-box);
137 -webkit-appearance: textfield;
139 input[type="search"]::-webkit-search-decoration,
140 input[type="search"]::-webkit-search-cancel-button {
141 -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
144 overflow: auto; // Remove vertical scrollbar in IE6-9
145 vertical-align: top; // Readability and alignment cross-browser
150 // -------------------------
151 // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
156 text-shadow: none !important;
157 color: #000 !important; // Black prints faster: h5bp.com/s
158 background: transparent !important;
159 box-shadow: none !important;
164 text-decoration: underline;
168 content: " (" attr(href) ")";
172 content: " (" attr(title) ")";
175 // Don't show links for images, or javascript/internal links
177 a[href^="javascript:"]:after,
184 border: 1px solid #999;
185 page-break-inside: avoid;
189 display: table-header-group; // h5bp.com/t
194 page-break-inside: avoid;
198 max-width: 100% !important;
214 page-break-after: avoid;