Unverified Commit 758ac58e authored by Zhian N. Kamvar's avatar Zhian N. Kamvar Committed by GitHub
Browse files

Merge pull request #372 from carpentries/update-styles-2022-02-23-00-02

Update Styles (2022-02-23 via )
parents ced4f2c2 47137b39
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -321,6 +321,15 @@ span.fold-unfold {
  opacity: 0.5;
}

/*
  Force a pixelated rendering of images when original resolution is bigger than
  the <img> viewport to avoid a blurring effect that makes it difficult to read the image.
  This issue affects primarily Chrome based browsers (as of 2021).
  See https://github.com/carpentries/styles/pull/636 for the original report and related links 
*/
img {
  image-rendering: pixelated;
}

p.image-with-shadow img,
img.image-with-shadow {