rhl-bthr / parchment

Jekyll theme for minimalists. Live at https://rahulbothra.com/parchment
GNU General Public License v3.0
120 stars 88 forks source link

emojis are stretched #1

Closed SimonEnsemble closed 5 years ago

SimonEnsemble commented 5 years ago

hi. super awesome theme, thank you! I thought this was an issue with jemoji, but apparently there is a css line in your theme that makes emojis stretched. If I comment out the 100% width line, the image on my main page is too large. Is there a way I can make emojis work with your theme? Thanks.

.content img {
  text-align: center;
  width: 100%;
}
rhl-bthr commented 5 years ago
img {
    text-align: center;
    width: 100%;
}

Instead of generalizing the style for all images, you can replace it with,

.banner {
    text-align: center;
}
.jemomji {
    text-align: center;
    width: 100%;
}

While adding a jemoji, write like,

<img class = "jemoji"> ... </img>

While adding a banner, write like,

<img class = "banner"> ... </img>