mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Revert back to more restrictive css selector for images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user