junior-jekyll-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +152 -0
- data/_includes/ajaxify_content_form.html +30 -0
- data/_includes/css/portfolio.css +931 -0
- data/_includes/footer.html +109 -0
- data/_includes/head.html +113 -0
- data/_includes/header.html +116 -0
- data/_includes/js/flicker.js +56 -0
- data/_includes/js/gh_projects.js +1422 -0
- data/_includes/js/plugins.js +10 -0
- data/_includes/js/script.js +53 -0
- data/_includes/js/util_buttons.js +23 -0
- data/_includes/navigation.html +116 -0
- data/_includes/pagination.html +92 -0
- data/_includes/post_footer.html +9 -0
- data/_includes/share_buttons.html +111 -0
- data/_includes/social_links.html +53 -0
- data/_layouts/about.html +14 -0
- data/_layouts/center.html +26 -0
- data/_layouts/cv.html +86 -0
- data/_layouts/default.html +43 -0
- data/_layouts/default_design.html +57 -0
- data/_layouts/page.html +17 -0
- data/_layouts/paper.html +3 -0
- data/_layouts/post-narrow.html +14 -0
- data/_layouts/post-wide.html +21 -0
- data/_layouts/post.html +93 -0
- data/_sass/_animations.scss +60 -0
- data/_sass/_base.scss +34 -0
- data/_sass/_basscss.scss +25 -0
- data/_sass/_blockquotes.scss +20 -0
- data/_sass/_clearfix.scss +8 -0
- data/_sass/_code.scss +70 -0
- data/_sass/_footer.scss +66 -0
- data/_sass/_forms.scss +106 -0
- data/_sass/_gists.scss +8 -0
- data/_sass/_header.scss +40 -0
- data/_sass/_links.scss +39 -0
- data/_sass/_measure.scss +4 -0
- data/_sass/_media-queries.scss +64 -0
- data/_sass/_pagination.scss +32 -0
- data/_sass/_positions.scss +7 -0
- data/_sass/_posts.scss +49 -0
- data/_sass/_social-icons.scss +25 -0
- data/_sass/_tables.scss +45 -0
- data/_sass/_typography.scss +24 -0
- data/_sass/_variables.scss +120 -0
- data/_sass/basscss/_base-buttons.scss +28 -0
- data/_sass/basscss/_base-forms.scss +57 -0
- data/_sass/basscss/_base-reset.scss +25 -0
- data/_sass/basscss/_base-typography.scss +101 -0
- data/_sass/basscss/_buttons-blue.scss +27 -0
- data/_sass/basscss/_color-base.scss +28 -0
- data/_sass/basscss/_colors.scss +97 -0
- data/_sass/basscss/_syntax-highlighting.scss +119 -0
- data/_sass/basscss/_utility-headings.scss +37 -0
- data/_sass/basscss/_utility-typography.scss +38 -0
- data/_sass/basscss/_utility-white-space.scss +182 -0
- metadata +145 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
|
2
|
+
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
|
3
|
+
{console.log();return window.console;}catch(err){return window.console={};}})());
|
4
|
+
|
5
|
+
|
6
|
+
/* BackgroundCheck
|
7
|
+
http://kennethcachia.com/background-check
|
8
|
+
v1.1.0 */
|
9
|
+
|
10
|
+
(function(a,b){if(typeof define==="function"&&define.amd){define(b)}else{a.BackgroundCheck=b(a)}}(this,function(){var h=window.orientation!==undefined?"orientationchange":"resize",d,c,b,l,t,q={};function s(x){if(x===undefined||x.targets===undefined){throw"Missing attributes"}q.targets=k(x.targets);q.images=k(x.images||"img");q.changeParent=x.changeParent||false;q.threshold=x.threshold||50;q.minComplexity=x.minComplexity||30;q.minOverlap=x.minOverlap||50;q.windowEvents=x.windowEvents||true;q.maxDuration=x.maxDuration||500;q.mask=x.mask||{r:0,g:255,b:0};q.debug=x.debug||false;q.classes=x.classes||{dark:"background--dark",light:"background--light",complex:"background--complex"};if(d===undefined){i();if(d){c.style.position="fixed";c.style.top="0px";c.style.left="0px";c.style.width="100%";c.style.height="100%";window.addEventListener(h,e.bind(null,function(){n();u()}));window.addEventListener("scroll",e.bind(null,u));n();u()}}}function w(){d=null;c=null;b=null;q={};if(l){clearTimeout(l)}}function g(x){if(v("debug")){console.log(x)}}function k(x){var y=x;if(typeof x==="string"){y=document.querySelectorAll(x)}else{if(x.nodeType===1){y=[x]}}if(!y||y.length===0){throw"Elements not found"}return y}function i(){c=document.createElement("canvas");if(c&&c.getContext){b=c.getContext("2d");d=true}else{d=false}}function j(y){var x=new Date().getTime()-y;g("Duration: "+x+"ms");if(x>v("maxDuration")){console.log("BackgroundCheck - Killed");o();w()}}function n(){t={left:0,top:0,right:document.body.clientWidth,bottom:window.innerHeight};c.width=document.body.clientWidth;c.height=window.innerHeight}function r(y){var x=y.boundingClientRect||y.getBoundingClientRect();b.drawImage(y,x.left,x.top,x.width,x.height)}function o(z){var x=z?[z]:v("targets"),A;for(var y=0;y<x.length;y++){A=x[y];A=v("changeParent")?A.parentNode:A;A.classList.remove(v("classes").light);A.classList.remove(v("classes").dark);A.classList.remove(v("classes").complex)}}function a(C){var E=C.getBoundingClientRect(),D,B,z=0,F,A=0,I=0,x,G=0,H=v("mask");if(E.width>0&&E.height>0){o(C);C=v("changeParent")?C.parentNode:C;B=b.getImageData(E.left,E.top,E.width,E.height).data;for(var y=0;y<B.length;y+=4){if(B[y]===H.r&&B[y+1]===H.g&&B[y+2]===H.b){G++}else{z++;D=(0.2126*B[y])+(0.7152*B[y+1])+(0.0722*B[y+2]);F=D-I;A+=F*F;I=I+F/z}}if(G<=(B.length/4)*(1-(v("minOverlap")/100))){x=Math.sqrt(A/z)/255;I=I/255;g("Target: "+C.className+" lum: "+I+" var: "+x);C.classList.add(I<=(v("threshold")/100)?v("classes").dark:v("classes").light);if(x>v("minComplexity")/100){C.classList.add(v("classes").complex)}}}}function f(y,x){y=y.getBoundingClientRect();x=x===t?x:x.getBoundingClientRect();return !(y.right<x.left||y.left>x.right||y.top>x.bottom||y.bottom<x.top)}function p(x){var D=new Date().getTime(),C=(x&&x.tagName==="IMG")?"image":"targets",A=x?false:true,z=v("targets").length,B;for(var y=0;y<z;y++){B=v("targets")[y];if(f(B,t)){if(C==="targets"&&(!x||x===B)){A=true;a(B)}else{if(C==="image"&&f(B,x)){a(B)}}}}if(C==="targets"&&!A){throw x+" is not a target"}j(D)}function u(D,E,x){var z,y=false,F=v("mask"),A=x?[x]:v("images");g("--- BackgroundCheck ---");g("Loading: "+y);g("onLoad event: "+(x&&x.src));if(d){if(E!==true){b.clearRect(0,0,c.width,c.height);b.fillStyle="rgb("+F.r+", "+F.g+", "+F.b+")";b.fillRect(0,0,c.width,c.height)}for(var B=0;B<A.length;B++){z=A[B];if(f(z,t)){if(z.tagName=="DIV"&&z.style.backgroundImage!==undefined){var C=new Image();C.src=z.style.backgroundImage.replace(/url\(|\)/gi,"");C.boundingClientRect=z.getBoundingClientRect();z=C}if(z.naturalWidth===0){y=true;g("Loading... "+z.src);z.addEventListener("load",u.bind(null,D,true,z))}else{g("Drawing: "+z.src);r(z)}}}if(!x&&!y){p(D)}else{if(x){p(x)}}}}function e(x){if(v("windowEvents")===true){if(l){clearTimeout(l)}l=setTimeout(x,200)}}function m(y,z){if(q[y]===undefined){throw"Unknown property - "+y}else{if(z===undefined){throw"Missing value for "+y}}if(y==="targets"||y==="images"){try{z=k(y==="images"&&!z?"img":z)}catch(x){z=[];throw x}}o();q[y]=z;u()}function v(x){if(q[x]===undefined){throw"Unknown property - "+x}return q[x]}return{init:s,destroy:w,refresh:u,set:m,get:v}}));
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// this aint supposed to be private... just idiot proof
|
2
|
+
var showcasePwd = "sesame";
|
3
|
+
|
4
|
+
$(document).ready(function(){
|
5
|
+
bindProjectNavArrows();
|
6
|
+
bindPasswordDetect();
|
7
|
+
fadePageIn();
|
8
|
+
|
9
|
+
BackgroundCheck.init({
|
10
|
+
targets: '.target',
|
11
|
+
images: '.post-wide-hero'
|
12
|
+
});
|
13
|
+
|
14
|
+
setTimeout(function(){
|
15
|
+
BackgroundCheck.refresh();
|
16
|
+
},300);
|
17
|
+
|
18
|
+
});
|
19
|
+
|
20
|
+
function bindPasswordDetect(){
|
21
|
+
$( "#showcase__password" ).keyup(function() {
|
22
|
+
if($( "#showcase__password" ).val() == showcasePwd){
|
23
|
+
$( "#showcase__password" ).hide();
|
24
|
+
$( ".showcase").show();
|
25
|
+
}
|
26
|
+
});
|
27
|
+
}
|
28
|
+
|
29
|
+
function bindProjectNavArrows(){
|
30
|
+
$(".next-project, .prev-project").click(function(evt){
|
31
|
+
evt.preventDefault();
|
32
|
+
fadePageOut($(this).attr('href'));
|
33
|
+
});
|
34
|
+
}
|
35
|
+
|
36
|
+
function fadePageOut(targetHref){
|
37
|
+
$("#main").fadeOut(200, function(){
|
38
|
+
$( "#main" ).load( targetHref + " #container #main", function(response, status, xhr){
|
39
|
+
bindProjectNavArrows();
|
40
|
+
var stateObj = {
|
41
|
+
html: $("#main").html()
|
42
|
+
};
|
43
|
+
document.title = $(response).filter("title").text();
|
44
|
+
window.history.pushState(stateObj, document.title, targetHref);
|
45
|
+
$("#main").fadeIn(200);
|
46
|
+
bindPasswordDetect();
|
47
|
+
});
|
48
|
+
});
|
49
|
+
}
|
50
|
+
|
51
|
+
function fadePageIn(){
|
52
|
+
$("body").fadeIn(200);
|
53
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
$(document).ready(function () {
|
2
|
+
|
3
|
+
$(window).scroll(function () {
|
4
|
+
if ($(this).scrollTop() > 100) {
|
5
|
+
$('.scrollup').fadeIn();
|
6
|
+
} else {
|
7
|
+
$('.scrollup').fadeOut();
|
8
|
+
}
|
9
|
+
});
|
10
|
+
|
11
|
+
$('.circle-button').click(function () {
|
12
|
+
$("html, body").animate({
|
13
|
+
scrollTop: 0
|
14
|
+
}, 600);
|
15
|
+
return false;
|
16
|
+
});
|
17
|
+
|
18
|
+
$('.print-button').click(function () {
|
19
|
+
console.log("hey");
|
20
|
+
window.print();
|
21
|
+
return false;
|
22
|
+
});
|
23
|
+
});
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<ul id="main-menu" data-nav-showing="false" style="transform: translate(0%, -116%) matrix(1, 0, 0, 1, 0, 0);">
|
2
|
+
<!-- <li class="nav-jr home-anc"><h4><a href="#home"><br></a></h4></li> -->
|
3
|
+
<div class="flexbox-parent">
|
4
|
+
<div class="flexbox-child">
|
5
|
+
<li class="about-anc">
|
6
|
+
<h4><a class="nav-underline home" href="{{site.url}}">Home</a></h4></li>
|
7
|
+
{% for page in site.pages %}
|
8
|
+
{% if page.tags contains "about" %}
|
9
|
+
<li class="about-anc">
|
10
|
+
<h4><a class="nav-underline about" href="{{page.url}}">{{page.title}}</a></h4></li>
|
11
|
+
{% endif %}
|
12
|
+
{% if page.tags contains "contact" %}
|
13
|
+
<li class="expertise-anc">
|
14
|
+
<h4><a class="nav-underline contact" href="{{page.url}}">{{page.title}}</a></h4></li>
|
15
|
+
{% endif %}
|
16
|
+
{% if page.tags contains "portfolio" %}
|
17
|
+
<li class="team-anc">
|
18
|
+
<h4><a class="nav-underline portfolio" href="{{page.url}}">{{page.title}}</a></h4></li>
|
19
|
+
{% endif %}
|
20
|
+
{% if page.tags contains "projects" %}
|
21
|
+
<li class="beliefs-anc">
|
22
|
+
<h4><a class="nav-underline open-source" href="{{page.url}}">{{page.title}}</a></h4></li>
|
23
|
+
{% endif %}
|
24
|
+
{% if page.tags contains "resume" %}
|
25
|
+
<li class="beliefs-anc">
|
26
|
+
<h4><a class="nav-underline resume" href="{{page.url}}">{{page.title}}</a></h4></li>
|
27
|
+
{% endif %}
|
28
|
+
{% endfor %}
|
29
|
+
<li>
|
30
|
+
{% if site.show_social_icons %}
|
31
|
+
{% include social_links.html %}
|
32
|
+
{% endif %}
|
33
|
+
</li>
|
34
|
+
</div>
|
35
|
+
</ul>
|
36
|
+
<!--
|
37
|
+
<div class="title-div">
|
38
|
+
<div class="title" style="transform: translate(0%, -116%) matrix(1, 0, 0, 1, 0, 0);"><span class="title-label">About</span></div>
|
39
|
+
</div> -->
|
40
|
+
|
41
|
+
<style>
|
42
|
+
nav ul {
|
43
|
+
z-index: 1001;
|
44
|
+
float: left;
|
45
|
+
padding-left: 0;
|
46
|
+
padding-bottom: 5%;
|
47
|
+
margin: 0;
|
48
|
+
background: #fff;
|
49
|
+
width: 100%;
|
50
|
+
-webkit-transform: translateY(-116%);
|
51
|
+
transform: translateY(-116%);
|
52
|
+
display: -webkit-flex;
|
53
|
+
display: -ms-flexbox;
|
54
|
+
display: flex;
|
55
|
+
-webkit-align-items: center;
|
56
|
+
-ms-flex-align: center;
|
57
|
+
align-items: center;
|
58
|
+
-webkit-justify-content: center;
|
59
|
+
-ms-flex-pack: center;
|
60
|
+
justify-content: center;
|
61
|
+
-webkit-transition: all 0.75s ease;
|
62
|
+
-moz-transition: all 0.75s ease;
|
63
|
+
-o-transition: all 0.75s ease;
|
64
|
+
-ms-transition: all 0.75s ease;
|
65
|
+
transition: all 0.75s ease;
|
66
|
+
}
|
67
|
+
|
68
|
+
nav .flexbox-parent {
|
69
|
+
width: 100000%;
|
70
|
+
}
|
71
|
+
|
72
|
+
nav li {
|
73
|
+
list-style: none;
|
74
|
+
margin: 4vh auto;
|
75
|
+
}
|
76
|
+
|
77
|
+
nav .nav-underline:before {
|
78
|
+
bottom: 0;
|
79
|
+
width: 100%;
|
80
|
+
-webkit-transform: scaleX(1);
|
81
|
+
transform: scaleX(1);
|
82
|
+
}
|
83
|
+
|
84
|
+
.medium-link h2:before, nav .nav-underline:before, nav a:after {
|
85
|
+
content: '';
|
86
|
+
border-bottom: 2px solid #000;
|
87
|
+
}
|
88
|
+
|
89
|
+
nav .nav-underline:before, nav a:after {
|
90
|
+
position: absolute;
|
91
|
+
left: 0;
|
92
|
+
transition: .4s;
|
93
|
+
}
|
94
|
+
|
95
|
+
nav a {
|
96
|
+
position: relative;
|
97
|
+
}
|
98
|
+
|
99
|
+
nav .nav-underline:hover:before {
|
100
|
+
-webkit-transform: scaleX(0);
|
101
|
+
transform: scaleX(0);
|
102
|
+
}
|
103
|
+
|
104
|
+
nav a:hover:after {
|
105
|
+
-webkit-transform: scaleX(0);
|
106
|
+
transform: scaleX(0);
|
107
|
+
width: 100%;
|
108
|
+
}
|
109
|
+
|
110
|
+
nav a:after {
|
111
|
+
bottom: .5vh;
|
112
|
+
width: 100%;
|
113
|
+
-webkit-transform: scaleX(0);
|
114
|
+
transform: scaleX(0);
|
115
|
+
}
|
116
|
+
</style>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
<div class="pagination clearfix mb1 mt4">
|
2
|
+
<div class="left">
|
3
|
+
{% if paginator.previous_page %}
|
4
|
+
{% if paginator.page == 2 %}
|
5
|
+
<a href="{{ site.baseurl }}/">
|
6
|
+
<span class="left-circle-arrow"></span>
|
7
|
+
</a>
|
8
|
+
{% else %}
|
9
|
+
<a href="{{ paginator.previous_page_path }}">
|
10
|
+
<span class="left-circle-arrow"></span>
|
11
|
+
</a>
|
12
|
+
{% endif %}
|
13
|
+
{% else %}
|
14
|
+
<a href="">
|
15
|
+
<span class="left-circle-arrow arrow-disabled"></span>
|
16
|
+
</a>
|
17
|
+
{% endif %}
|
18
|
+
</div>
|
19
|
+
<div class="right">
|
20
|
+
{% if paginator.next_page %}
|
21
|
+
<a href="{{ paginator.next_page_path }}">
|
22
|
+
<span class="right-circle-arrow"></span>
|
23
|
+
</a>
|
24
|
+
{% else %}
|
25
|
+
<a href="">
|
26
|
+
<span class="right-circle-arrow arrow-disabled"></span>
|
27
|
+
</a>
|
28
|
+
{% endif %}
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<style>
|
33
|
+
a {
|
34
|
+
display: inline-block;
|
35
|
+
border-radius: 50%;
|
36
|
+
}
|
37
|
+
|
38
|
+
.left-circle-arrow {
|
39
|
+
background: #000;
|
40
|
+
display: inline-block;
|
41
|
+
width: 4em;
|
42
|
+
height: 4em;
|
43
|
+
border: 0.5em solid #000;
|
44
|
+
border-radius: 50%;
|
45
|
+
margin-right: 1.5em;
|
46
|
+
}
|
47
|
+
|
48
|
+
.left-circle-arrow:after {
|
49
|
+
content: '';
|
50
|
+
display: inline-block;
|
51
|
+
margin-top: .2em;
|
52
|
+
margin-right: -1.5em;
|
53
|
+
width: 3.5em;
|
54
|
+
height: 3.5em;
|
55
|
+
border-bottom: 0.3em solid #fff;
|
56
|
+
border-left: 0.3em solid #fff;
|
57
|
+
-moz-transform: rotate(45deg);
|
58
|
+
-webkit-transform: rotate(45deg);
|
59
|
+
transform: rotate(45deg);
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
.right-circle-arrow {
|
64
|
+
background: black;
|
65
|
+
display: inline-block;
|
66
|
+
width: 4em;
|
67
|
+
height: 4em;
|
68
|
+
border: 0.5em solid #000;
|
69
|
+
border-radius: 50%;
|
70
|
+
margin-left: 1.5em;
|
71
|
+
}
|
72
|
+
|
73
|
+
.right-circle-arrow:after {
|
74
|
+
content: '';
|
75
|
+
display: inline-block;
|
76
|
+
margin-top: .2em;
|
77
|
+
margin-left: -1.5em;
|
78
|
+
width: 3.5em;
|
79
|
+
height: 3.5em;
|
80
|
+
border-top: 0.3em solid #fff;
|
81
|
+
border-right: 0.3em solid #fff;
|
82
|
+
-moz-transform: rotate(45deg);
|
83
|
+
-webkit-transform: rotate(45deg);
|
84
|
+
transform: rotate(45deg);
|
85
|
+
}
|
86
|
+
|
87
|
+
.arrow-disabled {
|
88
|
+
background: WhiteSmoke;
|
89
|
+
border-color: WhiteSmoke;
|
90
|
+
}
|
91
|
+
|
92
|
+
</style>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="py2 post-footer">
|
2
|
+
<img src="{{ site.baseurl }}/images/jono.jpg" alt="Jonathon Belotti headshot" class="avatar" />
|
3
|
+
<p>
|
4
|
+
Thanks for reading, and please leave some feedback if you have the time.
|
5
|
+
</p>
|
6
|
+
<p>
|
7
|
+
Follow me on <a href="https://github.com/thundergolfer">Github</a>.
|
8
|
+
</p>
|
9
|
+
</div>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<div class="share-page">
|
2
|
+
<!-- {{ site.text.share_buttons.text }} -->
|
3
|
+
|
4
|
+
<div class="share-links">
|
5
|
+
{% if site.share_facebook %}
|
6
|
+
<div class="circle-share share-facebook">
|
7
|
+
<a class="fa fa-facebook fa-3x" href="https://facebook.com/sharer.php?u={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.facebook }}"></a>
|
8
|
+
</div>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if site.share_twitter %}
|
12
|
+
<div class=" circle-share share-twitter">
|
13
|
+
<a class="fa fa-twitter fa-3x" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.twitter }}"></a>
|
14
|
+
</div>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% if site.share_googleplus %}
|
18
|
+
<div class=" circle-share share-google">
|
19
|
+
<a class="fa fa-google-plus fa-3x" href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.googleplus }}"></a>
|
20
|
+
</div>
|
21
|
+
{% endif %}
|
22
|
+
|
23
|
+
{% if site.share_linkedin %}
|
24
|
+
<div class=" circle-share">
|
25
|
+
<a class="fa fa-linkedin fa-3x" href="http://www.linkedin.com/shareArticle?url={{ site.url }}{{ page.url }}&title={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.linkedin }}"></a>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
{% if site.share_digg %}
|
30
|
+
<div class=" circle-share">
|
31
|
+
<a class="fa fa-digg fa-3x" href="http://digg.com/submit?url={{ site.url }}{{ page.url }}&title={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.digg }}"></a>
|
32
|
+
</div>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
{% if site.share_tumblr %}
|
36
|
+
<div class=" circle-share">
|
37
|
+
<a class="fa fa-tumblr fa-3x" href="http://www.tumblr.com/share/link?url={{ site.url }}{{ page.url }}&name={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.tumblr }}"></a>
|
38
|
+
</div>
|
39
|
+
{% endif %}
|
40
|
+
|
41
|
+
{% if site.share_reddit %}
|
42
|
+
<div class=" circle-share share-reddit">
|
43
|
+
<a class="fa fa-reddit fa-3x" href="http://reddit.com/submit?url={{ site.url }}{{ page.url }}&title={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.reddit }}"></a>
|
44
|
+
</div>
|
45
|
+
{% endif %}
|
46
|
+
|
47
|
+
{% if site.share_stumbleupon %}
|
48
|
+
<div class=" circle-share">
|
49
|
+
<a class="fa fa-stumbleupon fa-3x" href="http://www.stumbleupon.com/submit?url={{ site.url }}{{ page.url }}&title={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.stumbleupon }}"></a>
|
50
|
+
</div>
|
51
|
+
{% endif %}
|
52
|
+
|
53
|
+
{% if site.share_hackernews %}
|
54
|
+
<div class=" circle-share">
|
55
|
+
<a class="fa fa-hacker-news fa-3x" onclick="parent.postMessage('submit','*')" href="https://news.ycombinator.com/submitlink?u={{ site.url }}{{ page.url }}&t={{ page.title }}" rel="nofollow" target="_blank" title="{{ site.text.share_buttons.hackernews }}"></a>
|
56
|
+
</div>
|
57
|
+
{% endif %}
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<style>
|
62
|
+
@media screen and (min-width: 770px) {
|
63
|
+
.clients .circle-share {
|
64
|
+
margin-bottom: 50px;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.share-page {
|
69
|
+
margin-top: 8%;
|
70
|
+
margin-bottom: 1%;
|
71
|
+
}
|
72
|
+
|
73
|
+
.share-links {
|
74
|
+
margin: 0 auto;
|
75
|
+
position: relative;
|
76
|
+
text-align: center;
|
77
|
+
}
|
78
|
+
|
79
|
+
.circle-share {
|
80
|
+
width: 100px;
|
81
|
+
height: 100px;
|
82
|
+
background: #000;
|
83
|
+
border-radius: 50px;
|
84
|
+
margin: 0 auto;
|
85
|
+
display: block;
|
86
|
+
}
|
87
|
+
|
88
|
+
.circle-share {
|
89
|
+
cursor: pointer;
|
90
|
+
}
|
91
|
+
|
92
|
+
.circle-share {
|
93
|
+
display: inline-block;
|
94
|
+
margin-right: 2%;
|
95
|
+
margin-left: 2%;
|
96
|
+
}
|
97
|
+
|
98
|
+
.circle-share a {
|
99
|
+
width: 53%;
|
100
|
+
display: block;
|
101
|
+
margin: 0 auto;
|
102
|
+
padding-top: 21px;
|
103
|
+
text-decoration: none;
|
104
|
+
text-shadow: none;
|
105
|
+
color: white;
|
106
|
+
}
|
107
|
+
|
108
|
+
.share-facebook a { width: 39%; }
|
109
|
+
.share-reddit a { width: 60%; }
|
110
|
+
.share-google a { width: 73%; }
|
111
|
+
</style>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<div class="social-icons">
|
2
|
+
<div>
|
3
|
+
{% if site.github_username %}
|
4
|
+
<a class="fa fa-github" href="https://github.com/{{ site.github_username }}" target="_blank"></a>
|
5
|
+
{% endif %}
|
6
|
+
{% if site.bitbucket_username %}
|
7
|
+
<a class="fa fa-bitbucket" href="https://bitbucket.org/{{ site.bitbucket_username }}"target="_blank"></a>
|
8
|
+
{% endif %}
|
9
|
+
{% if site.stackoverflow_id %}
|
10
|
+
<a class="fa fa-stack-overflow" href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}"target="_blank"></a>
|
11
|
+
{% endif %}
|
12
|
+
<a class="fa fa-rss" href="{{ "/feed.xml" | prepend: site.baseurl }}"target="_blank"></a>
|
13
|
+
{% if site.twitter_username %}
|
14
|
+
<a class="fa fa-twitter" href="https://twitter.com/{{ site.twitter_username }}"target="_blank"></a>
|
15
|
+
{% endif %}
|
16
|
+
{% if site.skype_username %}
|
17
|
+
<a class="fa fa-skype" href="skype:{{ site.skype_username }}?userinfo"target="_blank"></a>
|
18
|
+
{% endif %}
|
19
|
+
{% if site.steam_nickname %}
|
20
|
+
<a class="fa fa-steam-square" href="http://steamcommunity.com/id/{{ site.steam_nickname }}"target="_blank"></a>
|
21
|
+
{% endif %}
|
22
|
+
{% if site.google_plus_id %}
|
23
|
+
<a class="fa fa-google-plus" href="https://plus.google.com/{{ site.google_plus_id }}/posts"target="_blank"></a>
|
24
|
+
{% endif %}
|
25
|
+
{% if site.email %}
|
26
|
+
<a class="fa fa-envelope" href="mailto:{{ site.email }}"target="_blank"></a>
|
27
|
+
{% endif %}
|
28
|
+
{% if site.linkedin_username %}
|
29
|
+
<a class="fa fa-linkedin" href="https://www.linkedin.com/in/{{ site.linkedin_username }}"target="_blank"></a>
|
30
|
+
{% endif %}
|
31
|
+
{% if site.angellist_username %}
|
32
|
+
<a class="fa fa-angellist" href="https://angel.co/{{ site.angellist_username }}"target="_blank"></a>
|
33
|
+
{% endif %}
|
34
|
+
{% if site.medium_id %}
|
35
|
+
<a class="fa fa-medium" href="https://medium.com/@{{ site.medium_id }}"target="_blank"></a>
|
36
|
+
{% endif %}
|
37
|
+
{% if site.youtube_channel_id %}
|
38
|
+
<a class="fa fa-youtube-play" href="https://youtube.com/channel/{{ site.youtube_channel_id }}"target="_blank"></a>
|
39
|
+
{% endif %}
|
40
|
+
</div>
|
41
|
+
<div class="right">
|
42
|
+
{% if site.bitcoin_url %}
|
43
|
+
<a class="fa fa-bitcoin" href="{{ site.bitcoin_url }}"></a>
|
44
|
+
{% endif %}
|
45
|
+
{% if site.paypal_url %}
|
46
|
+
<a class="fa fa-paypal" href="{{ site.paypal_url }}"></a>
|
47
|
+
{% endif %}
|
48
|
+
{% if site.flattr_button %}
|
49
|
+
{{ site.flattr_button }}
|
50
|
+
{% endif %}
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="clearfix"></div>
|