1 /*! normalize.css v3.0.0 | MIT License | git.io/normalize */
4 // 1. Set default font family to sans-serif.
5 // 2. Prevent iOS text size adjust after orientation change, without disabling
10 font-family: sans-serif; // 1
11 -ms-text-size-adjust: 100%; // 2
12 -webkit-text-size-adjust: 100%; // 2
16 // Remove default margin.
23 // HTML5 display definitions
24 // ==========================================================================
27 // Correct `block` display not defined in IE 8/9.
46 // 1. Correct `inline-block` display not defined in IE 8/9.
47 // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
54 display: inline-block; // 1
55 vertical-align: baseline; // 2
59 // Prevent modern browsers from displaying `audio` without controls.
60 // Remove excess height in iOS 5 devices.
63 audio:not([controls]) {
69 // Address `[hidden]` styling not present in IE 8/9.
70 // Hide the `template` element in IE, Safari, and Firefox < 22.
79 // ==========================================================================
82 // Remove the gray background color from active links in IE 10.
86 background: transparent;
90 // Improve readability when focused and also mouse hovered in all browsers.
98 // Text-level semantics
99 // ==========================================================================
102 // Address styling not present in IE 8/9, Safari 5, and Chrome.
106 border-bottom: 1px dotted;
110 // Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
119 // Address styling not present in Safari 5 and Chrome.
127 // Address variable `h1` font-size and margin within `section` and `article`
128 // contexts in Firefox 4+, Safari 5, and Chrome.
137 // Address styling not present in IE 8/9.
146 // Address inconsistent and variable font size in all browsers.
154 // Prevent `sub` and `sup` affecting `line-height` in all browsers.
162 vertical-align: baseline;
174 // ==========================================================================
177 // Remove border when inside `a` element in IE 8/9.
185 // Correct overflow displayed oddly in IE 9.
193 // ==========================================================================
196 // Address margin not present in IE 8/9 and Safari 5.
204 // Address differences between Firefox and other browsers.
208 -moz-box-sizing: content-box;
209 box-sizing: content-box;
214 // Contain overflow in all browsers.
222 // Address odd `em`-unit font size rendering in all browsers.
229 font-family: monospace, monospace;
234 // ==========================================================================
237 // Known limitation: by default, Chrome and Safari on OS X allow very limited
238 // styling of `select`, unless a `border` property is set.
242 // 1. Correct color not being inherited.
243 // Known issue: affects color of disabled elements.
244 // 2. Correct font properties not being inherited.
245 // 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
259 // Address `overflow` set to `hidden` in IE 8/9/10.
267 // Address inconsistent `text-transform` inheritance for `button` and `select`.
268 // All other form control elements do not inherit `text-transform` values.
269 // Correct `button` style inheritance in Firefox, IE 8+, and Opera
270 // Correct `select` style inheritance in Firefox.
275 text-transform: none;
279 // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
280 // and `video` controls.
281 // 2. Correct inability to style clickable `input` types in iOS.
282 // 3. Improve usability and consistency of cursor style between image-type
283 // `input` and others.
287 html input[type="button"], // 1
289 input[type="submit"] {
290 -webkit-appearance: button; // 2
291 cursor: pointer; // 3
295 // Re-set default cursor for disabled elements.
299 html input[disabled] {
304 // Remove inner padding and border in Firefox 4+.
307 button::-moz-focus-inner,
308 input::-moz-focus-inner {
314 // Address Firefox 4+ setting `line-height` on `input` using `!important` in
315 // the UA stylesheet.
323 // It's recommended that you don't attempt to style these elements.
324 // Firefox's implementation doesn't respect box-sizing, padding, or width.
326 // 1. Address box sizing set to `content-box` in IE 8/9/10.
327 // 2. Remove excess padding in IE 8/9/10.
330 input[type="checkbox"],
331 input[type="radio"] {
332 box-sizing: border-box; // 1
337 // Fix the cursor style for Chrome's increment/decrement buttons. For certain
338 // `font-size` values of the `input`, it causes the cursor style of the
339 // decrement button to change from `default` to `text`.
342 input[type="number"]::-webkit-inner-spin-button,
343 input[type="number"]::-webkit-outer-spin-button {
348 // 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
349 // 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
350 // (include `-moz` to future-proof).
353 input[type="search"] {
354 -webkit-appearance: textfield; // 1
355 -moz-box-sizing: content-box;
356 -webkit-box-sizing: content-box; // 2
357 box-sizing: content-box;
361 // Remove inner padding and search cancel button in Safari and Chrome on OS X.
362 // Safari (but not Chrome) clips the cancel button when the search input has
363 // padding (and `textfield` appearance).
366 input[type="search"]::-webkit-search-cancel-button,
367 input[type="search"]::-webkit-search-decoration {
368 -webkit-appearance: none;
372 // Define consistent border, margin, and padding.
376 border: 1px solid #c0c0c0;
378 padding: 0.35em 0.625em 0.75em;
382 // 1. Correct `color` not being inherited in IE 8/9.
383 // 2. Remove padding so people aren't caught out if they zero out fieldsets.
392 // Remove default vertical scrollbar in IE 8/9.
400 // Don't inherit the `font-weight` (applied by a rule above).
401 // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
409 // ==========================================================================
412 // Remove most spacing between table cells.
416 border-collapse: collapse;