-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocumentation.html
More file actions
809 lines (805 loc) · 42.5 KB
/
documentation.html
File metadata and controls
809 lines (805 loc) · 42.5 KB
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
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Urku Portfolio :: Pixeden</title>
<link rel="icon" type="image/svg+xml" href="assets/img/urku-ico.svg">
<link rel="stylesheet" href="assets/css/aurora-pack.min.css">
<link rel="stylesheet" href="assets/css/aurora-theme-base.min.css">
<link rel="stylesheet" href="assets/css/urku.css">
</head>
<body class="top-fixed">
<header class="ae-container-fluid ae-container-fluid--full rk-header ">
<input type="checkbox" id="mobile-menu" class="rk-mobile-menu">
<label for="mobile-menu">
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
</label>
<div class="ae-container-fluid rk-topbar">
<h1 class="rk-logo"><a href="index.html">urku portfolio<sup>tm</sup></a></h1>
<nav class="rk-navigation">
<ul class="rk-menu">
<li class="rk-menu__item"><a href="index.html" class="rk-menu__link">Home</a>
</li>
<li class="rk-menu__item"><a href="portfolio.html" class="rk-menu__link">Portfolio</a>
<nav class="rk-menu__sub">
<ul class="rk-container">
<li class="rk-menu__item"><a href="portfolio.html" class="rk-menu__link">Flex</a></li>
<li class="rk-menu__item"><a href="portfolio-alt.html" class="rk-menu__link">Switch</a></li>
<li class="rk-menu__item"><a href="portfolio-raw.html" class="rk-menu__link">Static</a></li>
<li class="rk-menu__item"><a href="portfolio-masonry.html" class="rk-menu__link">Masonry</a></li>
</ul>
</nav>
</li>
<li class="rk-menu__item"><a href="blog.html" class="rk-menu__link">Blog</a>
</li>
<li class="active rk-menu__item"><a href="#0" class="rk-menu__link">Pages</a>
<nav class="rk-menu__sub">
<ul class="rk-container">
<li class="rk-menu__item"><a href="about.html" class="rk-menu__link">About</a></li>
<li class="rk-menu__item"><a href="documentation.html" class="rk-menu__link">Documentation</a></li>
<li class="rk-menu__item"><a href="design-styles.html" class="rk-menu__link">Design Styles</a></li>
</ul>
</nav>
</li>
<li class="rk-menu__item"><a href="contact.html" class="rk-menu__link">Contact Us</a>
</li>
</ul>
<form class="rk-search">
<input type="text" placeholder="Search" id="urku-search" class="rk-search-field">
<label for="urku-search">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-search"></use>
</svg>
</label>
</form>
</nav>
</div>
</header>
<style>
.hash-link {
position: relative;
}
.hash-link:before {
content: '#';
opacity: 0;
position: absolute;
right: 100%;
transform: translatex(.25em);
transition: .3s;
}
.hash-link:hover:before {
opacity: 1;
transform: translatex(0);
}
.layout-ctrl-input:checked + .demo-switch {
color: #a0a0a0;
}
.demo-switch {
cursor: pointer;
display: none;
height: 32px;
transition: color .3s;
width: 28px;
}
.demo-switch:hover {
color: #a0a0a0;
}
.demo-switch svg {
height: 100%;
width: 100%;
}
@media (min-width: 40em) {
.demo-switch {
display: inline-block !important;
}
}
</style>
<section class="ae-container-fluid ae-container-fluid--full rk-main">
<div class="item-inside__meta">
<h1 class="ae-u-bolder rk-portfolio-title ">Documentation</h1>
</div>
<div class="ae-container-fluid ae-container-fluid--inner">
<div class="ae-grid ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h2 id="portfolio-items"><a href="#portfolio-items" class="hash-link">Portfolio Items</a>
</h2>
<h3 id="static-items"><a href="#static-items" class="hash-link">Static Items</a>
</h3>
<p>You can create a static portfolio page by using our grid system <a href="http://themes-pixeden.com/aurora-kit/grid.html" class="au-underline">Aurora</a>, creating the grid structure with <code>ae-grid</code>, adding your items with <code>ae-grid__item</code>and <a href="http://themes-pixeden.com/aurora-kit/grid.html" class="au-underline">customizing</a> it as you want. </p>
<div class="ae-grid">
<div class="ae-grid__item item-lg-4"><a href="portfolio-item.html" class="rk-item"><img src="assets/img/project-1.jpg" alt="">
<div class="item-meta">
<h2>Essential Stationery</h2>
<p>Branding</p>
</div></a></div>
<div class="ae-grid__item item-lg-4"><a href="portfolio-item.html" class="rk-item"><img src="assets/img/project-4.jpg" alt="">
<div class="item-meta">
<h2>Tumblr hammock</h2>
<p>Packaging</p>
</div></a></div>
<div class="ae-grid__item item-lg-4"><a href="portfolio-item.html" class="rk-item"><img src="assets/img/project-5.jpg" alt="">
<div class="item-meta">
<h2>Biodiesel etsy</h2>
<p>Branding</p>
</div></a></div>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="ae-grid">
<!-- first column -->
<div class="ae-grid__item item-lg-4">
<a href="item-url" class="rk-item">
<img src="img-url" />
<span class="item-meta">
<h2>Title</h2>
<p>Category</p>
</span>
</a>
</div>
<!-- other columns... -->
</div></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h3 id="masonry-items"><a href="#masonry-items" class="hash-link">Masonry Items</a>
</h3>
<p>You can also use the <a href="http://themes-pixeden.com/aurora-kit/grid.html#masonry-grid" class="au-underline">Masonry</a> grid style of <a href="http://themes-pixeden.com/aurora-kit/grid.html" class="au-underline">Aurora</a>. Create a <code>ae-masonry</code> container and add each item with the class<code>ae-masonry__item</code>. You can also set the number of columns for each viewport.</p>
<div class="ae-masonry ae-masonry-md-2"><a href="portfolio-item.html" class="rk-item ae-masonry__item"><img src="assets/img/project-1.jpg" alt="">
<div class="item-meta">
<h2>Essential Stationery</h2>
<p>Branding</p>
</div></a><a href="portfolio-item.html" class="rk-item ae-masonry__item"><img src="assets/img/project-2.jpg" alt="">
<div class="item-meta">
<h2>Pickled Tousled</h2>
<p>Art Direction</p>
</div></a><a href="portfolio-item.html" class="rk-item ae-masonry__item"><img src="assets/img/project-3.jpg" alt="">
<div class="item-meta">
<h2>Waistcoat vegan</h2>
<p>Graphic Design</p>
</div></a><a href="portfolio-item.html" class="rk-item ae-masonry__item"><img src="assets/img/project-4.jpg" alt="">
<div class="item-meta">
<h2>Tumblr hammock</h2>
<p>Packaging</p>
</div></a>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="ae-masonry ae-masonry-md-2 ae-masonry-xl-4">
<a href="item-url" class="rk-item <ins>ae-masonry__item</ins>">
<img src="img-url" />
<span class="item-meta">
<h2>Title</h2>
<p>Category</p>
</span>
</a>
<!-- other items... -->
</div></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h3 id="flexible-items"><a href="#flexible-items" class="hash-link">Flexible Items</a>
</h3>
<p>The special portfolio items we are using in Urku Portfolio adapt in a <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes" target="_balnk" class="au-underline">flexible</a> way to the viewport, alowing them for instance to resize to new <a href="#switch-layout" class="au-underline">layout switches</a>. Just add the class <code>rk-item--flex </code> along the <code>rk-item</code> class on each items, inside the flex container with the <code>rk-portfolio__items</code> class.<br>Those flexible items are implemented as <code>background-image</code> with incremental numbered classes like <code>item-{number}</code> to set the specific <code>background-image</code> for each item.</p>
</div>
</div>
<div class="rk-portfolio__items"><a href="portfolio-item.html" class="item-1 rk-item rk-item--flex"><span class="item-meta">
<h2>Essential Stationery</h2>
<p>Branding</p></span></a><a href="portfolio-item.html" class="item-2 rk-item rk-item--flex"><span class="item-meta">
<h2>Pickled Tousled</h2>
<p>Art Direction</p></span></a><a href="portfolio-item.html" class="item-3 rk-item rk-item--flex"><span class="item-meta">
<h2>Waistcoat vegan</h2>
<p>Graphic Design</p></span></a><a href="portfolio-item.html" class="item-4 rk-item rk-item--flex"><span class="item-meta">
<h2>Tumblr hammock</h2>
<p>Packaging</p></span></a><a href="portfolio-item.html" class="item-5 rk-item rk-item--flex"><span class="item-meta">
<h2>Biodiesel etsy</h2>
<p>Branding</p></span></a>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-portfolio__items">
<a href="item-url" class="rk-item <ins>rk-item--flex</ins> item-1">
<span class="item-meta">
<h2>Title</h2>
<p>Category</p>
</span>
</a>
<a href="item-url" class="rk-item item-2">
...
</a>
...
</div></code></pre>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2"><span><small>CSS <code>background-image</code> example.</small></span>
<pre><code>.item-2 {
background-image: url('path/to/img/');
}</code></pre>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h3 id="advanced-layouts"><a href="#advanced-layouts" class="hash-link">Advanced Layouts</a>
</h3>
<p>Our flexible items can be modified easily to create original custom advanced layouts.<br>A series of class allows you to modify the item size, aspect ratio and create smart item containers for precise layouts.</p>
<h5 id="size" class="ae-u-bolder"><a href="#size" class="hash-link">Size</a>
</h5>
<p>Based on a 12 columns grid, you can control the size in columns with the class <code>rk-size-{cols}</code>, for example <code>rk-size-6</code> would fill half a row (6 columns of 12).</p>
<div class="rk-portfolio__items">
<div class="rk-item rk-item--flex item-10 rk-size-4"></div>
<div class="rk-item rk-item--flex item-1 rk-size-8"></div>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-portfolio__items">
<div class="rk-item item-10 <ins>rk-size-4</ins>">
<!-- Item meta -->
</div>
<div class="rk-item item-1 <ins>rk-size-8</ins>">
<!-- Item meta -->
</div>
</div></code></pre>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h5 id="aspect-ratio" class="ae-u-bolder"><a href="#aspect-ratio" class="hash-link">Aspect Ratio</a>
</h5>
<p>You can control the aspect ratio and create different display view for the item. There are three aspect modifiers classes that are <code>rk-landscape</code>, <code>rk-portrait</code>or <code>rk-square</code>. Look below the previous example with a modifier. <br>Those helpers will let you create and control your flexible design layout and tweak it as necessary.</p>
<div class="rk-portfolio__items">
<div class="rk-item rk-item--flex item-10 rk-size-4"></div>
<div class="rk-item rk-item--flex item-1 rk-size-8 rk-landscape"></div>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1 au-xs-pbp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-portfolio__items">
<div class="rk-item item-10 rk-size-4
<!-- Item meta -->
</div>
<div class="rk-item item-1 rk-size-8 <ins>rk-landscape</ins>">
<!-- Item meta -->
</div>
</div></code></pre>
</div>
</div>
<div class="ae-grid ae-grid">
<div class="ae-grid__item item-lg-12">
<h5 id="hover-style"><a href="#hover-style" class="hash-link">Hover Style</a>
</h5>
<p>When hovering on an item a "Blend Mode" is applied to create a subtle effect. This is applied to the image through the CSS property <code>background-blend-mode</code>. This creates a special Black & White and Brightness effect.<br>We also add an extra layer when <code>item-meta</code> is used, to create a white semi transparent layer to help with text legibility.</p>
<div class="ae-grid au-xs-pbp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<div class="rk-portfolio__items"><a href="#0" class="rk-item rk-item--flex item-7"></a><a href="#0" class="rk-item rk-item--flex item-8 rk-landscape">
<div class="item-meta">
<h2>Trust fund</h2>
<p>Packaging</p>
</div></a></div>
<p><small> This effect is not visible in Safari browser as it has for now only partial support for blend modes.</small></p>
</div>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h5 id="smart-item-containers" class="ae-u-bolder"><a href="#smart-item-containers" class="hash-link">Smart Item Containers</a>
</h5>
<p>You can create complex layouts holding items in smart containers with the class <code>rk-items-cont</code>.</p>
<div class="rk-portfolio__items">
<div class="rk-items-cont rk-size-6">
<div class="rk-item rk-item--flex item-4 rk-landscape"></div>
<div class="rk-item rk-item--flex item-5 rk-landscape"></div>
</div>
<div class="rk-item rk-item--flex item-6"></div>
</div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-portfolio__items">
<div class="<ins>rk-items-cont</ins> rk-size-6">
<div class="rk-item item-4 rk-landscape">
<!-- Item meta -->
</div>
<div class="rk-item item-5 rk-landscape">
<!-- Item meta -->
</div>
</div>
<div class="rk-item item-6">
<!-- Item meta -->
</div>
</div></code></pre>
<p> <small>Look that for <code>item-6</code> we did not declare a <code>size</code> helper because the smart container make it fill the remaining available space. This lets you create precise layouts.</small></p>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h5 id="switch-layout" class="ae-u-bolder"><a href="#switch-layout" class="hash-link">Switch Layout</a>
</h5>
<p>The switch layout is an advanced use of our flexible items that lets the end-user switch between two layouts with only CSS, this is set-up with each portfolio item through classes.<br>Just add the <code>size</code> and <code>aspect-ratio</code> you want for the alternate item layout with <code>rk-tosize-{cols}</code> for the columns, and <code>rk-tolandscape</code>, <code>rk-toportrait</code> and <code>rk-tosquare</code> for the aspect ratio. <br>Try it by clicking on the switch icons below.</p>
</div>
</div>
<div class="au-xs-ta-center">
<input type="radio" name="layout-ctrl" checked id="layout-base" class="layout-ctrl-input">
<label for="layout-base" class="demo-switch">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-view-default"></use>
</svg>
</label>
<input type="radio" name="layout-ctrl" id="layout-grid" class="layout-ctrl-input">
<label for="layout-grid" class="demo-switch">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-view-alt"></use>
</svg>
</label>
<section class="rk-portfolio">
<div class="rk-portfolio__items">
<div class="rk-items-cont rk-size-6 rk-tosize-8">
<div class="rk-item rk-item--flex item-4 rk-tosize-6 rk-landscape">
<div class="item-meta">
<h2>Tumblr hammock</h2>
<p>Packaging</p>
</div>
</div>
<div class="rk-item rk-item--flex item-5 rk-tosize-6 rk-landscape">
<div class="item-meta">
<h2>Biodiesel etsy</h2>
<p>Branding</p>
</div>
</div>
</div>
<div class="rk-item rk-item--flex item-6 rk-tosize-4">
<div class="item-meta">
<h2>Gentrify artisan</h2>
<p>Graphic Design</p>
</div>
</div>
</div>
</section>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-portfolio__items">
<div class="rk-items-cont rk-size-6 <ins>rk-tosize-8</ins>">
<div class="rk-item item-4 <ins>rk-tosize-6</ins> rk-landscape">
<!-- Item meta -->
</div>
<div class="rk-item item-5 <ins>rk-tosize-6</ins> rk-landscape">
<!-- Item meta -->
</div>
</div>
<div class="rk-item item-6 <ins>rk-tosize-4</ins>">
<!-- Item meta -->
</div>
</div></code></pre>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-10 item-lg--offset-1"><span> <small>To display the switch you can include the <code>radio</code> inputs, its <code>labels</code> and if needed, the mobile version in <code>svg</code>, before the portfolio container.</small></span>
<pre><code><input type="radio" name="layout-ctrl" id="layout-base" class="layout-ctrl-input">
<div class="ae-container-fluid rk-layout-ctrl-cont">
<label for="layout-base" class="rk-layout-ctrl">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-view-default" />
</svg>
</label>
</div>
<input type="radio" name="layout-ctrl" id="layout-grid" class="layout-ctrl-input">
<div class="ae-container-fluid rk-layout-ctrl-cont">
<label for="layout-grid" class="rk-layout-ctrl">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-view-alt" />
</svg>
</label>
</div>
<!-- Mobile version -->
<div class="rk-layout-ctrl-mobile">
<svg viewBox="0 0 9 9" class="layout-mob-1">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-2">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-3">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-4">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
</div>
<section class="rk-portfolio">
<div class="rk-portfolio__items">
...items
</div>
</section></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-3">
<div class="ae-grid__item item-lg-12">
<h2 id="blog-items"><a href="#blog-items" class="hash-link">Blog items</a>
</h2>
<p>The Blog item uses a similar markup than the Portfolio items, with additional blog related content.</p>
<p>The <code>post-img</code> accepts the same <code>aspect-ratio</code> classes, and control for the switch layouts.<br>We also use a <code>blog-info</code> section, with <code>blog-info__title</code>, <code>blog-info__author</code> and <code>blog-info__excerpt</code>. And a <code>blog-meta</code> section with <code>blog-meta__comments</code>, <code>blog-meta__date</code> and <code>blog-meta__read-more</code><small>[ as an <code>arrow-button</code> ]</small>.</p>
<div class="ae-grid au-xs-ptp-1 au-xs-pbp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="rk-blog__items">
<div class="rk-blog__item">
<a href="post-url" class="post-img post-x rk-landscape rk-tosquare"></a>
<div class="blog-info">
<h2 class="blog-info__title">Post Title</h2>
<h5 class="blog-info__author">Author</h5>
<p class="blog-info__excerpt">Lorem ipsum...</p>
</div>
<div class="blog-meta">
<a href="post-url#comments" class="blog-meta__comments">1 Comment</a>
<a href="post-url" class="blog-meta__date">December, 1 2015</a>
<a href="post-url" class="arrow-button blog-meta__read-more">
<svg>
</svg>
</a>
</div>
</div>
</div></code></pre>
</div>
</div>
<p>We created another <code>switch</code> layout display for the blog section with a switch between full width item and three columns (2/3 columns depending on the viewport <code>media quesries</code>). In case you want only the columns view, you would add the class <code>rk-blog--columns</code> to the parent container <code>rk-blog</code>.<br>The code to include is pretty similar to the portfolio <code>switch</code>. Include it before the blog container elements.</p>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-10 item-lg--offset-1">
<pre><code><input type="radio" name="layout-ctrl" id="layout-base" class="layout-ctrl-input">
<div class="ae-container-fluid rk-layout-ctrl-cont">
<label for="layout-base" class="rk-layout-ctrl">
<svg>
<use xlink:href="assets/img/symbols.svg<ins>#icon-view-full</ins>" />
</svg>
</label>
</div>
<input type="radio" name="layout-ctrl" id="layout-grid" class="layout-ctrl-input">
<div class="ae-container-fluid rk-layout-ctrl-cont">
<label for="layout-grid" class="rk-layout-ctrl">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-view-alt" />
</svg>
</label>
</div>
<!-- Mobile version -->
<div class="rk-layout-ctrl-mobile <ins>layout-blog</ins>">
<svg viewBox="0 0 9 9" class="layout-mob-1">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-2">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-3">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
<svg viewBox="0 0 9 9" class="layout-mob-4">
<rect width="100%" height="100%" fill="currentCOlor" />
</svg>
</div>
<section class="rk-blog">
<div class="rk-blog__items">
...blog-items
</div>
</section></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-3">
<div class="ae-grid__item item-lg-12">
<h2 id="inner-pages"><a href="#inner-pages" class="hash-link">Inner Pages</a>
</h2>
<h5 id="hero-image"><a href="#hero-image" class="hash-link">Hero Image</a>
</h5>
<p>To create a dynamic flexible layout, the section with the class <code>rk-portfolio-cover</code> will automatically cover all the <code>height</code> of the viewport until the end user scrolls down.<br> You can see an example in an inner page <a href="portfolio-item.html" class="au-underline">here</a>.<br>You can also use a helper class <code>item-inside__meta--contrast</code> that adds a subtle opacity layer between the image and the Item Title to augment the legibility of the text if needed.</p>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><section class="ae-container-fluid ae-container-fluid--full">
<header class="rk-portfolio-cover item-inside-x">
<div class="item-inside__meta item-inside__meta--contrast">
<h1 class="rk-portfolio-title">Item Title</h2>
<h5 class="rk-portfolio-category">Category</h5>
</div>
</header>
</sectionv></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-12">
<h5 id="smart-styles"><a href="#smart-styles" class="hash-link">Smart Styles</a>
</h5>
<p>We created smart design styles that lets you display your text and image while maintaining vertical rhythm and white spaces to create precise and harmonious responsive layouts.<br><a href="design-styles.html" class="au-underline">Check them out</a> in this page with ready to use snippets.</p>
<div class="group-buttons"><a href="design-styles.html" class="arrow-button arrow-button--center">Design Styles<span class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg></span></a></div>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-3">
<div class="ae-grid__item item-lg-12">
<h2 id="arrow-buttons"><a href="#arrow-buttons" class="hash-link">Arrow Buttons</a>
</h2>
<p>This template uses buttons with an animated <code>svg</code> arrow.<br>There are some helper classes to invert the arrow direction, or encapsulate two buttons as a group.</p>
<div class="group-buttons au-mt-2"><a href="#0" class="arrow-button arrow-button--reverse arrow-button--center">Prev
<div class="arrow-cont arrow-cont-rev">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a><a href="#0" class="arrow-button arrow-button--center">Next<span class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg></span></a></div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><a class="arrow-button"> Button
<span class="arrow-cont">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a></code></pre><a href="#0" class="arrow-button">Button<span class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg></span></a>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><a class="arrow-button arrow-button--reverse"> Reverse
<div class="arrow-cont arrow-cont-rev">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a></code></pre><a href="#0" class="arrow-button arrow-button--reverse">Reverse
<div class="arrow-cont arrow-cont-rev">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><a class="arrow-button arrow-button--center"> Center
<span class="arrow-cont">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a></code></pre>
<div class="group-buttons"><a href="#0" class="arrow-button arrow-button--center">Center
<div class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a></div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><a class="arrow-button arrow-button--right"> Right
<span class="arrow-cont">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a></code></pre>
<div class="group-buttons"><a href="#0" class="arrow-button arrow-button--right">Right
<div class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a></div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><a class="arrow-button arrow-button--right arrow-button--out"> Post
<span class="arrow-cont">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a></code></pre>
<div class="group-buttons"><a href="#0" class="arrow-button arrow-button--out arrow-button--right">Post
<div class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a></div>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><div class="group-buttons">
<a class="arrow-button arrow-button--reverse arrow-button--center"> Left Center
<div class="arrow-cont arrow-cont-rev">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</div>
</a>
<a class="arrow-button arrow-button--center"> Right Center
<span class="arrow-cont">
<svg><use xlink:href="assets/img/symbols.svg#arrow"/></svg>
</span>
</a>
</div></code></pre>
<div class="group-buttons"><a class="arrow-button arrow-button--reverse arrow-button--center">Left Center
<div class="arrow-cont arrow-cont-rev">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a><a class="arrow-button arrow-button--center">Right Center
<div class="arrow-cont">
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg>
</div></a></div>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-3">
<div class="ae-grid__item item-lg-12">
<h2 id="main-header"><a href="#main-header" class="hash-link">Main Header</a>
</h2>
<p>The <code>rk-header</code> is the header component used in all pages, it contains the <code>rk-logo</code> and the<code>rk-navigation</code> with <code>rk-menu</code> and <code>rk-search</code> inside of it.<br>To set the header and switch as fixed, you can add the class<code>top-fixed</code> to the <code>body</code> element.</p>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<pre><code><header class="rk-header rk-container--full">
<input type="checkbox" id="mobile-menu" class="rk-mobile-menu">
<label for="mobile-menu">
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
<svg>
<use xlink:href="assets/img/symbols.svg#bar"></use>
</svg>
</label>
<div class="rk-container rk-topbar">
<h1 class="rk-logo"><a href="index.html">urku portfolio<sup>tm</sup></a></h1>
<nav class="rk-navigation">
<ul class="rk-menu">
<li class="rk-menu__item">
<a href="url" class="rk-menu__link">Link</a>
</li>
<li class="rk-menu__item">
<a href="url" class="rk-menu__link">Link</a>
<nav class="rk-menu__sub">
<ul class="rk-container">
<li class="rk-menu__item">
<a href="url" class="rk-menu__link">Sub</a>
</li>
...
</ul>
</nav>
</li>
...
</ul>
<form class="rk-search">
<input type="text" placeholder="Search" id="urku-search" class="rk-search-field">
<label for="urku-search">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-search"></use>
</svg>
</label>
</form>
</nav>
</div>
</header></code></pre>
</div>
</div>
<div class="ae-grid ae-grid au-xs-ptp-3">
<div class="ae-grid__item item-lg-12">
<h2 id="plugin-pehoverimage"><a href="#plugin-pehoverimage" class="hash-link">Plugin peHoverImage</a>
</h2>
<p>This plugin allows you to show another image when hovering a portfolio item. <br>Add the class <code>rk-item--hover</code> to the item and declare the alternative image through the <code>data-bg-src</code> attribute.<br> For the Flex Portfolio, you need to add <code>data-bg-src="origin"</code> and declare the alternative image as <code>data-img-src</code>. You could also declare both <code>data-bg-src</code><small>(main)</small> and <code>data-img-src</code><small>(alt)</small> through the html markup.</p>
</div>
<p>Below a list of options that you can declare on initialization:<br><code>elems</code><small> the CSS selector for the effect | default: <code>'.rk-item--hover'</code></small><br><code>bgSrc</code><small> path to the default image | default: <code>null</code></small><br><code>transition</code><small> valid CSS time for the fade transition | default: <code>.3s</code></small><br><code>meta</code><small> boolean to show the meta info on hover | default: <code>false</code></small><br><code>reverse</code><small> boolean to show the alternative image first | default: <code>false</code></small><br><code>bgColor</code><small> valid CSS background-color for the portfolio hover | default: <code>'white'</code></small></p>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2"><code>basic markup</code>
<pre><code><div class="rk-portfolio__items">
<div class="rk-item <ins>rk-item--hover</ins>" <ins>data-bg-src</ins>="path/to/alt/image">
<img src="path/to/image"/>
</div>
</div></code></pre><code>load plugin</code>
<pre><code><script src="path/to/pe-hoverimage.min.js"></script></code></pre><code>plugin initialization</code>
<pre><code>var hover = new peHoverImg();
hover.init();
// or Init with options
hover.init({
elems: '.rk-item--hover',
bgSrc: 'path/to/default/image.jpg',
transition: '.3s',
meta: false,
reverse: false,
bgColor: 'white'
});</code></pre>
</div>
</div>
<div class="ae-grid au-xs-ptp-1">
<div class="ae-grid__item item-lg-8 item-lg--offset-2">
<div class="group-buttons"><a href="portfolio-hover.html" class="arrow-button arrow-button--center">View Examples
<svg>
<use xlink:href="assets/img/symbols.svg#arrow"></use>
</svg></a></div>
</div>
</div>
</div>
</section>
<footer class="ae-container-fluid rk-footer ">
<div class="ae-grid ae-grid--collapse">
<div class="ae-grid__item item-lg-4 au-xs-ta-center au-lg-ta-left">
<ul class="rk-menu rk-footer-menu">
<li class="rk-menu__item"><a href="about.html" class="rk-menu__link">About</a>
</li>
<li class="rk-menu__item"><a href="documentation.html" class="rk-menu__link">Docs</a>
</li>
<li class="rk-menu__item"><a href="contact.html" class="rk-menu__link">Contact</a>
</li>
</ul>
<p class="rk-footer__text rk-footer__copy "> <span class="ae-u-bold">© </span><span class="ae-u-bolder">2015 URKU PORTFOLIO </span>All Right Reserved.</p>
</div>
<div class="ae-grid__item item-lg-4 au-xs-ta-center"><a href="#0" class="rk-social-btn ">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-facebook"></use>
</svg></a><a href="#0" class="rk-social-btn ">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-twitter"></use>
</svg></a><a href="#0" class="rk-social-btn ">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-pinterest"></use>
</svg></a><a href="#0" class="rk-social-btn ">
<svg>
<use xlink:href="assets/img/symbols.svg#icon-tumblr"></use>
</svg></a></div>
<div class="ae-grid__item item-lg-4 au-xs-ta-center au-lg-ta-right">
<p class="rk-footer__text rk-footer__contact "> <span class="ae-u-bold">Email: </span><span class="ae-u-bolder"> <a href="#0" class="rk-dark-color ">contact@urkuportfolio.com </a></span></p>
<p class="rk-footer__text rk-footer__by">Theme by <a href="http://pixeden.com" class="ae-u-bolder">Pixeden.</a></p>
</div>
</div>
</footer>
<script src="assets/js/svg4everybody.min.js"></script>
<script>svg4everybody();</script>
<script src="assets/js/main.min.js"></script>
<script src="assets/js/pe-navscroll.min.js"></script>
<script>
/// navScroll init
peNavScroll.init({
nav:'.rk-navigation',
class:'active',
duration: 500,
hashChange: true,
offset: 50,
allLinks: true,
easingFunction: easing.easeInOutCubic
});
//- Select Code
var pres = document.querySelectorAll('pre');
[].slice.call(pres).forEach(function(elem, index){
pres[index].addEventListener('click', function(){
SelectText(this)
})
})
</script>
</body>
</html>