Added back background on inline code blocks in admonition titles

This commit is contained in:
squidfunk 2021-03-28 11:35:44 +02:00
parent dbd6831a3e
commit cb8d3f47e8
6 changed files with 4 additions and 15 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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.49bb2ee9.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.c772ddf0.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

@ -151,17 +151,6 @@ $admonitions: (
} }
} }
// Omit background on inline code blocks, as they don't go well with the
// pastelly tones applied to admonition titles
code {
margin: initial;
padding: initial;
color: currentColor;
background-color: transparent;
border-radius: initial;
box-shadow: none;
}
// Adjust spacing on last tabbed block container child - if the tabbed // Adjust spacing on last tabbed block container child - if the tabbed
// block container is the sole child, it looks better to omit the margin // block container is the sole child, it looks better to omit the margin
+ .tabbed-set:last-child { + .tabbed-set:last-child {