carpentries / styles

Styles for The Carpentries lessons. No README to avoid merge conflicts with lessons. Demo 👇
https://carpentries.github.io/lesson-example
Other
84 stars 94 forks source link

Use a pixelated img rendering instead of blurred default #636

Closed unode closed 2 years ago

unode commented 2 years ago

Workaround to a CSS resize blur rendering problem affecting Google Chrome/Chromium when the resolution of the image is larger than the image view

See https://stackoverflow.com/a/69156216 for discussion and https://github.com/carpentries-incubator/jekyll-pages-novice/issues/274 where the issue was initially reported.

maxim-belkin commented 2 years ago

The change LGTM, but I think it is worth adding a comment explaining what this change is trying to achieve and, perhaps, linking to relevant issues and StackOverflow articles.

fmichonneau commented 2 years ago

Thank you both!