-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
340 lines (340 loc) · 11.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
*,
:after,
:before {
box-sizing: border-box;
border: 0 solid #9fb3c8;
}
body {
background-color: #edf2f7;
height: 100vh;
width: 100%;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue,
Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
Noto Color Emoji;
}
main {
width: 100%;
}
body > header {
height: 5rem;
}
body > footer {
height: 5rem;
}
main .container {
margin-top: 2rem;
max-width: 1024px;
width: 100%;
height: 100%;
margin-right: auto;
margin-left: auto;
padding-right: 1rem;
padding-left: 1rem;
}
main .container .stickly-menu-container {
position: relative;
}
main .container .stickly-menu-container .row {
display: flex;
margin: 0 -1rem;
}
main .container .stickly-menu-container .row aside {
width: 25%;
padding: 0 1rem;
}
main
.container
.stickly-menu-container
.row
aside
.stickly-menu.is-stickly {
position: fixed;
top: 0;
}
main
.container
.stickly-menu-container
.row
aside
.stickly-menu.is-stickly-abs {
position: absolute;
bottom: 0;
top: auto;
}
main .container .stickly-menu-container .row aside .stickly-menu ul {
padding-left: 0;
margin: 0;
list-style: none;
}
main .container .stickly-menu-container .row aside .stickly-menu ul li a {
color: #334e6f;
text-decoration: inherit;
border-left-width: 4px;
border-color: #d9e2ec;
display: block;
padding-left: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
main
.container
.stickly-menu-container
.row
aside
.stickly-menu
ul
li
a.is-stickly-active {
border-color: #1872d8;
}
main .container .stickly-menu-container .row section {
width: 75%;
padding: 0 1rem;
}
main .container .stickly-menu-container .row section article {
padding-bottom: 4rem;
}
</style>
</head>
<body>
<header></header>
<main>
<div class="container">
<div class="stickly-menu-container" data-stickly-container>
<div class="row">
<aside>
<nav class="stickly-menu" data-stickly-menu>
<ul>
<li>
<a href="#heading-1" data-stickly-menu-link>
Link for menu 1
</a>
</li>
<li>
<a href="#heading-2" data-stickly-menu-link>
Link for menu 2
</a>
</li>
<li>
<a href="#heading-3" data-stickly-menu-link>
Link for menu 3
</a>
</li>
<li>
<a href="#heading-4" data-stickly-menu-link>
Link for menu 4
</a>
</li>
<li>
<a href="#heading-5" data-stickly-menu-link>
Link for menu 5
</a>
</li>
<li>
<a href="#heading-6" data-stickly-menu-link>
Link for menu 6
</a>
</li>
<li>
<a href="#heading-7" data-stickly-menu-link>
Link for menu 7
</a>
</li>
<li>
<a href="#heading-8" data-stickly-menu-link>
Link for menu 8
</a>
</li>
<li>
<a href="#heading-9" data-stickly-menu-link>
Link for menu 9
</a>
</li>
<li>
<a href="#heading-10" data-stickly-menu-link>
Link for menu 10
</a>
</li>
</ul>
</nav>
</aside>
<section>
<div class="stickly-menu-content" data-stickly-menu-content>
<article>
<header>
<h4 id="heading-1" data-stickly-waypoint>
Heading for menu 1
</h4>
</header>
<footer>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Veniam iste eveniet suscipit similique molestias beatae
consectetur maxime, expedita sunt ipsam, optio nobis,
architecto nam libero vitae. Eveniet reprehenderit
provident architecto?
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-2" data-stickly-waypoint>
Heading for menu 2
</h4>
</header>
<footer>
<p>
Corporis praesentium ut fugiat minima tempore dignissimos
libero similique minus facilis! Eligendi incidunt
asperiores assumenda quaerat, aspernatur eius ipsam!
Placeat ratione eum excepturi repudiandae quis tempora
iusto, voluptates corrupti nemo!
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-3" data-stickly-waypoint>
Heading for menu 3
</h4>
</header>
<footer>
<p>
Blanditiis excepturi quos voluptate laborum id recusandae,
placeat assumenda necessitatibus aliquid totam aperiam sed
illum fugiat corporis. Cumque quaerat voluptatibus in enim
perspiciatis impedit nihil alias rem. Laborum, iure non.
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-4" data-stickly-waypoint>
Heading for menu 4
</h4>
</header>
<footer>
<p>
Aut omnis, delectus temporibus quaerat dicta ratione id
quisquam. Quia at voluptate repellat dignissimos quo
facilis exercitationem laborum distinctio nemo aspernatur
maiores, sed tempore natus, rem, dolore aut esse deleniti?
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-5" data-stickly-waypoint>
Heading for menu 5
</h4>
</header>
<footer>
<p>
Ratione excepturi rerum, mollitia dignissimos, deserunt
tempora, illum velit vero odio quas voluptatum.
Consequuntur minus fugit omnis quae suscipit aliquid
dolorem debitis molestiae eos? Laboriosam et reiciendis
voluptatibus doloremque perferendis.
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-6" data-stickly-waypoint>
Heading for menu 6
</h4>
</header>
<footer>
<p>
Ea saepe unde vel cum mollitia ut repellat inventore non
dolorem laboriosam laudantium voluptates labore, enim
sapiente quas provident sed itaque optio illo possimus
numquam eos cumque. At, doloremque veritatis.
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-7" data-stickly-waypoint>
Heading for menu 7
</h4>
</header>
<footer>
<p>
Vel praesentium mollitia maxime quidem ratione impedit
velit, reprehenderit minus deserunt fuga quas sit officia
odio error unde distinctio inventore ex atque autem
voluptatibus. Voluptatum, error! Perspiciatis quaerat
temporibus consectetur?
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-8" data-stickly-waypoint>
Heading for menu 8
</h4>
</header>
<footer>
<p>
Dolore fuga quis blanditiis ipsum facilis a. Reiciendis ex
molestias laudantium, aut minima magnam cumque sunt
veritatis reprehenderit praesentium aperiam qui blanditiis
assumenda dignissimos nesciunt consequatur autem nemo,
maxime voluptatum.
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-9" data-stickly-waypoint>
Heading for menu 9
</h4>
</header>
<footer>
<p>
Corrupti, ea fuga incidunt adipisci quidem accusantium
harum consequatur sequi quos impedit quas porro odit
beatae mollitia facere distinctio aspernatur doloribus.
Mollitia culpa quia iste quis enim. Culpa, consequuntur
inventore?
</p>
</footer>
</article>
<article>
<header>
<h4 id="heading-10" data-stickly-waypoint>
Heading for menu 10
</h4>
</header>
<footer>
<p>
Provident est possimus nobis delectus error perspiciatis
ad eius ipsum culpa rem quaerat neque fugit molestias
accusamus rerum doloremque maiores excepturi, incidunt
beatae tenetur voluptatem iure soluta cum. Fugiat, illum!
</p>
</footer>
</article>
</div>
</section>
</div>
</div>
</div>
</main>
<footer></footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
const stickly = new Stickly();
});
</script>
</body>
</html>