Skip to content

Commit

Permalink
Added jemoji in the plugins and CSS in the post.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
abdalimran committed May 19, 2018
1 parent d85264a commit b6ab37b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ sass:
# Gems
plugins:
- jekyll-paginate
# - jemoji #Uncomment this to allow emoji in your post

# Permalinks
permalink: /:year-:month-:day/:title
Expand Down
12 changes: 12 additions & 0 deletions _sass/tale/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,16 @@
font-style: normal;
text-align: center;
}

// CSS for making emoji inline
img.emoji {
display: inline-block;
left: 0;
transform: none;
width: 1rem;
height: 1rem;
vertical-align: text-top;
padding: 0;
margin: 0;
}
}

0 comments on commit b6ab37b

Please sign in to comment.