Revert back to more restrictive css selector for images

This commit is contained in:
Aaron Carlisle
2021-08-10 21:31:45 -04:00
parent 28fa50e168
commit e24e5029de

View File

@@ -16,7 +16,6 @@
.rst-content
// Sphinx by default applies HxW style attributes to images. This fixes that oversite.
img
margin-bottom: $base-line-height
max-width: 100%
height: auto
@@ -29,6 +28,11 @@
&.align-center
text-align: center
// Usually it's a good idea to give images some space.
.section, section >
img, a > img
margin-bottom: $base-line-height
// normalize browser styling
abbr[title]
text-decoration: none