forked from jmapio/jmapio.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
169 lines (156 loc) · 2.29 KB
/
home.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
@import "details.css";
@import "video.css";
@import "banner.css";
/* General */
article {
max-width: inherit;
width: 100%;
padding: 0;
margin: 0;
}
h2 {
border-bottom: 0;
text-align: center;
}
h2::before {
content: "";
}
.container {
position: relative;
max-width: 700px;
width: 100%;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
box-sizing: border-box;
text-align: center;
font-size: 20px;
line-height: 1.3em;
}
/* BANNER padding styles */
@media (min-width: 768px) {
#banner .container {
padding: 70px 20px 110px 20px;
}
}
/* SECTIONS */
.section {
padding: 70px 20px;
}
.section.bg {
background: #f2f2f2;
}
.section h2 {
margin-top: 0;
}
.section p {
margin-bottom: 20px;
}
.section .cta {
margin-top: 15px;
}
@media (max-width: 600px) {
.section .cta {
margin-top: 30px;
}
}
/* WHY */
#why {
position: relative;
}
#why .cols {
display: flex;
flex-flow: row wrap;
}
#why .cols div {
flex-basis: 33%;
text-align: center;
}
#why .cols img {
display: block;
width: 120px;
height: 120px;
margin: 30px auto 20px;
}
@media (max-width: 480px) {
#why .cols {
flex-flow: column wrap;
}
#why .cols div {
flex: 1 auto;
margin-top: 30px;
}
#why .cols div:first-child {
margin-top: 10px;
}
}
/* DEVELOP */
#develop .cta:first-of-type {
margin-right: 30px;
}
@media (max-width: 681px) {
#develop .cta:first-of-type {
margin-right: 0;
}
}
/* SUBSCRIBE */
#subscribe {
padding: 20px;
text-align: center;
font-size: 20px;
background: #17242a;
color: #fff;
}
#subscribe .cta {
margin-left: 20px;
margin-top: 0;
border-color: #fff;
color: #fff;
}
#subscribe .cta:focus,
#subscribe .cta:hover {
background: #5cdb94;
color: #17242a;
border-color: #5cdb94;
}
@media (max-width: 860px) {
#subscribe span {
display: block;
margin-bottom: 20px;
}
#subscribe .cta {
margin-left: 0;
}
}
/* FAQs */
#faq-content {
max-width: 800px;
width: 100%;
margin: 0 auto;
padding: 0 20px 65px 20px;
box-sizing: border-box;
text-align: left;
}
#faq-content p {
font-size: 16px;
}
/* Arrow decoration */
.arrow {
width: 100%;
display: block;
position: absolute;
bottom: -40px;
left: 0;
text-align: center;
display: none;
}
.arrow img {
width: 103px;
height: 62px;
}
@media (max-width: 480px) {
.arrow img {
height: 45px;
width: 74.5px;
}
}