mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Fix varying margins under headings
It seems that browsers add some special default styling to header tags :( I found that for smaller heading tags, like h5 could give more padding then h1 tags... To fix this, everything should now just recieve the theme standard of 24px bottom margin.
This commit is contained in:
parent
e24e5029de
commit
1a8a6b3a28
File diff suppressed because one or more lines are too long
@ -14,6 +14,10 @@
|
|||||||
// --------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
.rst-content
|
.rst-content
|
||||||
|
// Some browsers like to give arbituary margins :( make them all consistent.
|
||||||
|
h1, h2, h3, h4, h5, h6
|
||||||
|
margin-bottom: $base-line-height
|
||||||
|
|
||||||
// Sphinx by default applies HxW style attributes to images. This fixes that oversite.
|
// Sphinx by default applies HxW style attributes to images. This fixes that oversite.
|
||||||
img
|
img
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
|
Loading…
Reference in New Issue
Block a user