| 1 |
/*! normalize.css v2.1.1 | MIT License | git.io/normalize |
| 2 |
|
| 3 |
/* ========================================================================== |
| 4 |
* HTML5 display definitions |
| 5 |
* ========================================================================== |
| 6 |
|
| 7 |
/** |
| 8 |
* Correct `block` display not defined in IE 8/9. |
| 9 |
|
| 10 |
article, |
| 11 |
aside, |
| 12 |
details, |
| 13 |
figcaption, |
| 14 |
figure, |
| 15 |
footer, |
| 16 |
header, |
| 17 |
hgroup, |
| 18 |
main, |
| 19 |
nav, |
| 20 |
section, |
| 21 |
summary |
| 22 |
display: block |
| 23 |
|
| 24 |
/** |
| 25 |
* Correct `inline-block` display not defined in IE 8/9. |
| 26 |
|
| 27 |
audio, |
| 28 |
canvas, |
| 29 |
video |
| 30 |
display: inline-block |
| 31 |
|
| 32 |
/** |
| 33 |
* Prevent modern browsers from displaying `audio` without controls. |
| 34 |
* Remove excess height in iOS 5 devices. |
| 35 |
|
| 36 |
audio:not([controls]) |
| 37 |
display: none |
| 38 |
height: 0 |
| 39 |
|
| 40 |
/** |
| 41 |
* Address styling not present in IE 8/9. |
| 42 |
|
| 43 |
[hidden] |
| 44 |
display: none |
| 45 |
|
| 46 |
/* ========================================================================== |
| 47 |
* Base |
| 48 |
* ========================================================================== |
| 49 |
|
| 50 |
/** |
| 51 |
* 1. Prevent system color scheme's background color being used in Firefox, IE, |
| 52 |
* and Opera. |
| 53 |
* 2. Prevent system color scheme's text color being used in Firefox, IE, and |
| 54 |
* Opera. |
| 55 |
* 3. Set default font family to sans-serif. |
| 56 |
* 4. Prevent iOS text size adjust after orientation change, without disabling |
| 57 |
* user zoom. |
| 58 |
|
| 59 |
html |
| 60 |
background: #fff |
| 61 |
/* 1 |
| 62 |
color: #000 |
| 63 |
/* 2 |
| 64 |
font-family: sans-serif |
| 65 |
/* 3 |
| 66 |
-ms-text-size-adjust: 100% |
| 67 |
/* 4 |
| 68 |
-webkit-text-size-adjust: 100% |
| 69 |
/* 4 |
| 70 |
|
| 71 |
/** |
| 72 |
* Remove default margin. |
| 73 |
|
| 74 |
body |
| 75 |
margin: 0 |
| 76 |
|
| 77 |
/* ========================================================================== |
| 78 |
* Links |
| 79 |
* ========================================================================== |
| 80 |
|
| 81 |
/** |
| 82 |
* Address `outline` inconsistency between Chrome and other browsers. |
| 83 |
|
| 84 |
a:focus |
| 85 |
outline: thin dotted |
| 86 |
|
| 87 |
/** |
| 88 |
* Improve readability when focused and also mouse hovered in all browsers. |
| 89 |
|
| 90 |
a:active, |
| 91 |
a:hover |
| 92 |
outline: 0 |
| 93 |
|
| 94 |
/* ========================================================================== |
| 95 |
* Typography |
| 96 |
* ========================================================================== |
| 97 |
|
| 98 |
/** |
| 99 |
* Address variable `h1` font-size and margin within `section` and `article` |
| 100 |
* contexts in Firefox 4+, Safari 5, and Chrome. |
| 101 |
|
| 102 |
h1 |
| 103 |
font-size: 2em |
| 104 |
margin: 0.67em 0 |
| 105 |
|
| 106 |
/** |
| 107 |
* Address styling not present in IE 8/9, Safari 5, and Chrome. |
| 108 |
|
| 109 |
abbr[title] |
| 110 |
border-bottom: 1px dotted |
| 111 |
|
| 112 |
/** |
| 113 |
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. |
| 114 |
|
| 115 |
b, |
| 116 |
strong |
| 117 |
font-weight: bold |
| 118 |
|
| 119 |
/** |
| 120 |
* Address styling not present in Safari 5 and Chrome. |
| 121 |
|
| 122 |
dfn |
| 123 |
font-style: italic |
| 124 |
|
| 125 |
/** |
| 126 |
* Address differences between Firefox and other browsers. |
| 127 |
|
| 128 |
hr |
| 129 |
-moz-box-sizing: content-box |
| 130 |
box-sizing: content-box |
| 131 |
height: 0 |
| 132 |
|
| 133 |
/** |
| 134 |
* Address styling not present in IE 8/9. |
| 135 |
|
| 136 |
mark |
| 137 |
background: #ff0 |
| 138 |
color: #000 |
| 139 |
|
| 140 |
/** |
| 141 |
* Correct font family set oddly in Safari 5 and Chrome. |
| 142 |
|
| 143 |
code, |
| 144 |
kbd, |
| 145 |
pre, |
| 146 |
samp |
| 147 |
font-family: monospace, serif |
| 148 |
font-size: 1em |
| 149 |
|
| 150 |
/** |
| 151 |
* Improve readability of pre-formatted text in all browsers. |
| 152 |
|
| 153 |
pre |
| 154 |
white-space: pre-wrap |
| 155 |
|
| 156 |
/** |
| 157 |
* Set consistent quote types. |
| 158 |
|
| 159 |
q |
| 160 |
quotes: "\201C" "\201D" "\2018" "\2019" |
| 161 |
|
| 162 |
/** |
| 163 |
* Address inconsistent and variable font size in all browsers. |
| 164 |
|
| 165 |
small |
| 166 |
font-size: 80% |
| 167 |
|
| 168 |
/** |
| 169 |
* Prevent `sub` and `sup` affecting `line-height` in all browsers. |
| 170 |
|
| 171 |
sub, |
| 172 |
sup |
| 173 |
font-size: 75% |
| 174 |
line-height: 0 |
| 175 |
position: relative |
| 176 |
vertical-align: baseline |
| 177 |
|
| 178 |
sup |
| 179 |
top: -0.5em |
| 180 |
|
| 181 |
sub |
| 182 |
bottom: -0.25em |
| 183 |
|
| 184 |
/* ========================================================================== |
| 185 |
* Embedded content |
| 186 |
* ========================================================================== |
| 187 |
|
| 188 |
/** |
| 189 |
* Remove border when inside `a` element in IE 8/9. |
| 190 |
|
| 191 |
img |
| 192 |
border: 0 |
| 193 |
|
| 194 |
/** |
| 195 |
* Correct overflow displayed oddly in IE 9. |
| 196 |
|
| 197 |
svg:not(:root) |
| 198 |
overflow: hidden |
| 199 |
|
| 200 |
/* ========================================================================== |
| 201 |
* Figures |
| 202 |
* ========================================================================== |
| 203 |
|
| 204 |
/** |
| 205 |
* Address margin not present in IE 8/9 and Safari 5. |
| 206 |
|
| 207 |
figure |
| 208 |
margin: 0 |
| 209 |
|
| 210 |
/* ========================================================================== |
| 211 |
* Forms |
| 212 |
* ========================================================================== |
| 213 |
|
| 214 |
/** |
| 215 |
* Define consistent border, margin, and padding. |
| 216 |
|
| 217 |
fieldset |
| 218 |
border: 1px solid #c0c0c0 |
| 219 |
margin: 0 2px |
| 220 |
padding: 0.35em 0.625em 0.75em |
| 221 |
|
| 222 |
/** |
| 223 |
* 1. Correct `color` not being inherited in IE 8/9. |
| 224 |
* 2. Remove padding so people aren't caught out if they zero out fieldsets. |
| 225 |
|
| 226 |
legend |
| 227 |
border: 0 |
| 228 |
/* 1 |
| 229 |
padding: 0 |
| 230 |
/* 2 |
| 231 |
|
| 232 |
/** |
| 233 |
* 1. Correct font family not being inherited in all browsers. |
| 234 |
* 2. Correct font size not being inherited in all browsers. |
| 235 |
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. |
| 236 |
|
| 237 |
button, |
| 238 |
input, |
| 239 |
select, |
| 240 |
textarea |
| 241 |
font-family: inherit |
| 242 |
/* 1 |
| 243 |
font-size: 100% |
| 244 |
/* 2 |
| 245 |
margin: 0 |
| 246 |
/* 3 |
| 247 |
|
| 248 |
/** |
| 249 |
* Address Firefox 4+ setting `line-height` on `input` using `!important` in |
| 250 |
* the UA stylesheet. |
| 251 |
|
| 252 |
button, |
| 253 |
input |
| 254 |
line-height: normal |
| 255 |
|
| 256 |
/** |
| 257 |
* Address inconsistent `text-transform` inheritance for `button` and `select`. |
| 258 |
* All other form control elements do not inherit `text-transform` values. |
| 259 |
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. |
| 260 |
* Correct `select` style inheritance in Firefox 4+ and Opera. |
| 261 |
|
| 262 |
button, |
| 263 |
select |
| 264 |
text-transform: none |
| 265 |
|
| 266 |
/** |
| 267 |
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` |
| 268 |
* and `video` controls. |
| 269 |
* 2. Correct inability to style clickable `input` types in iOS. |
| 270 |
* 3. Improve usability and consistency of cursor style between image-type |
| 271 |
* `input` and others. |
| 272 |
|
| 273 |
button, |
| 274 |
html input[type="button"], |
| 275 |
input[type="reset"], |
| 276 |
input[type="submit"] |
| 277 |
-webkit-appearance: button |
| 278 |
/* 2 |
| 279 |
cursor: pointer |
| 280 |
/* 3 |
| 281 |
|
| 282 |
/** |
| 283 |
* Re-set default cursor for disabled elements. |
| 284 |
|
| 285 |
button[disabled], |
| 286 |
html input[disabled] |
| 287 |
cursor: default |
| 288 |
|
| 289 |
/** |
| 290 |
* 1. Address box sizing set to `content-box` in IE 8/9. |
| 291 |
* 2. Remove excess padding in IE 8/9. |
| 292 |
|
| 293 |
input[type="checkbox"], |
| 294 |
input[type="radio"] |
| 295 |
box-sizing: border-box |
| 296 |
/* 1 |
| 297 |
padding: 0 |
| 298 |
/* 2 |
| 299 |
|
| 300 |
/** |
| 301 |
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. |
| 302 |
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome |
| 303 |
* (include `-moz` to future-proof). |
| 304 |
|
| 305 |
input[type="search"] |
| 306 |
-webkit-appearance: textfield |
| 307 |
/* 1 |
| 308 |
-moz-box-sizing: content-box |
| 309 |
-webkit-box-sizing: content-box |
| 310 |
/* 2 |
| 311 |
box-sizing: content-box |
| 312 |
|
| 313 |
/** |
| 314 |
* Remove inner padding and search cancel button in Safari 5 and Chrome |
| 315 |
* on OS X. |
| 316 |
|
| 317 |
input[type="search"]::-webkit-search-cancel-button, |
| 318 |
input[type="search"]::-webkit-search-decoration |
| 319 |
-webkit-appearance: none |
| 320 |
|
| 321 |
/** |
| 322 |
* Remove inner padding and border in Firefox 4+. |
| 323 |
|
| 324 |
button::-moz-focus-inner, |
| 325 |
input::-moz-focus-inner |
| 326 |
border: 0 |
| 327 |
padding: 0 |
| 328 |
|
| 329 |
/** |
| 330 |
* 1. Remove default vertical scrollbar in IE 8/9. |
| 331 |
* 2. Improve readability and alignment in all browsers. |
| 332 |
|
| 333 |
textarea |
| 334 |
overflow: auto |
| 335 |
/* 1 |
| 336 |
vertical-align: top |
| 337 |
/* 2 |
| 338 |
|
| 339 |
/* ========================================================================== |
| 340 |
* Tables |
| 341 |
* ========================================================================== |
| 342 |
|
| 343 |
/** |
| 344 |
* Remove most spacing between table cells. |
| 345 |
|
| 346 |
table |
| 347 |
border-collapse: collapse |
| 348 |
border-spacing: 0 |