/*********************************************************/ /* Normalize.css v2.0.1 | MIT License | git.io/normalize */ /*********************************************************/ /* Corrects `block` display not defined in IE 8/9. */ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; } /* Prevents iOS text size adjust after orientation change, without disabling user zoom. */ html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } /* Removes default margin. */ body { margin: 0; } /* Remove text-shadow in selection highlight: h5bp.com/i */ ::-moz-selection { background-color: hsla(0,0%,0%,.5); color: #fff; text-shadow: none; } ::selection { background-color: hsla(0,0%,0%,.5); color: #fff; text-shadow: none; } /* Addresses `outline` inconsistency between Chrome and other browsers. */ a:focus { outline: thin dotted; } /* Improves readability when focused and also mouse hovered in all browsers. */ a:active, a:hover { outline: 0; } /* Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */ strong { font-weight: bold; } /* Addresses styling not present in IE 8/9. */ mark { background: #ff6; color: #444; } /* Corrects font family set oddly in Safari 5 and Chrome. */ code, pre { font-family: monospace, serif; font-size: 1em; } /* Improves readability of pre-formatted text in all browsers. */ pre { white-space: pre; } /* Removes border when inside `a` element in IE 8/9. */ img { border: 0; max-width: 100%; vertical-align: top; } /* Addresses margin not present in IE 8/9 and Safari 5. */ figure { margin: 0; } /* 1. Corrects font family not being inherited in all browsers. * 2. Corrects font size not being inherited in all browsers. * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome. */ button, input, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 2 */ margin: 0; /* 3 */ } /* Addresses Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */ button, input { line-height: normal; } /* 1. Avoid the WebKit bug in Android 4.0.* where (3) destroys native `audio` and `video` controls. * 2. Improves usability and consistency of cursor style between image-type `input` and others. * 3. Corrects inability to style clickable `input` types in iOS. */ button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] { cursor: pointer; /* 2 */ -webkit-appearance: button; /* 3 */ } /* 1. Addresses box sizing set to `content-box` in IE 8/9. * 2. Removes excess padding in IE 8/9. */ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /* Removes inner padding and border in Firefox 4+. */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /* 1. Removes default vertical scrollbar in IE 8/9. * 2. Improves readability and alignment in all browsers. */ textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ } /* Remove most spacing between table cells. */ table { border-collapse: collapse; border-spacing: 0; } /**********************/ /* Default Typography */ /**********************/ html { color: #444; font-family: sans-serif; font-size: 100%; } h1, h2, h3, h4, h5, h6 { font-weight: bold; margin: 0; } h1 { font-size: 3em; /* 48 */ line-height: 1; /* 48 / 48 */ margin-bottom: .5em; /* 24 / 48 */ } h2 { font-size: 2.25em; /* 36 */ line-height: 1.333333333; /* 48 / 36 */ margin-bottom: 0.666666666em; /* 24 / 36 */ } h3 { font-size: 1.5em; /* 24 */ line-height: 1; /* 24 / 24 */ margin-bottom: 1em; /* 24 / 24 */ } h4 { font-size: 1.3125em; /* 21 */ line-height: 1.142857142; /* 24 / 21 */ margin-bottom: 1.142857142em; /* 24 / 21 */ } h5 { font-size: 1.125em; /* 18 */ line-height: 1.333333333; /* 24 / 18 */ margin-bottom: 1.333333333em; /* 24 / 18 */ } h6 { font-size: 1em; /* 16 */ line-height: 1.5; /* 24 / 16 */ margin-bottom: 1.5em; /* 24 / 16 */ } p, blockquote { font-size: 1em; /* 16 */ margin: 0 0 1.5em; /* 24 / 16 */ line-height: 1.5; /* 24 / 16 */ -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } p a:link, p a:visited { border-bottom: 2px solid #6af; color: #444; padding-bottom: 1px; text-decoration: none; -webkit-transition: .25s; -moz-transition: .25s; -ms-transition: .25s; -o-transition: .25s; transition: .25s; } p a:hover, p a:focus { color: #6af; } p a:active { position: relative; top: 1px; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; } dl, ol, ul { font-size: 1em; /* 16 */ margin: 0 0 1.5em; /* 24 / 16 */ padding: 0; } dd, dt, li { line-height: 1.5; /* 24 / 16 */ margin: 0; }