mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-02-25 21:58:40 +01:00
Fixed ordered list markers
This commit is contained in:
parent
71b64f4f04
commit
43a22b6150
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/templates/assets/stylesheets/main.8c3ca2c6.min.css
vendored
Normal file
1
material/templates/assets/stylesheets/main.8c3ca2c6.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.06209087.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8c3ca2c6.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.06af60db.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
|
||||||
|
@ -319,7 +319,7 @@ kbd {
|
|||||||
// Hack: allow to override `list-style-type` via `type`, without breaking
|
// Hack: allow to override `list-style-type` via `type`, without breaking
|
||||||
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
||||||
&[type] {
|
&[type] {
|
||||||
list-style-type: revert;
|
list-style-type: revert-layer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -334,20 +334,30 @@ kbd {
|
|||||||
display: flow-root;
|
display: flow-root;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nested ordered list
|
// 2nd layer nested ordered list
|
||||||
ol {
|
ol {
|
||||||
list-style-type: lower-alpha;
|
list-style-type: lower-alpha;
|
||||||
|
|
||||||
// Triply nested ordered list
|
// 3rd layer nested ordered list
|
||||||
ol {
|
ol {
|
||||||
list-style-type: lower-roman;
|
list-style-type: lower-roman;
|
||||||
|
|
||||||
|
// 4th layer nested ordered list
|
||||||
|
ol {
|
||||||
|
list-style-type: upper-alpha;
|
||||||
|
|
||||||
|
// 5th layer nested ordered list
|
||||||
|
ol {
|
||||||
|
list-style-type: upper-roman;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hack: allow to override `list-style-type` via `type`, without breaking
|
// Hack: allow to override `list-style-type` via `type`, without breaking
|
||||||
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
||||||
&[type] {
|
&[type] {
|
||||||
list-style-type: revert;
|
list-style-type: revert-layer;
|
||||||
}
|
}
|
||||||
|
|
||||||
// List element
|
// List element
|
||||||
|
Loading…
x
Reference in New Issue
Block a user