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:
parent
3fbcb3ed83
commit
8a1244e74a
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 %}
|
||||
{% endblock %}
|
||||
{% 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 %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a5377069.min.css' | url }}">
|
||||
|
@ -740,7 +740,15 @@
|
||||
.md-nav--secondary {
|
||||
display: block;
|
||||
margin-bottom: 1.25em;
|
||||
visibility: visible;
|
||||
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
|
||||
> .md-nav__title {
|
||||
|
@ -110,6 +110,11 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Add margin to table of contents
|
||||
> .md-nav--secondary {
|
||||
margin: 1em 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user