Fixed integrated table of contents

This commit is contained in:
squidfunk 2023-09-23 14:55:44 +02:00
parent 3fbcb3ed83
commit 8a1244e74a
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
7 changed files with 16 additions and 3 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.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 }}">

View File

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

View File

@ -110,6 +110,11 @@
margin-top: 0;
}
}
// Add margin to table of contents
> .md-nav--secondary {
margin: 1em 0;
}
}
// ----------------------------------------------------------------------------