File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ const NewsContainer = styled.div`
25
25
${ ifMobile } {
26
26
white-space: pre-wrap;
27
27
line-height: 1.5em;
28
+ text-align: center;
29
+ padding-top: 5px;
28
30
}
29
31
30
32
background: #2188b6;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const SearchInput = styled.input`
38
38
font: inherit;
39
39
color: #2c8ebb;
40
40
margin-left: 0.5em;
41
+ text-overflow: ellipsis;
41
42
` ;
42
43
43
44
const IconButton = styled . button `
@@ -64,6 +65,7 @@ const IconButton = styled.button`
64
65
65
66
const SubmitButton = styled ( IconButton ) `
66
67
order: 1;
68
+ top: -2px;
67
69
svg {
68
70
top: 0.2em;
69
71
left: 0.2em;
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ const sectionStyle = css`
23
23
24
24
const Section = styled . div `
25
25
${ sectionStyle }
26
+
27
+ ${ ifMobile } {
28
+ padding: 0 1em;
29
+ }
26
30
` ;
27
31
28
32
const sectionContentStyle = css `
@@ -50,6 +54,11 @@ const Hero = styled.div`
50
54
51
55
const HeroTitle = styled . div `
52
56
font-size: 4em;
57
+ ${ ifMobile } {
58
+ font-size: 2.2em;
59
+ text-align: center;
60
+ }
61
+
53
62
font-weight: bold;
54
63
55
64
color: #ffffff;
@@ -58,12 +67,16 @@ const HeroTitle = styled.div`
58
67
59
68
const HeroSubtitle = styled . div `
60
69
max-width: 800px;
61
-
70
+ color: #ffffff;
62
71
margin-top: 40px;
63
-
64
72
font-size: 1.5em;
65
73
66
- color: #ffffff;
74
+ ${ ifMobile } {
75
+ margin-top: 20px;
76
+ font-size: 1.2em;
77
+ text-align: center;
78
+ margin-bottom: 10px;
79
+ }
67
80
` ;
68
81
69
82
const SellingPoints = styled . div `
@@ -80,6 +93,9 @@ const SellingPointContainer = styled.div`
80
93
${ ifDesktop } {
81
94
width: calc(50% - 20px);
82
95
}
96
+ ${ ifMobile } {
97
+ align-items: center;
98
+ }
83
99
84
100
margin-top: 40px;
85
101
@@ -91,13 +107,20 @@ const SellingPointContainer = styled.div`
91
107
const SellingPointIcon = styled . img `
92
108
width: 100px;
93
109
height: 100px;
110
+ ${ ifMobile } {
111
+ width: 75px;
112
+ height: 75px;
113
+ }
94
114
` ;
95
115
96
116
const SellingPointContent = styled . div `
97
117
margin-left: 20px;
98
118
99
119
h3 {
100
120
margin-top: 0;
121
+ ${ ifMobile } {
122
+ margin-bottom: .5em;
123
+ }
101
124
}
102
125
` ;
103
126
You can’t perform that action at this time.
0 commit comments