1
0
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:
squidfunk 2024-09-21 19:54:13 +02:00
parent 71b64f4f04
commit 43a22b6150
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
6 changed files with 17 additions and 7 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

@ -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 }}">

View File

@ -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