File tree 2 files changed +12
-9
lines changed
2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,21 @@ const FeaturesList = styled.ul`
28
28
grid-template-columns: 1fr;
29
29
grid-auto-rows: auto;
30
30
grid-gap: 4rem;
31
- margin: 6rem 0;
31
+ margin: 3rem 0;
32
+ padding: 2rem;
32
33
@media ${ ( { theme } ) => theme . mediaQuery . sm } {
33
34
grid-template-columns: repeat(3, 1fr);
34
35
grid-auto-rows: 1fr;
35
36
grid-gap: 3rem;
37
+ margin: 6rem 0;
38
+ padding: 0;
36
39
}
37
40
` ;
38
41
39
42
const Feature = styled . li `
40
43
justify-self: center;
41
44
padding: 0;
42
- width: 18.5rem ;
45
+ width: 100% ;
43
46
@media ${ ( { theme } ) => theme . mediaQuery . md } {
44
47
width: 28rem;
45
48
}
@@ -53,29 +56,29 @@ const FeatureImg = styled(LazyImage)`
53
56
54
57
const FeatureTitle = styled . h3 `
55
58
color: ${ ( { theme } ) => theme . color . darkBrown } ;
56
- font-family: HelveticaNeue ;
59
+ font-family: Helvetica Neue ;
57
60
font-size: 1.8rem;
58
61
font-weight: bold;
59
62
margin-top: 4rem;
60
63
line-height: 0.96;
61
64
text-align: center;
62
65
@media ${ ( { theme } ) => theme . mediaQuery . sm } {
63
- margin-top: 3rem;
64
- text-align: left;
66
+ margin-top: calc(2rem + 20px);
65
67
}
66
68
@media ${ ( { theme } ) => theme . mediaQuery . md } {
67
- font-size: 2.4rem ;
69
+ font-size: 2rem ;
68
70
}
69
71
` ;
70
72
71
73
const FeatureText = styled . p `
72
- font-size: 1.4rem ;
74
+ font-size: 1.5rem ;
73
75
line-height: 1.29;
76
+ text-align: center;
77
+ margin: 2.75rem 0 0;
74
78
@media ${ ( { theme } ) => theme . mediaQuery . sm } {
75
79
line-height: 1.29;
76
80
}
77
81
@media ${ ( { theme } ) => theme . mediaQuery . md } {
78
- font-size: 2.4rem;
79
82
line-height: 1.6;
80
83
}
81
84
` ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ const OSSLink = styled.a`
84
84
` ;
85
85
86
86
const OSSTitle = styled . h3 `
87
- font-family: HelveticaNeue ;
87
+ font-family: Helvetica Neue ;
88
88
font-size: 1.8rem;
89
89
font-weight: bold;
90
90
margin: 0;
You can’t perform that action at this time.
0 commit comments