-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnormalize.css
79 lines (69 loc) · 1.24 KB
/
normalize.css
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
75
76
77
78
79
/* normalize line height and webkit orientation changes in line height */
html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
/* remove body margin */
body {
margin: 0;
}
/* fix h1, h2 font size properties removing irregular changes in section/article parents */
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
/* remove unwanted padding and margins */
div,
h1,
h2,
h3,
h4,
h5,
h6,
p {
padding: 0;
margin: 0;
}
/* normalize images as blocks */
img {
display: block;
}
/* normalize font and remove margins in all browsers */
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
/* normalize styles of clickables in safari */
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
}
/* remove paddings and border in firefox */
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
outline: 1px dotted ButtonText;
}
/* normalize anchor stylings */
a {
color: inherit;
text-decoration: none;
}