mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed specificity issue with admonitions in lists
This commit is contained in:
parent
674df04f8a
commit
8fa834f73c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
material/assets/stylesheets/main.cabc8684.min.css
vendored
Normal file
2
material/assets/stylesheets/main.cabc8684.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.cabc8684.min.css.map
Normal file
1
material/assets/stylesheets/main.cabc8684.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0cdf1fcc.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cabc8684.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.9204c3b2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||||
|
@ -346,11 +346,15 @@ kbd {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Unordered and ordered list
|
// Unordered and ordered list
|
||||||
:is(ul, ol):not([hidden]) {
|
:is(ul, ol) {
|
||||||
display: flow-root;
|
|
||||||
margin-left: px2em(10px);
|
margin-left: px2em(10px);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
// Adjust display mode if not hidden
|
||||||
|
&:not([hidden]) {
|
||||||
|
display: flow-root;
|
||||||
|
}
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
// Adjust for right-to-left languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
margin-right: px2em(10px);
|
margin-right: px2em(10px);
|
||||||
|
Loading…
Reference in New Issue
Block a user