mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add like button
This commit is contained in:
parent
35a488031e
commit
ad283d8264
@ -62,12 +62,14 @@
|
|||||||
|
|
||||||
<a href="https://twitter.com/share" class="twitter-share-button" data-text="{{ site.title }}" data-url="{{ site.url }}" data-count="horizontal" data-via="jgthms" data-related="jgthms:Creator of Bulma" data-size="large">Tweet</a>
|
<a href="https://twitter.com/share" class="twitter-share-button" data-text="{{ site.title }}" data-url="{{ site.url }}" data-count="horizontal" data-via="jgthms" data-related="jgthms:Creator of Bulma" data-size="large">Tweet</a>
|
||||||
|
|
||||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
<form class="paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
||||||
<input type="hidden" name="cmd" value="_s-xclick">
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
<input type="hidden" name="hosted_button_id" value="8WMKYSRFN6A78">
|
<input type="hidden" name="hosted_button_id" value="8WMKYSRFN6A78">
|
||||||
<input type="image" src="{{site.url}}/images/paypal-donate.png" border="0" name="submit" alt="PayPal – The safer, easier way to pay online." height="30">
|
<input type="image" src="{{site.url}}/images/paypal-donate.png" border="0" name="submit" alt="PayPal – The safer, easier way to pay online." height="30">
|
||||||
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
|
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<div class="fb-like" data-href="https://www.facebook.com/bulmaio" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -102,6 +104,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<div id="fb-root"></div>
|
||||||
|
|
||||||
|
<script>(function(d, s, id) {
|
||||||
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
|
if (d.getElementById(id)) return;
|
||||||
|
js = d.createElement(s); js.id = id;
|
||||||
|
js.async = true;
|
||||||
|
js.defer = true;
|
||||||
|
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=310296819307942";
|
||||||
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
|
}(document, 'script', 'facebook-jssdk'));</script>
|
||||||
|
|
||||||
<script async defer id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script>
|
<script async defer id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script>
|
||||||
<script async defer type="text/javascript" src="https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
|
<script async defer type="text/javascript" src="https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
|
||||||
|
|
||||||
|
@ -7310,7 +7310,8 @@ html.route-index #carbon {
|
|||||||
|
|
||||||
#social > iframe,
|
#social > iframe,
|
||||||
#social > a,
|
#social > a,
|
||||||
#social > form {
|
#social > form,
|
||||||
|
#social > div {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@ -7318,8 +7319,27 @@ html.route-index #carbon {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#social .github-btn {
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
#social .twitter-share-button {
|
#social .twitter-share-button {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
min-width: 76px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#social .paypal-form {
|
||||||
|
min-width: 148px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#social .fb-like {
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
width: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#newsletter .input {
|
#newsletter .input {
|
||||||
|
@ -26,14 +26,24 @@
|
|||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
> iframe,
|
> iframe,
|
||||||
> a,
|
> a,
|
||||||
> form
|
> form,
|
||||||
|
> div
|
||||||
display: inline-block
|
display: inline-block
|
||||||
font-size: 11px
|
font-size: 11px
|
||||||
height: 30px
|
height: 30px
|
||||||
line-height: 30px
|
line-height: 30px
|
||||||
margin-top: 5px
|
margin-top: 5px
|
||||||
|
.github-btn
|
||||||
|
width: 160px
|
||||||
.twitter-share-button
|
.twitter-share-button
|
||||||
margin-right: 10px
|
margin-right: 10px
|
||||||
|
min-width: 76px
|
||||||
|
.paypal-form
|
||||||
|
min-width: 148px
|
||||||
|
.fb-like
|
||||||
|
align-items: center
|
||||||
|
display: flex
|
||||||
|
width: 130px
|
||||||
|
|
||||||
#newsletter
|
#newsletter
|
||||||
.input
|
.input
|
||||||
|
Loading…
Reference in New Issue
Block a user