Merge remote branch 'remotes/aaronw/feature410_markdown_bio'
[mediagoblin.git] / mediagoblin / contrib / reset.css
CommitLineData
1344821d
JS
1/* `XHTML, HTML4, HTML5 Reset
2----------------------------------------------------------------------------------------------------*/
3
4a,
5abbr,
6acronym,
7address,
8applet,
9article,
10aside,
11audio,
12b,
13big,
14blockquote,
15body,
16canvas,
17caption,
18center,
19cite,
20code,
21dd,
22del,
23details,
24dfn,
25dialog,
26div,
27dl,
28dt,
29em,
30embed,
31fieldset,
32figcaption,
33figure,
34font,
35footer,
36form,
37h1,
38h2,
39h3,
40h4,
41h5,
42h6,
43header,
44hgroup,
45hr,
46html,
47i,
48iframe,
49img,
50ins,
51kbd,
52label,
53legend,
54li,
55mark,
56menu,
57meter,
58nav,
59object,
60ol,
61output,
62p,
63pre,
64progress,
65q,
66rp,
67rt,
68ruby,
69s,
70samp,
71section,
72small,
73span,
74strike,
75strong,
76sub,
77summary,
78sup,
79table,
80tbody,
81td,
82tfoot,
83th,
84thead,
85time,
86tr,
87tt,
88u,
89ul,
90var,
91video,
92xmp {
93 border: 0;
94 margin: 0;
95 padding: 0;
96 font-size: 100%;
97}
98
99html,
100body {
101 height: 100%;
102}
103
104article,
105aside,
106details,
107figcaption,
108figure,
109footer,
110header,
111hgroup,
112menu,
113nav,
114section {
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
125b,
126strong {
127/*
128 Makes browsers agree.
129 IE + Opera = font-weight: bold.
130 Gecko + WebKit = font-weight: bolder.
131*/
132 font-weight: bold;
133}
134
135img {
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
146li {
147/*
148 For IE6 + IE7.
149*/
150 display: list-item;
151}
152
153table {
154 border-collapse: collapse;
155 border-spacing: 0;
156}
157
158th,
159td,
160caption {
161 font-weight: normal;
162 vertical-align: top;
163 text-align: left;
164}
165
166q {
167 quotes: none;
168}
169
170q:before,
171q:after {
172 content: '';
173 content: none;
174}
175
176sub,
177sup,
178small {
179 font-size: 75%;
180}
181
182sub,
183sup {
184 line-height: 0;
185 position: relative;
186 vertical-align: baseline;
187}
188
189sub {
190 bottom: -0.25em;
191}
192
193sup {
194 top: -0.5em;
195}
196
197svg {
198/*
199 For IE9.
200*/
201 overflow: hidden;
202}