mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed integrated table of contents
This commit is contained in:
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.800c1d3a.min.css
vendored
Normal file
1
material/templates/assets/stylesheets/main.800c1d3a.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.7e9791b1.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.800c1d3a.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.a5377069.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a5377069.min.css' | url }}">
|
||||||
|
|||||||
@@ -740,7 +740,15 @@
|
|||||||
.md-nav--secondary {
|
.md-nav--secondary {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
|
visibility: visible;
|
||||||
border-inline-start: px2rem(1px) solid var(--md-primary-fg-color);
|
border-inline-start: px2rem(1px) solid var(--md-primary-fg-color);
|
||||||
|
opacity: 1;
|
||||||
|
|
||||||
|
// Navigation list
|
||||||
|
> .md-nav__list {
|
||||||
|
padding-bottom: 0;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
// Hide table of contents title
|
// Hide table of contents title
|
||||||
> .md-nav__title {
|
> .md-nav__title {
|
||||||
|
|||||||
@@ -110,6 +110,11 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add margin to table of contents
|
||||||
|
> .md-nav--secondary {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user