-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
356 lines (312 loc) · 7.06 KB
/
index.html
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hello, we’re gtd.</title>
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,900"
rel="stylesheet"
/>
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#4f4d53" />
<style>
body {
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
text-align: center;
background: #4f4d53;
color: #fff;
text-rendering: optimizeLegibility;
}
section#main {
background: #fff;
color: #4f4d53;
}
h1,
h2,
h3 {
font-weight: 900;
margin: 0;
}
a,
p,
body {
font-weight: 400; /* normal */
}
h1,
p {
color: #4f4d53;
}
h2,
h3 {
color: #e8be02;
}
h1 {
font-size: 100px;
background: #e8be02 url("./media/img_hero.jpg") center center no-repeat;
background-size: cover;
display: block;
padding: 200px 0 205px;
line-height: 1em;
width: 100%;
}
h2 {
font-size: 64px;
}
h3 {
font-size: 20px;
}
p {
font-size: 20px;
}
section#main p {
max-width: 90%;
margin: 0 auto;
}
header,
footer {
background: #4f4d53;
}
header a,
footer a {
font-size: 14px;
color: #fff;
text-decoration: none;
}
nav ul,
ul.faces,
ul.cards {
list-style: none;
width: 100%;
margin: 0;
padding: 0;
}
nav li,
ul.faces li,
ul.cards li {
margin: 0;
padding: 0;
display: inline-block;
vertical-align: top;
}
footer nav a {
display: block;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 7px;
}
header nav {
width: 100%;
padding: 7px 0;
}
header nav img {
float: left;
margin-top: 8px;
}
header nav input {
float: right;
background: #353337 url("./media//ic_search.png") 10px center no-repeat;
color: #fff;
-webkit-appearance: textfield;
border: none;
font-size: 16px;
padding: 6px 6px 6px 30px;
}
header nav input::placeholder {
color: #fff;
}
header nav input:focus::placeholder {
opacity: 0;
}
header nav::after {
content: "";
display: block;
clear: both;
}
footer h3 {
margin-bottom: 1em;
}
footer nav ul {
width: 100%;
padding: 1em 0;
}
footer nav li {
width: 24%;
text-align: left;
}
ul.faces {
max-width: 900px;
margin: -102px auto 0;
}
.faces li {
width: 32%;
}
ul.cards {
margin: 0 auto;
padding: 100px 0;
max-width: 600px;
}
ul.cards li div {
display: inline-block;
min-width: 100px;
}
section#main ul.cards p {
max-width: 100%;
}
ul.cards a {
color: #4f4d53;
text-decoration: none;
}
.faces img,
ul.cards img {
border-radius: 50%;
max-width: 100%;
}
ul.cards li {
width: 49%;
text-align: left;
}
ul.cards p {
margin: 0;
}
ul.cards h3 {
margin-top: 0.5em;
}
ul.cards img {
width: 100px;
float: left;
margin-right: 2em;
}
h2 {
margin: 50px 0;
}
footer {
border-top: 12px solid #e8be02;
padding-bottom: 70px;
}
footer nav.container {
max-width: 700px;
margin: 0 auto;
padding: 0 0 0 100px;
}
@media (max-width: 768px) {
h1 {
padding: 90px 0 185px;
font-size: 50px;
}
h2 {
margin: 30px 0 10px;
font-size: 32px;
}
p {
font-size: 16px;
}
ul.cards {
padding: 30px 0;
}
footer nav.container {
padding: 10px;
}
}
@media (max-width: 420px) {
header nav input {
font-size: 12px;
padding: 5px 3px 5px 25px;
}
h1 {
padding: 40px 0 125px;
font-size: 50px;
}
h3 {
font-size: 16px;
}
ul.cards {
padding: 30px;
}
}
</style>
</head>
<body>
<header>
<div class="container">
<nav>
<img src="media/gtd_logo.png" alt="gtd." />
<input type="search" placeholder="Search" />
</nav>
</div>
</header>
<section id="main">
<h1>Hello, we’re gtd.</h1>
<ul class="faces">
<li><img src="media/img_lisa.jpg" /></li>
<li><img src="media/img_danielle.jpg" /></li>
<li><img src="media/img_brian.jpg" /></li>
</ul>
<div class="container">
<h2>How it started</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris n isi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in c
ulpa qui officia deserunt mollit anim id est laborum.
</p>
<ul class="cards">
<li>
<img src="media/img_lisa.jpg" />
<div>
<h3>Lisa</h3>
<p><a href="mailto:[email protected]">[email protected]</a></p>
</div>
</li>
<li>
<img src="media/img_danielle.jpg" />
<div>
<h3>Danielle</h3>
<p><a href="mailto:[email protected]">[email protected]</a></p>
<p><a href="tel:1234567890">(123) 456-7890</a></p>
</div>
</li>
</ul>
</div>
</section>
<footer>
<nav class="container">
<ul>
<li>
<h3>Team</h3>
<p>
<a href="#">Lisa</a>
<a href="#">Danielle</a>
<a href="#">Brian</a>
</p>
<a href="#">Join us!</a>
</li>
<li>
<h3>Learn More</h3>
<a href="#">Manifesto</a>
<a href="#">Works</a>
<a href="#">Stories</a>
</li>
<li>
<h3>Meet Us</h3>
<a href="#">Studio</a>
<a href="#">Community</a>
<a href="#">Workshops</a>
</li>
<li>
<h3>Contact</h3>
<a href="#">Twitter</a>
<a href="#">Facebook</a>
<a href="#">Instagram</a>
</li>
</ul>
</nav>
</footer>
</body>
</html>