Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions layouts/shortcodes/comic.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
<div class="comic"></div>
<div class="comic">
<a href="https://heyzine.com/flip-book/3e66a13901.html">
<img src="/images/content_images/numpy-comic.png" alt="NumPy Contributor comic book cover">
</a>
</div>

<style>
.comic {
.comic img {
max-width: 20%;
max-height: 20%;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not changing the image's aspect ratio anywhere, so the max-height rule is unnecessary and has no effect. The max-width rule will handle the height automatically.

}
img {
max-width: 20%;
max-height: 20%;
}
</style>