krad 3.2.6 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7aa27a8e6be95cfce60ba70ee7319bfb516816a8
4
- data.tar.gz: f433a2c138163c30c296445711c36f6993ce92aa
3
+ metadata.gz: 240f2c7053f96d165c20b57bb3767e56736bca2a
4
+ data.tar.gz: ae15a2362683f4e66fbb6266da2d1a60f13b4acf
5
5
  SHA512:
6
- metadata.gz: 0971567f5f260e30f294c500b29136e1a2404c835156d5832ce91e667c3f01da3d4c6dd2a6cda153bc403ddd1d82c30d9f377410f684b3702718b2e9d3c9d3d1
7
- data.tar.gz: 1018867d78b7f1f5242724685e07f61be36db8e29361c301a6cfebdffa6ce308985ad436028f238382f6629dd85e1a5f344454ad6e31047602e7ff88f08abf19
6
+ metadata.gz: 3a5b1f6832a0eb91128c4741ff2b384c114158a11712ba6d070970d8bbbab4988c8936b999d08a0c346602a3c82f88f092612abbb62a9866bbb9edd0547be8b8
7
+ data.tar.gz: d8b37522dd1ea7cc11fe553288a3342093cf655d0cdb27cd300f85cdade1a0a18ac5b112102b3245700a737b0421e7265c7d7ab22799a66b2e99eb5419c966f6
data/_includes/krad.scss CHANGED
@@ -43,4 +43,5 @@
43
43
  @import "layouts/home";
44
44
  @import "layouts/post";
45
45
  @import "layouts/page";
46
- @import "layouts/footer";
46
+ @import "layouts/footer";
47
+ @import "layouts/portfolio";
data/_layouts/home.html CHANGED
@@ -16,12 +16,12 @@
16
16
  {% for post in site.posts %}
17
17
 
18
18
  {% unless post.next %}
19
- <h3>{{ post.date | date: '%Y' }}</h3>
19
+ <h2>{{ post.date | date: '%Y' }}</h2>
20
20
  {% else %}
21
21
  {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
22
22
  {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
23
23
  {% if year != nyear %}
24
- <h3>{{ post.date | date: '%Y' }}</h3>
24
+ <h2>{{ post.date | date: '%Y' }}</h2>
25
25
  {% endif %}
26
26
  {% endunless %}
27
27
 
@@ -0,0 +1,42 @@
1
+ /* Portfolio */
2
+ .portfolio {
3
+ padding: 0 2px;
4
+ list-style: none;
5
+ li.cube {
6
+ position: relative;
7
+ color: $color-gray-smoke;
8
+ -webkit-perspective: 1000px;
9
+ perspective: 1000px;
10
+ .card-wrap {
11
+ text-align: center;
12
+ margin: 0;
13
+ @include transition(transform, .33s);
14
+ @include transform-style(preserve-3d);
15
+ }
16
+ img {
17
+ width: 100%;
18
+ }
19
+ .flip {
20
+ background: rgba(0,0,0,0.9);
21
+ height: 100%;
22
+ width: 100%;
23
+ }
24
+ .flop {
25
+ @extend .flip;
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ padding: 0.8rem;
30
+ @include box-sizing(border-box);
31
+ @include transform(rotateY(180deg));
32
+ h2 {
33
+ color: $color-gray-milk;
34
+ }
35
+ }
36
+ &:hover {
37
+ .card-wrap {
38
+ @include transform(rotateY(-180deg));
39
+ }
40
+ }
41
+ }
42
+ }
@@ -46,4 +46,5 @@
46
46
  @import "layouts/home";
47
47
  @import "layouts/post";
48
48
  @import "layouts/page";
49
- @import "layouts/footer";
49
+ @import "layouts/footer";
50
+ @import "layouts/portfolio";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krad
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lê Thanh Tùng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2016-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -90,6 +90,7 @@ files:
90
90
  - _sass/layouts/_footer.scss
91
91
  - _sass/layouts/_home.scss
92
92
  - _sass/layouts/_page.scss
93
+ - _sass/layouts/_portfolio.scss
93
94
  - _sass/layouts/_post.scss
94
95
  - _sass/layouts/_responsive-menu.scss
95
96
  - _sass/mixins/_clearfix.scss