-
Notifications
You must be signed in to change notification settings - Fork 0
/
zero.styl
74 lines (64 loc) · 1.45 KB
/
zero.styl
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
/*! Zero | MIT License | https://github.com/CMUI/zero */
// Inspired by [nib](https://github.com/tj/nib).
// helper
reset-box()
margin 0
padding 0
reset-border()
border 0 none
reset-font-size()
font-size 100%
reset-text()
font-style inherit
font-weight inherit
/* --------------------------------------------- */
/* reset box model */
html, body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, address,
dl, dt, dd, ol, ul, li,
hr,
form, fieldset, legend, label,
input, button, textarea, select, optgroup, option,
table, caption, tfoot, thead, tbody, tr, th, td,
article, aside, details, figcaption,
figure, footer, header, main, nav, section, summary,
menu
reset-box()
/* headline */
h1, h2, h3, h4, h5, h6
reset-font-size()
/* list */
ul, ol, menu
list-style none outside
/* table cell */
caption, th, td
reset-table-cell()
// form
label[for]
cursor pointer
/* --------------------------------------------- */
/* text style */
blockquote, q, address, abbr, dfn, cite
reset-text()
/* --------------------------------------------- */
/* set inline-block to block */
embed, object, iframe, img, audio, video, canvas, progress
display block
reset-box()
/* --------------------------------------------- */
/* other */
hr
display block
reset-border()
border-top 1px solid
background-color transparent
/* --------------------------------------------- */
/* fix: normalize.css v5.0.0 */
button
input
optgroup
select
textarea
font-family inherit
line-height inherit