minima-rock 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/share_bar.html +53 -0
- data/_layouts/post.html +2 -0
- data/_sass/minima/_share.scss +87 -0
- data/_sass/minima.scss +1 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 175b70fd18db043064bfbd18a78fcdc1aa0d21220d99e82875af92298bd6e332
|
4
|
+
data.tar.gz: e8d09186baeac11a59b9e509b0a9d86eeff291ffe51cd020ce3739c3b6560814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de257cea28dd3880791a1da02ba0623a1b97d21cc52534a203a600a2eeefbe664a166d8ae7375d7be5897f6d7810d4fd29799b7aa1c5b4d9bfc9e3a2ab0f0388
|
7
|
+
data.tar.gz: 57a2f40c2fa2b4ff50b430a1cabcca68bc8259f880e06cf2ba1209ec4a535a57ded1db6df8ad4aa42bdcaee390fb9419433643889de45185fab0ec3878af2adf
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{%- if page.share != false and jekyll.environment == "production" -%}
|
2
|
+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
3
|
+
<div id="share-bar">
|
4
|
+
<div class="share-buttons">
|
5
|
+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
6
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
7
|
+
title="Share on Facebook" >
|
8
|
+
<i class="fa fa-facebook-official share-button"></i>
|
9
|
+
</a>
|
10
|
+
|
11
|
+
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
12
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
13
|
+
title="Share on Twitter" >
|
14
|
+
<i class="fa fa-twitter share-button"></i>
|
15
|
+
</a>
|
16
|
+
|
17
|
+
<a href="https://plus.google.com/share?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
18
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
19
|
+
title="Share on Google+" >
|
20
|
+
<i class="fa fa-google-plus share-button"></i>
|
21
|
+
</a>
|
22
|
+
|
23
|
+
<a href="https://www.pinterest.com/pin/create/button/?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
24
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
25
|
+
title="Share on Pinterest" >
|
26
|
+
<i class="fa fa-pinterest-p share-button"></i>
|
27
|
+
</a>
|
28
|
+
|
29
|
+
<a href="https://www.tumblr.com/share/link?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
30
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
31
|
+
title="Share on Tumblr" >
|
32
|
+
<i class="fa fa-tumblr share-button"></i>
|
33
|
+
</a>
|
34
|
+
|
35
|
+
<a href="http://www.reddit.com/submit?url={{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
36
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=900,height=500,toolbar=1,resizable=0'); return false;"
|
37
|
+
title="Share on Reddit" >
|
38
|
+
<i class="fa fa-reddit-alien share-button"></i>
|
39
|
+
</a>
|
40
|
+
|
41
|
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ site.baseurl }}{{ page.url }}&title={{ page.title }}&summary={{ page.description }}&source={{ site.title }}"
|
42
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
43
|
+
title="Share on LinkedIn" >
|
44
|
+
<i class="fa fa-linkedin share-button"></i>
|
45
|
+
</a>
|
46
|
+
|
47
|
+
<a href="mailto:?subject={{ page.title }}&body=Check out this site {{ site.url }}{{ site.baseurl }}{{ page.url }}"
|
48
|
+
title="Share via Email" >
|
49
|
+
<i class="fa fa-envelope share-button"></i>
|
50
|
+
</a>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
{%- endif -%}
|
data/_layouts/post.html
CHANGED
@@ -0,0 +1,87 @@
|
|
1
|
+
/* Share Bar */
|
2
|
+
#share-bar {
|
3
|
+
font-size: 26px;
|
4
|
+
}
|
5
|
+
|
6
|
+
/* All buttons */
|
7
|
+
.share-buttons a {
|
8
|
+
text-decoration: none;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Each button */
|
12
|
+
.share-button {
|
13
|
+
margin: 0px;
|
14
|
+
margin-bottom: 10px;
|
15
|
+
margin-right: 3px;
|
16
|
+
border: 1px solid #D3D6D2;
|
17
|
+
border-radius: 3px;
|
18
|
+
padding: 5px 10px 5px 10px;
|
19
|
+
}
|
20
|
+
.share-button:hover {
|
21
|
+
opacity: 1;
|
22
|
+
color: #ffffff;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Facebook button */
|
26
|
+
.fa-facebook-official {
|
27
|
+
color: #3b5998;
|
28
|
+
}
|
29
|
+
.fa-facebook-official:hover {
|
30
|
+
background-color: #3b5998;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Twitter button */
|
34
|
+
.fa-twitter {
|
35
|
+
color: #55acee;
|
36
|
+
}
|
37
|
+
.fa-twitter:hover {
|
38
|
+
background-color: #55acee;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Google-PLus button */
|
42
|
+
.fa-google-plus {
|
43
|
+
color: #dd4b39;
|
44
|
+
}
|
45
|
+
.fa-google-plus:hover {
|
46
|
+
background-color: #dd4b39;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Pinterest button */
|
50
|
+
.fa-pinterest-p {
|
51
|
+
color: #cb2027;
|
52
|
+
}
|
53
|
+
.fa-pinterest-p:hover {
|
54
|
+
background-color: #cb2027;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Tumblr button */
|
58
|
+
.fa-tumblr {
|
59
|
+
color: #32506d;
|
60
|
+
}
|
61
|
+
.fa-tumblr:hover {
|
62
|
+
background-color: #32506d;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Reddit button */
|
66
|
+
.fa-reddit-alien {
|
67
|
+
color: #ff4500;
|
68
|
+
}
|
69
|
+
.fa-reddit-alien:hover {
|
70
|
+
background-color: #ff4500;
|
71
|
+
}
|
72
|
+
|
73
|
+
/* LinkedIn button */
|
74
|
+
.fa-linkedin {
|
75
|
+
color: #007bb5;
|
76
|
+
}
|
77
|
+
.fa-linkedin:hover {
|
78
|
+
background-color: #007bb5;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Email button */
|
82
|
+
.fa-envelope {
|
83
|
+
color: #444444;
|
84
|
+
}
|
85
|
+
.fa-envelope:hover {
|
86
|
+
background-color: #444444;
|
87
|
+
}
|
data/_sass/minima.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minima-rock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Glovier
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- _includes/google-analytics.html
|
101
101
|
- _includes/head.html
|
102
102
|
- _includes/header.html
|
103
|
+
- _includes/share_bar.html
|
103
104
|
- _includes/social.html
|
104
105
|
- _includes/tags_bar.html
|
105
106
|
- _layouts/default.html
|
@@ -109,6 +110,7 @@ files:
|
|
109
110
|
- _sass/minima.scss
|
110
111
|
- _sass/minima/_base.scss
|
111
112
|
- _sass/minima/_layout.scss
|
113
|
+
- _sass/minima/_share.scss
|
112
114
|
- _sass/minima/_syntax-highlighting.scss
|
113
115
|
- assets/css/style.scss
|
114
116
|
- assets/js/color.js
|