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 +4 -4
- data/_includes/krad.scss +2 -1
- data/_layouts/home.html +2 -2
- data/_sass/layouts/_portfolio.scss +42 -0
- data/assets/styles/krad.scss +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 240f2c7053f96d165c20b57bb3767e56736bca2a
|
4
|
+
data.tar.gz: ae15a2362683f4e66fbb6266da2d1a60f13b4acf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a5b1f6832a0eb91128c4741ff2b384c114158a11712ba6d070970d8bbbab4988c8936b999d08a0c346602a3c82f88f092612abbb62a9866bbb9edd0547be8b8
|
7
|
+
data.tar.gz: d8b37522dd1ea7cc11fe553288a3342093cf655d0cdb27cd300f85cdade1a0a18ac5b112102b3245700a737b0421e7265c7d7ab22799a66b2e99eb5419c966f6
|
data/_includes/krad.scss
CHANGED
data/_layouts/home.html
CHANGED
@@ -16,12 +16,12 @@
|
|
16
16
|
{% for post in site.posts %}
|
17
17
|
|
18
18
|
{% unless post.next %}
|
19
|
-
<
|
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
|
-
<
|
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
|
+
}
|
data/assets/styles/krad.scss
CHANGED
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.
|
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
|
+
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
|