Fixed margins for nested inline admonitions

This commit is contained in:
squidfunk 2021-03-14 13:02:24 +01:00
parent 16274399eb
commit c6e15970a9
5 changed files with 7 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.6e4c7934.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.2c0c5eaf.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.7fa14f5b.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.7fa14f5b.min.css' | url }}">

View File

@ -83,9 +83,10 @@ $admonitions: (
border-left: none; border-left: none;
} }
// Adjust spacing for nested admonitions // Adjust horizontal spacing for nested admonitions
.admonition { .admonition {
margin: 1em 0; margin-top: 1em;
margin-bottom: 1em;
} }
// Adjust spacing for contained table wrappers // Adjust spacing for contained table wrappers