mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +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 %}
|
||||
{% endblock %}
|
||||
{% 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 %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<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
|
||||
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
||||
&[type] {
|
||||
list-style-type: revert;
|
||||
list-style-type: revert-layer;
|
||||
}
|
||||
}
|
||||
|
||||
@ -334,20 +334,30 @@ kbd {
|
||||
display: flow-root;
|
||||
}
|
||||
|
||||
// Nested ordered list
|
||||
// 2nd layer nested ordered list
|
||||
ol {
|
||||
list-style-type: lower-alpha;
|
||||
|
||||
// Triply nested ordered list
|
||||
// 3rd layer nested ordered list
|
||||
ol {
|
||||
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
|
||||
// compatibility for explicitly setting it in CSS - see https://t.ly/izJyH
|
||||
&[type] {
|
||||
list-style-type: revert;
|
||||
list-style-type: revert-layer;
|
||||
}
|
||||
|
||||
// List element
|
||||
|
Loading…
Reference in New Issue
Block a user