Finished #485 and worked out bugs: password fields always update, added margins,...
[mediagoblin.git] / extlib / 960.gs / reset.css
1 /* `XHTML, HTML4, HTML5 Reset
2 ----------------------------------------------------------------------------------------------------*/
3
4 a,
5 abbr,
6 acronym,
7 address,
8 applet,
9 article,
10 aside,
11 audio,
12 b,
13 big,
14 blockquote,
15 body,
16 canvas,
17 caption,
18 center,
19 cite,
20 code,
21 dd,
22 del,
23 details,
24 dfn,
25 dialog,
26 div,
27 dl,
28 dt,
29 em,
30 embed,
31 fieldset,
32 figcaption,
33 figure,
34 font,
35 footer,
36 form,
37 h1,
38 h2,
39 h3,
40 h4,
41 h5,
42 h6,
43 header,
44 hgroup,
45 hr,
46 html,
47 i,
48 iframe,
49 img,
50 ins,
51 kbd,
52 label,
53 legend,
54 li,
55 mark,
56 menu,
57 meter,
58 nav,
59 object,
60 ol,
61 output,
62 p,
63 pre,
64 progress,
65 q,
66 rp,
67 rt,
68 ruby,
69 s,
70 samp,
71 section,
72 small,
73 span,
74 strike,
75 strong,
76 sub,
77 summary,
78 sup,
79 table,
80 tbody,
81 td,
82 tfoot,
83 th,
84 thead,
85 time,
86 tr,
87 tt,
88 u,
89 ul,
90 var,
91 video,
92 xmp {
93 border: 0;
94 margin: 0;
95 padding: 0;
96 font-size: 100%;
97 }
98
99 html,
100 body {
101 height: 100%;
102 }
103
104 article,
105 aside,
106 details,
107 figcaption,
108 figure,
109 footer,
110 header,
111 hgroup,
112 menu,
113 nav,
114 section {
115 /*
116 Override the default (display: inline) for
117 browsers that do not recognize HTML5 tags.
118
119 IE8 (and lower) requires a shiv:
120 http://ejohn.org/blog/html5-shiv
121 */
122 display: block;
123 }
124
125 b,
126 strong {
127 /*
128 Makes browsers agree.
129 IE + Opera = font-weight: bold.
130 Gecko + WebKit = font-weight: bolder.
131 */
132 font-weight: bold;
133 }
134
135 img {
136 color: transparent;
137 font-size: 0;
138 vertical-align: middle;
139 /*
140 For IE.
141 http://css-tricks.com/ie-fix-bicubic-scaling-for-images
142 */
143 -ms-interpolation-mode: bicubic;
144 }
145
146 li {
147 /*
148 For IE6 + IE7.
149 */
150 display: list-item;
151 }
152
153 table {
154 border-collapse: collapse;
155 border-spacing: 0;
156 }
157
158 th,
159 td,
160 caption {
161 font-weight: normal;
162 vertical-align: top;
163 text-align: left;
164 }
165
166 q {
167 quotes: none;
168 }
169
170 q:before,
171 q:after {
172 content: '';
173 content: none;
174 }
175
176 sub,
177 sup,
178 small {
179 font-size: 75%;
180 }
181
182 sub,
183 sup {
184 line-height: 0;
185 position: relative;
186 vertical-align: baseline;
187 }
188
189 sub {
190 bottom: -0.25em;
191 }
192
193 sup {
194 top: -0.5em;
195 }
196
197 svg {
198 /*
199 For IE9.
200 */
201 overflow: hidden;
202 }