-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmy-font-reset.css
87 lines (83 loc) · 1.28 KB
/
my-font-reset.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
80
81
82
83
84
85
86
87
/*! Timonwa font CSS Reset */
/*! ===== Default h1-h6 and p styling and body font-size (Start) ===== */
/* ===== SMALL SCREEN FIRST RWD ===== */
/* the ffg queries determine the font size and line height of the elements in the file */
/** small screen of 0px to 608px */
/* body */
body {
font-size: 16px;
}
/* text elements */
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 130%;
text-align: center;
}
p {
line-height: 130%;
margin-bottom: 0.5rem;
}
h1 {
margin-bottom: 0.8rem;
}
h2 {
margin-bottom: 0.75rem;
}
h3 {
margin-bottom: 0.6rem;
}
h4 {
margin-bottom: 0.5rem;
}
h5 {
margin-bottom: 0.4rem;
}
h6 {
margin-bottom: 0.3rem;
}
/** medium screen width of 608px to 960px */
@media screen and (min-width: 608px) {
/* body */
body {
font-size: 17px;
}
/* text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p {
line-height: 140%;
}
}
/** large screen width of 960px to 1024px */
@media screen and (min-width: 960px) {
/* body */
body {
font-size: 18px;
}
/* text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p {
line-height: 150%;
}
}
/** extra large screen width of 1024px and above */
@media screen and (min-width: 1024px) {
/* body */
body {
font-size: 19px;
}
}
/*! ===== Default h1-h6 and p styling and body font-size (End) ===== */