-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ebb9b48
commit 7f21c25
Showing
9 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<ul class="share-buttons">{% assign share_title = page.title | uri_escape %}{% assign share_link = page.url | absolute_url | cgi_escape %} | ||
<li><a href="https://www.facebook.com/sharer/sharer.php?u={{ share_link }}&t={{ share_title }}" title="Share on Facebook" target="_blank"><img alt="Share on Facebook" src="/assets/Facebook.svg"></a></li> | ||
<li><a href="https://twitter.com/intent/tweet?source={{ share_link }}&text={{ share_title }}:%20{{ share_link }}&via=vocabhunterapp" target="_blank" title="Tweet"><img alt="Tweet" src="/assets/Twitter.svg"></a></li> | ||
<li><a href="https://plus.google.com/share?url={{ share_link }}" target="_blank" title="Share on Google+"><img alt="Share on Google+" src="/assets/Google+.svg"></a></li> | ||
<li><a href="http://www.reddit.com/submit?url={{ share_link }}&title={{ share_title }}" target="_blank" title="Submit to Reddit"><img alt="Submit to Reddit" src="/assets/Reddit.svg"></a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ul.share-buttons{ | ||
list-style: none; | ||
padding: 0; | ||
float: right; | ||
} | ||
|
||
ul.share-buttons li{ | ||
display: inline; | ||
} | ||
|
||
ul.share-buttons .sr-only { | ||
position: absolute; | ||
clip: rect(1px 1px 1px 1px); | ||
clip: rect(1px, 1px, 1px, 1px); | ||
padding: 0; | ||
border: 0; | ||
height: 1px; | ||
width: 1px; | ||
overflow: hidden; | ||
} | ||
|
||
ul.share-buttons img{ | ||
width: 25px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,5 +45,6 @@ $on-laptop: 800px; | |
@import | ||
"base", | ||
"layout", | ||
"syntax-highlighting" | ||
"syntax-highlighting", | ||
"share" | ||
; |