-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.pug
463 lines (389 loc) · 9.92 KB
/
index.pug
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
---
title: Engnr Theme
layout: default
short_text: "A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart. I am alone, and feel the charm of existence in this spot, which was."
dummy_text: "A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart. I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine. I am so happy, my dear friend, so absorbed in the exquisite sense of mere tranquil existence, that I neglect my talents. I should be incapable of drawing a single stroke at the present moment; and yet I feel that I never was a greater artist than now. When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees, and but a few stray gleams steal into the inner sanctuary, I throw myself down among the tall grass by the trickling stream; and, as I lie close to the earth, a thousand unknown plants are noticed by me: when I hear the buzz of the little world among the stalks, and grow familiar with the countless indescribable forms of the insects and flies, then I feel the presence of the Almighty, who formed us in his own image, and the breath"
list:
- A
- B
- C
- D
- E
- F
short_paragraph: '<img alt="short paragraph" src="short-paragraph.png">'
paragraph: '<img alt="paragraph" src="paragraph.png">'
css:
- absolute_path: /theme.css
---
.theme-block
h1.header Engnr Theme Showcase
.theme-header Typography
.theme-block
h2.header Headers
.example.-padded
{% for i in (1..6) %}
h{{ i }} Header {{ i }}
{{ page.short_paragraph }}
{% endfor %}
.theme-block
h2.header Paragraph
.example.-padded
h3 Header
p
| {{ page.dummy_text }}
p
| {{ page.dummy_text }}
.theme-block
h2.header Basic elements
.example.-padded
h4 List
ul
{% for i in page.list %}
li {{ i }}
{% endfor %}
h4 Link
a(href="#") Link
.theme-header Page
.theme-block
h2.header Page Segment
h3.component .page-segment
.example
.page-segment
.container
h3 Header
p
| {{ page.dummy_text }}
h3 ul
ul
{% for i in page.list %}
li {{ i }}
{% endfor %}
h3 Link
a(href="#") Link
h3.variant -padded
.example
.page-segment.-padded
.container
h3 Header
| {{ page.dummy_text }}
h3.variant -divided
.example
.page-segment.-divided
.container
h3 Header
| {{ page.dummy_text }}
.theme-block
h2.header Page Hero
h3.component page-hero
.example
.page-hero
.title Title
.lead {{ page.short_text }}
.theme-block
h2.header Text Block
h3.variant text-block -one
.example
.text-block.-one
| {{ page.dummy_text }}
h3.variant text-block -two
.example
.text-block.-two
| {{ page.short_text }}
.text-block.-two
| {{ page.short_text }}
.theme-block
h2.header Text with notes
h3.component .article-content
.example
.article-content
div
p {{ page.short_text }}
p {{ page.short_text }}
.note {{ page.short_text }}
p {{ page.short_text }}
p {{ page.dummy_text }}
.note {{ page.short_text }}
.note {{ page.short_text }}
ul
{% for i in page.list %}
li {{ i }}
{% endfor %}
p.note {{ page.short_text }}
p {{ page.short_text }}
ul.note
{% for i in page.list %}
li {{ i }}
{% endfor %}
p {{ page.dummy_text }}
.note {{ page.dummy_text }}
h3.variant -commented
.example
.article-content.-commented
h2 1. Header
div
p 1.1. {{ page.short_text }}
p 1.2. {{ page.short_text }}
.note {{ page.short_text }}
p 1.3. {{ page.dummy_text }}
.note {{ page.short_text }}
p 1.4. {{ page.short_text }}
p 1.5. {{ page.short_text }}
.theme-header Navigation
.theme-block
h2.header Navigation
h3.component main-nav
.example
nav.main-nav
.container
a.brand(href="#") Brand
.links
{% for item in page.list %}
a(href="#" class="item") {{ item }}
{% endfor %}
a(href="#" class="item -active") Active item
.theme-block
h2.header Sub Navigation
h3.component sub-nav
.example
.sub-nav
.container
h3.header Header
.links
a.item Item
a.item.-active Active
.theme-block
h2.header Page Footer
h3.component page-footer
.example
footer.page-footer
.container
small © Engnr, 2016–2017
h3.variant -padded
.example
footer.page-footer.-padded
.container
small © Engnr, 2016–2017
.theme-header Lists
.theme-block
h2.header Item List
h3.component item-list
.example.-padded
.item-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
h3.variant -horizontal
.example.-padded
.item-list.-horizontal
{% for i in page.list %}
.item {{ i }}
{% endfor %}
h3.variant -center
.example.-padded
.item-list.-center
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.theme-block
h2.header Arrow List
h3.component arrow-list
.example.-padded
.arrow-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.theme-block
h2.header Meta List
h3.component meta-list
.example.-padded
.meta-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.example.-padded
ul.meta-list
li.item.-date Date
li.item.-time Time
h3.variant -vertical
.example.-padded
.meta-list.-vertical
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.example.-padded
ul.meta-list.-vertical
li.item.-date Date
li.item.-time Time
.theme-header Feed
.theme-block
h2.header Post Feed
h3.component post-feed
.example
.post-feed
.post-item
h4.title Header 4
.content {{ page.short_text }}
.post-item
h4.title Header 4
.content {{ page.short_text }}
.post-item
h4.title Header 4
.content {{ page.short_text }}
.example
.post-feed
.post-item
h2.title Header 2
ul.meta-list.-vertical
li.item.-location Location
li.item.-date Date
li.item.-time Time
li.item.-author Author
li.item.-price Price
.content {{ page.short_text }}
.example
.post-feed
.post-item
h2.title Header 2
ul.meta-list
li.item.-location Location
li.item.-date Date
li.item.-time Time
li.item.-author Author
li.item.-price Price
.content {{ page.short_text }}
.theme-block
h2.header Event Feed
h3.component event-feed
.example
.event-feed
.event-item
h4.title Header 4
.content {{ page.short_text }}
.event-item
h4.title Header 4
.content {{ page.short_text }}
.event-item
h4.title Header 4
.content {{ page.short_text }}
.theme-block
h2.header Note Box
h3.component note-box
.example.-padded
.note-box
{% for i in page.list %}
li {{ i }}
{% endfor %}
.theme-block
h2.header Contact Image
h3.component TODO: contact-image
.theme-block
h2.header Page Error
h3.component page-error
.example
.page-error
.header Header
.text Message
.theme-block
h2.header Post Image
h3.component TODO: post-image
.theme-block
h2.header Icon Item
h3.component icon-item
.example.-padded
.icon-item.-author
.example.-padded
.icon-item.-date
.example.-padded
i.icon-item.-windows
i.icon-item.-mac
i.icon-item.-linux
h3.variant -padded
.example.-padded
i.icon-item.-windows.-padded
i.icon-item.-mac.-padded
i.icon-item.-linux.-padded
h3.variant -mini
.icon-item.-author.-mini
h3.variant -tiny
.icon-item.-author.-tiny
h3.variant -small
.icon-item.-author.-small
h3.variant -large
.icon-item.-author.-large
h3.variant -big
.icon-item.-author.-big
h3.variant -huge
.icon-item.-author.-huge
h3.variant -massive
.icon-item.-author.-massive
h3.variant -blueprint
.icon-item.-author.-blueprint
h3.variant -blue
.icon-item.-author.-blue
h3.variant -violet
.icon-item.-author.-violet
h3.variant -teal
.icon-item.-author.-teal
.theme-header Engnr
.theme-block
h2.header Engnr Process
h3.component engnr-process
.example
ol.engnr-process
{% for i in page.list %}
li.item {{ i }}
{% endfor %}
.theme-block
h2.header Engnr Mission
h3.component engnr-mission
.example
.engnr-mission The mission
.theme-block
h2.header Engnr Technologies
h3.component engnr-technologies
.example.-padded
.engnr-technologies
{% for i in page.list %}
.item {{ i }}
{% endfor %}
h3.variant -technologies -horizontal
.example.-padded
.engnr-technologies.-horizontal
{% for i in page.list %}
.item {{ i }}
{% endfor %}
h3.variant -center
.example.-padded
.engnr-technologies.-center
{% for i in page.list %}
.item {{ i }}
{% endfor %}
h3.element item -huge
.example.-padded
.engnr-technologies
{% for i in page.list %}
.item.-huge {{ i }}
{% endfor %}
.theme-block
h2.header Platform List
h3.component platform-list
.example.-padded
.platform-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.platform-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
.platform-list
{% for i in page.list %}
.item {{ i }}
{% endfor %}
script.
$('.example').before('<a href="#" class="highlight">Highlight</a>');
$('.theme-block > .highlight').click(function(event) {
event.preventDefault();
let example = $(this).next('.example');
example.toggleClass('-highlight');
});