-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathreset.css
112 lines (90 loc) · 1.75 KB
/
reset.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/**!
* CSS ReSet
*
* @author [email protected]
* @link http://www.gracecode.com/
* @version $Id: reset.source.css 283 2009-11-15 08:08:31Z i.feelinglucky $
* @change
* [+]new feature [*]improvement [!]change [x]bug fix
*
* [+] 2008-12-25
* 增加 :focus 的 outline 属性,防止 Firefox 出现需线框
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0em; padding: 0em; border: 0em;
font-weight: inherit;
font-style: inherit;
font-family: inherit;
vertical-align: baseline;
}
:focus {
outline: none;
}
h1 {
font-size: 200%;
}
h2 {
font-size: 180%;
}
h3 {
font-size: 160%;
}
h4 {
font-size: 140%;
}
h5 {
font-size: 120%;
}
h6, p {
font-size: 100%;
}
body {
line-height: 1.5;
}
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
table, td, th {
vertical-align: middle;
}
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
a img {
border: none;
outline: none;
}
ol {
margin-left: 2em;
}
sup {
vertical-align: text-top;
}
sub {
vertical-align: text-bottom;
}
/* hack for ie */
html>body p code {
white-space: normal;
}
* html legend {
margin: -18px -8px 16px 0;
padding: 0;
}
* html hr, html>body hr {
margin: -8px auto 11px;
}
/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix fenc=utf8 */