1 | /* -------------------------------------------------------------- |
---|
2 | |
---|
3 | reset.css |
---|
4 | * Resets default browser CSS. |
---|
5 | |
---|
6 | -------------------------------------------------------------- */ |
---|
7 | |
---|
8 | html { |
---|
9 | margin:0; |
---|
10 | padding:0; |
---|
11 | border:0; |
---|
12 | } |
---|
13 | |
---|
14 | body, div, span, object, iframe, |
---|
15 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
---|
16 | a, abbr, acronym, address, code, |
---|
17 | del, dfn, em, img, q, dl, dt, dd, ol, ul, li, |
---|
18 | fieldset, form, label, legend, |
---|
19 | table, caption, tbody, tfoot, thead, tr, th, td, |
---|
20 | article, aside, dialog, figure, footer, header, |
---|
21 | hgroup, nav, section { |
---|
22 | margin: 0; |
---|
23 | padding: 0; |
---|
24 | border: 0; |
---|
25 | font-weight: inherit; |
---|
26 | font-style: inherit; |
---|
27 | font-size: 100%; |
---|
28 | font-family: inherit; |
---|
29 | vertical-align: baseline; |
---|
30 | } |
---|
31 | |
---|
32 | /* This helps to make newer HTML5 elements behave like DIVs in older browers */ |
---|
33 | article, aside, dialog, figure, footer, header, |
---|
34 | hgroup, nav, section { |
---|
35 | display:block; |
---|
36 | } |
---|
37 | |
---|
38 | /* Line-height should always be unitless! */ |
---|
39 | body { |
---|
40 | line-height: 1.5; |
---|
41 | background: white; |
---|
42 | } |
---|
43 | |
---|
44 | /* Tables still need 'cellspacing="0"' in the markup. */ |
---|
45 | table { |
---|
46 | border-collapse: separate; |
---|
47 | border-spacing: 0; |
---|
48 | } |
---|
49 | /* float:none prevents the span-x classes from breaking table-cell display */ |
---|
50 | caption, th, td { |
---|
51 | text-align: left; |
---|
52 | font-weight: normal; |
---|
53 | float:none !important; |
---|
54 | } |
---|
55 | table, th, td { |
---|
56 | vertical-align: middle; |
---|
57 | } |
---|
58 | |
---|
59 | /* Remove possible quote marks (") from <q>, <blockquote>. */ |
---|
60 | blockquote:before, blockquote:after, q:before, q:after { content: ''; } |
---|
61 | blockquote, q { quotes: "" ""; } |
---|
62 | |
---|
63 | /* Remove annoying border on linked images. */ |
---|
64 | a img { border: none; } |
---|
65 | |
---|
66 | /* Remember to define your own focus styles! */ |
---|
67 | :focus { outline: 0; } |
---|