aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2016-04-04 14:00:39 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:45 +0800
commite002d09d2b6b2317fec6caa8836b20e6709c5da3 (patch)
tree1e1623524986fc63abcab7b10912dffe55dc1da9 /deprecated/ZJW/stylesheets/normalize.css
parentdbcebe1def5c355120c61b575390d1d9ac355f67 (diff)
downloadjinwei.me-e002d09d2b6b2317fec6caa8836b20e6709c5da3.tar.gz
jinwei.me
Diffstat (limited to 'deprecated/ZJW/stylesheets/normalize.css')
-rw-r--r--deprecated/ZJW/stylesheets/normalize.css340
1 files changed, 340 insertions, 0 deletions
diff --git a/deprecated/ZJW/stylesheets/normalize.css b/deprecated/ZJW/stylesheets/normalize.css
new file mode 100644
index 0000000..a4aad65
--- /dev/null
+++ b/deprecated/ZJW/stylesheets/normalize.css
@@ -0,0 +1,340 @@
1/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
2/* ==========================================================================
3 HTML5 display definitions
4 ========================================================================== */
5/**
6 * Correct `block` display not defined in IE 8/9.
7 */
8article,
9aside,
10details,
11figcaption,
12figure,
13footer,
14header,
15hgroup,
16main,
17nav,
18section,
19summary {
20 display: block;
21}
22/**
23 * Correct `inline-block` display not defined in IE 8/9.
24 */
25audio,
26canvas,
27video {
28 display: inline-block;
29}
30/**
31 * Prevent modern browsers from displaying `audio` without controls.
32 * Remove excess height in iOS 5 devices.
33 */
34audio:not([controls]) {
35 display: none;
36 height: 0;
37}
38/**
39 * Address `[hidden]` styling not present in IE 8/9.
40 * Hide the `template` element in IE, Safari, and Firefox < 22.
41 */
42[hidden],
43template {
44 display: none;
45}
46/* ==========================================================================
47 Base
48 ========================================================================== */
49/**
50 * 1. Set default font family to sans-serif.
51 * 2. Prevent iOS text size adjust after orientation change, without disabling
52 * user zoom.
53 */
54html {
55 font-family: sans-serif;
56 /* 1 */
57 -ms-text-size-adjust: 100%;
58 /* 2 */
59 -webkit-text-size-adjust: 100%;
60 /* 2 */
61}
62/**
63 * Remove default margin.
64 */
65body {
66 margin: 0;
67}
68/* ==========================================================================
69 Links
70 ========================================================================== */
71/**
72 * Remove the gray background color from active links in IE 10.
73 */
74a {
75 background: transparent;
76}
77/**
78 * Address `outline` inconsistency between Chrome and other browsers.
79 */
80a:focus {
81 outline: thin dotted;
82}
83/**
84 * Improve readability when focused and also mouse hovered in all browsers.
85 */
86a:active,
87a:hover {
88 outline: 0;
89}
90/* ==========================================================================
91 Typography
92 ========================================================================== */
93/**
94 * Address variable `h1` font-size and margin within `section` and `article`
95 * contexts in Firefox 4+, Safari 5, and Chrome.
96 */
97h1 {
98 font-size: 2em;
99 margin: 0.67em 0;
100}
101/**
102 * Address styling not present in IE 8/9, Safari 5, and Chrome.
103 */
104abbr[title] {
105 border-bottom: 1px dotted;
106}
107/**
108 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
109 */
110b,
111strong {
112 font-weight: bold;
113}
114/**
115 * Address styling not present in Safari 5 and Chrome.
116 */
117dfn {
118 font-style: italic;
119}
120/**
121 * Address differences between Firefox and other browsers.
122 */
123hr {
124 -moz-box-sizing: content-box;
125 box-sizing: content-box;
126 height: 0;
127}
128/**
129 * Address styling not present in IE 8/9.
130 */
131mark {
132 background: #ff0;
133 color: #000;
134}
135/**
136 * Correct font family set oddly in Safari 5 and Chrome.
137 */
138code,
139kbd,
140pre,
141samp {
142 font-family: monospace, serif;
143 font-size: 1em;
144}
145/**
146 * Improve readability of pre-formatted text in all browsers.
147 */
148pre {
149 white-space: pre-wrap;
150}
151/**
152 * Set consistent quote types.
153 */
154q {
155 quotes: "\201C" "\201D" "\2018" "\2019";
156}
157/**
158 * Address inconsistent and variable font size in all browsers.
159 */
160small {
161 font-size: 80%;
162}
163/**
164 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
165 */
166sub,
167sup {
168 font-size: 75%;
169 line-height: 0;
170 position: relative;
171 vertical-align: baseline;
172}
173sup {
174 top: -0.5em;
175}
176sub {
177 bottom: -0.25em;
178}
179/* ==========================================================================
180 Embedded content
181 ========================================================================== */
182/**
183 * Remove border when inside `a` element in IE 8/9.
184 */
185img {
186 border: 0;
187}
188/**
189 * Correct overflow displayed oddly in IE 9.
190 */
191svg:not(:root) {
192 overflow: hidden;
193}
194/* ==========================================================================
195 Figures
196 ========================================================================== */
197/**
198 * Address margin not present in IE 8/9 and Safari 5.
199 */
200figure {
201 margin: 0;
202}
203/* ==========================================================================
204 Forms
205 ========================================================================== */
206/**
207 * Define consistent border, margin, and padding.
208 */
209fieldset {
210 border: 1px solid #c0c0c0;
211 margin: 0 2px;
212 padding: 0.35em 0.625em 0.75em;
213}
214/**
215 * 1. Correct `color` not being inherited in IE 8/9.
216 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
217 */
218legend {
219 border: 0;
220 /* 1 */
221 padding: 0;
222 /* 2 */
223}
224/**
225 * 1. Correct font family not being inherited in all browsers.
226 * 2. Correct font size not being inherited in all browsers.
227 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
228 */
229button,
230input,
231select,
232textarea {
233 font-family: inherit;
234 /* 1 */
235 font-size: 100%;
236 /* 2 */
237 margin: 0;
238 /* 3 */
239}
240/**
241 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
242 * the UA stylesheet.
243 */
244button,
245input {
246 line-height: normal;
247}
248/**
249 * Address inconsistent `text-transform` inheritance for `button` and `select`.
250 * All other form control elements do not inherit `text-transform` values.
251 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
252 * Correct `select` style inheritance in Firefox 4+ and Opera.
253 */
254button,
255select {
256 text-transform: none;
257}
258/**
259 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
260 * and `video` controls.
261 * 2. Correct inability to style clickable `input` types in iOS.
262 * 3. Improve usability and consistency of cursor style between image-type
263 * `input` and others.
264 */
265button,
266html input[type="button"],
267input[type="reset"],
268input[type="submit"] {
269 -webkit-appearance: button;
270 /* 2 */
271 cursor: pointer;
272 /* 3 */
273}
274/**
275 * Re-set default cursor for disabled elements.
276 */
277button[disabled],
278html input[disabled] {
279 cursor: default;
280}
281/**
282 * 1. Address box sizing set to `content-box` in IE 8/9/10.
283 * 2. Remove excess padding in IE 8/9/10.
284 */
285input[type="checkbox"],
286input[type="radio"] {
287 box-sizing: border-box;
288 /* 1 */
289 padding: 0;
290 /* 2 */
291}
292/**
293 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
294 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
295 * (include `-moz` to future-proof).
296 */
297input[type="search"] {
298 -webkit-appearance: textfield;
299 /* 1 */
300 -moz-box-sizing: content-box;
301 -webkit-box-sizing: content-box;
302 /* 2 */
303 box-sizing: content-box;
304}
305/**
306 * Remove inner padding and search cancel button in Safari 5 and Chrome
307 * on OS X.
308 */
309input[type="search"]::-webkit-search-cancel-button,
310input[type="search"]::-webkit-search-decoration {
311 -webkit-appearance: none;
312}
313/**
314 * Remove inner padding and border in Firefox 4+.
315 */
316button::-moz-focus-inner,
317input::-moz-focus-inner {
318 border: 0;
319 padding: 0;
320}
321/**
322 * 1. Remove default vertical scrollbar in IE 8/9.
323 * 2. Improve readability and alignment in all browsers.
324 */
325textarea {
326 overflow: auto;
327 /* 1 */
328 vertical-align: top;
329 /* 2 */
330}
331/* ==========================================================================
332 Tables
333 ========================================================================== */
334/**
335 * Remove most spacing between table cells.
336 */
337table {
338 border-collapse: collapse;
339 border-spacing: 0;
340}
Powered by cgit v1.2.3 (git 2.41.0)