1
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
3
// ==========================================================================
4
// HTML5 display definitions
5
// ==========================================================================
8
// Correct `block` display not defined in IE 8/9.
27
// Correct `inline-block` display not defined in IE 8/9.
33
display: inline-block;
37
// Prevent modern browsers from displaying `audio` without controls.
38
// Remove excess height in iOS 5 devices.
41
audio:not([controls]) {
47
// Address styling not present in IE 8/9.
54
// ==========================================================================
56
// ==========================================================================
59
// 1. Set default font family to sans-serif.
60
// 2. Prevent iOS text size adjust after orientation change, without disabling
65
font-family: sans-serif; // 1
66
-webkit-text-size-adjust: 100%; // 2
67
-ms-text-size-adjust: 100%; // 2
71
// Remove default margin.
78
// ==========================================================================
80
// ==========================================================================
83
// Address `outline` inconsistency between Chrome and other browsers.
91
// Improve readability when focused and also mouse hovered in all browsers.
99
// ==========================================================================
101
// ==========================================================================
104
// Address variable `h1` font-size and margin within `section` and `article`
105
// contexts in Firefox 4+, Safari 5, and Chrome.
114
// Address styling not present in IE 8/9, Safari 5, and Chrome.
118
border-bottom: 1px dotted;
122
// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
131
// Address styling not present in Safari 5 and Chrome.
139
// Address differences between Firefox and other browsers.
143
-moz-box-sizing: content-box;
144
box-sizing: content-box;
149
// Address styling not present in IE 8/9.
158
// Correct font family set oddly in Safari 5 and Chrome.
165
font-family: monospace, serif;
170
// Improve readability of pre-formatted text in all browsers.
174
white-space: pre-wrap;
178
// Set consistent quote types.
182
quotes: "\201C" "\201D" "\2018" "\2019";
186
// Address inconsistent and variable font size in all browsers.
194
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
202
vertical-align: baseline;
213
// ==========================================================================
215
// ==========================================================================
218
// Remove border when inside `a` element in IE 8/9.
226
// Correct overflow displayed oddly in IE 9.
233
// ==========================================================================
235
// ==========================================================================
238
// Address margin not present in IE 8/9 and Safari 5.
245
// ==========================================================================
247
// ==========================================================================
250
// Define consistent border, margin, and padding.
254
border: 1px solid #c0c0c0;
256
padding: 0.35em 0.625em 0.75em;
260
// 1. Correct `color` not being inherited in IE 8/9.
261
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
270
// 1. Correct font family not being inherited in all browsers.
271
// 2. Correct font size not being inherited in all browsers.
272
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
279
font-family: inherit; // 1
280
font-size: 100%; // 2
285
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
286
// the UA stylesheet.
295
// Address inconsistent `text-transform` inheritance for `button` and `select`.
296
// All other form control elements do not inherit `text-transform` values.
297
// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
298
// Correct `select` style inheritance in Firefox 4+ and Opera.
303
text-transform: none;
307
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
308
// and `video` controls.
309
// 2. Correct inability to style clickable `input` types in iOS.
310
// 3. Improve usability and consistency of cursor style between image-type
311
// `input` and others.
315
html input[type="button"], // 1
317
input[type="submit"] {
318
-webkit-appearance: button; // 2
319
cursor: pointer; // 3
323
// Re-set default cursor for disabled elements.
327
html input[disabled] {
332
// 1. Address box sizing set to `content-box` in IE 8/9.
333
// 2. Remove excess padding in IE 8/9.
336
input[type="checkbox"],
337
input[type="radio"] {
338
box-sizing: border-box; // 1
343
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
344
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
345
// (include `-moz` to future-proof).
348
input[type="search"] {
349
-webkit-appearance: textfield; // 1
350
-moz-box-sizing: content-box;
351
-webkit-box-sizing: content-box; // 2
352
box-sizing: content-box;
356
// Remove inner padding and search cancel button in Safari 5 and Chrome
360
input[type="search"]::-webkit-search-cancel-button,
361
input[type="search"]::-webkit-search-decoration {
362
-webkit-appearance: none;
366
// Remove inner padding and border in Firefox 4+.
369
button::-moz-focus-inner,
370
input::-moz-focus-inner {
376
// 1. Remove default vertical scrollbar in IE 8/9.
377
// 2. Improve readability and alignment in all browsers.
382
vertical-align: top; // 2
385
// ==========================================================================
387
// ==========================================================================
390
// Remove most spacing between table cells.
394
border-collapse: collapse;