From b6ab37b6191593eac90fe74b95b9863390f17367 Mon Sep 17 00:00:00 2001 From: Abdullah Al Imran Date: Sun, 20 May 2018 01:22:01 +0600 Subject: [PATCH] Added jemoji in the plugins and CSS in the post.scss --- _config.yml | 1 + _sass/tale/_post.scss | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/_config.yml b/_config.yml index 6f3b539..489dc29 100644 --- a/_config.yml +++ b/_config.yml @@ -21,6 +21,7 @@ sass: # Gems plugins: - jekyll-paginate + # - jemoji #Uncomment this to allow emoji in your post # Permalinks permalink: /:year-:month-:day/:title diff --git a/_sass/tale/_post.scss b/_sass/tale/_post.scss index d1a48da..3680d80 100644 --- a/_sass/tale/_post.scss +++ b/_sass/tale/_post.scss @@ -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; + } }