Skip to content

Commit 5f76906

Browse files
committed
Adding social integration
1 parent afba40a commit 5f76906

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

_layouts/default.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% else %}
99
<title>tutorials.github.com</title>
1010
{% endif %}
11-
11+
1212
<link rel="stylesheet" href="/stylesheets/styles.css">
1313
<link rel="stylesheet" href="/stylesheets/pygment_trac.css">
1414
<script src="/javascripts/scale.fix.js"></script>
@@ -37,6 +37,17 @@
3737
<h1><a href="http://tutorials.github.com">tutorials.github.com</a></h1>
3838
<p>Decentralized polyglot tutorials</p>
3939
<nav id="sidebar"></nav>
40+
<div class="social footroom">
41+
<!-- AddThis Button BEGIN -->
42+
<div class="addthis_toolbox addthis_default_style ">
43+
<a class="addthis_button_facebook_like ftg" fb:like:layout="button_count"></a>
44+
<a class="addthis_button_tweet ftg"></a>
45+
<a class="addthis_button_google_plusone ftg" g:plusone:size="medium"></a>
46+
</div>
47+
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
48+
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fe63cf9228607aa"></script>
49+
<!-- AddThis Button END -->
50+
</div>
4051
<ul id="download">
4152
<li><a href="https://github.com/tutorials/tutorials.github.com/zipball/master">Download <strong>ZIP File</strong></a></li>
4253
<li><a href="https://github.com/tutorials/tutorials.github.com/tarball/master">Download <strong>TAR Ball</strong></a></li>

stylesheets/styles.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,18 @@ strong {
179179
text-decoration:none;
180180
}
181181

182+
.headroom{
183+
margin: 20px 0 0 0;
184+
}
185+
186+
.footroom{
187+
margin: 0 0 20px;
188+
}
189+
190+
div.social a.ftg{
191+
width:85px;
192+
}
193+
182194
div.tutorial p.about span{
183195
margin-right:5px;
184196
}

0 commit comments

Comments
 (0)