blob: 0af7c26f0f6afa35fe2067a3e344e6ff7f27d3c8 [file] [log] [blame]
Alexander Afanasyev8a093762014-07-16 18:43:09 -07001/* `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" keeps bullets from
151 disappearing if hasLayout is triggered.
152*/
153 display: list-item;
154 list-style: none;
155}
156
157table {
158 border-collapse: collapse;
159 border-spacing: 0;
160}
161
162th,
163td,
164caption {
165 font-weight: normal;
166 vertical-align: top;
167 text-align: left;
168}
169
170q {
171 quotes: none;
172}
173
174q:before,
175q:after {
176 content: '';
177 content: none;
178}
179
180sub,
181sup,
182small {
183 font-size: 75%;
184}
185
186sub,
187sup {
188 line-height: 0;
189 position: relative;
190 vertical-align: baseline;
191}
192
193sub {
194 bottom: -0.25em;
195}
196
197sup {
198 top: -0.5em;
199}
200
201svg {
202/*
203 For IE9. Without, occasionally draws shapes
204 outside the boundaries of <svg> rectangle.
205*/
206 overflow: hidden;
207}