-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid-landing.html
294 lines (264 loc) · 5.33 KB
/
grid-landing.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
html,
body {
margin: 0;
padding: 0;
}
h1, h2, h3 {
margin-top: 0;
text-align: center;
}
.subtitle {
text-align: center;
}
.menulist {
list-style: none;
margin: 0;
padding: 0;
}
.landing_cta {
margin-top: 1.5em;
text-align: center;
}
.grid {
box-sizing: border-box;
display: grid;
grid-template-columns: minmax(2em, 1fr) repeat(6, minmax(auto, 10em)) minmax(2em, 1fr);
}
.grid_2-8 {
grid-column: 2 / 8;
}
.grid_3-7 {
grid-column: 3 / 7;
}
.grid_4-6 {
grid-column: 4 / 6;
}
.grid_cols-3max {
grid-gap: calc(6em / 2);
grid-template-columns: repeat(auto-fit, minmax(calc(20em - (6em / 3)), 1fr));
}
.header {
background-color: #000;
color: #fff;
padding: 1em;
position: sticky;
text-align: center;
top: 0;
z-index: 10;
}
.header_menu {
column-gap: 1em;
display: flex;
justify-content: center;
}
.header_menu-link {
color: #a8d6f7;
}
.header_content {
grid-column: 2 / 8;
}
.hero {
align-content: center;
background-color: #a8d6f7;
min-height: 50vh;
text-align: center;
}
.options {
background-color: #4a7696;
color: #fff;
padding: 4em 0;
}
.options_item-img {
width: 100%;
}
.info {
padding: 8em 0;
}
.feature {
min-height: 70vh;
}
.feature_img {
background-image: url(images/shark.jpg);
background-size: cover;
grid-column: 1/9;
grid-row: 1/2;
}
.feature_content {
background-color: #183a53;
color: #ffffff;
grid-row-start: 1;
margin: 4em 0;
padding: 2em;
}
.feature_content-1 {
align-self: start;
grid-column: 2/6;
}
.feature_content-2 {
align-self: end;
grid-column: 5/8;
}
.footer {
background-color: #ddd;
justify-items: center;
padding: 4em 1em;
}
.footer_menu-first {
grid-column-start: 3;
}
</style>
</head>
<body>
<header class="header grid">
<div class="header_content grid_2-8">
I am a Header
</div>
<nav class="grid_3-7">
<ul class="header_menu menulist">
<li>
<a class="header_menu-link" href="">
Header link
</a>
</li>
<li>
<a class="header_menu-link" href="">
Header link
</a>
</li>
</ul>
</nav>
</header>
<section class="hero grid">
<h1 class="hero_title grid_2-8">
I am an Important Message
</h1>
<div class="hero_content grid_4-6">
And I am a less important, but still a very important
thing to consider.
<div class="landing_cta">
<a href="">
Click me!
</a>
</div>
</div>
</section>
<section class="options grid">
<h2 class="options_title grid_2-8">
Here are Some Choices
</h2>
<div class="options_content grid grid_2-8 grid_cols-3max">
<div>
<img class="options_item-img" src="/images/small/slide1.jpg">
<div class="options_item-title">Stuff</div>
<p>
In some high land of lakes. Take almost any path
you please, and ten to one it carries you down in a dale.
</p>
</div>
<div>
<img class="options_item-img" src="/images/small/slide1.jpg">
<div class="options_item-title">Different Stuff</div>
<p>
Leaves you there by a pool in the stream. There is
magic in it.
</p>
</div>
<div>
<img class="options_item-img" src="/images/small/slide1.jpg">
<div class="options_item-title">All the Stuff</div>
<p>
Set his feet a-going, and he will infallibly lead
you to water, if water there be in all that region.
</p>
</div>
</div>
</section>
<section class="info grid">
<h2 class="info_title grid_2-8">
I am Some More info
</h2>
<div class="subtitle grid_4-6">
Say you are in the country.
</div>
<div class="info_content grid_3-7">
<p>
In some high land of lakes. Take almost any path you
please, and ten to one it carries you down in a dale,
and leaves you there by a pool in the stream. There
is magic in it. But here is an artist. He desires to
paint you the dreamiest, shadiest, quietest, most
enchanting bit of romantic landscape in all the
valley of the Saco.
</p>
</div>
</section>
<section class="feature grid">
<div class="feature_img"></div>
<div class="feature_content feature_content-1">
Let the most absent-minded of men be plunged in his
deepest reveries—stand that man on his legs, set his
feet a-going, and he will infallibly lead you to water,
if water there be in all that region.
</div>
<div class="feature_content feature_content-2">
Take almost any path you please, and ten to one it
carries you down in a dale, and leaves you there by a
pool in the stream. There is magic in it.
</div>
</section>
<footer class="footer grid">
<h3 class="footer_title grid_2-8">
I am a Footer
</h3>
<ul class="menulist footer_menu-first">
<li>
Products
</li>
<li>
<a href="">Footer link</a>
</li>
<li>
<a href="">Footer link</a>
</li>
</ul>
<ul class="menulist">
<li>
About
</li>
<li>
<a href="">Footer link</a>
</li>
<li>
<a href="">Footer link</a>
</li>
</ul>
<ul class="menulist">
<li>
Links
</li>
<li>
<a href="">Footer link</a>
</li>
<li>
<a href="">Footer link</a>
</li>
</ul>
<ul class="menulist">
<li>
Account
</li>
<li>
<a href="">Footer link</a>
</li>
<li>
<a href="">Footer link</a>
</li>
</ul>
</footer>
</body>
</html>