1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00

Improved discernability of section index pages in navigation

This commit is contained in:
squidfunk 2023-01-05 22:43:43 +01:00
parent 9df1beeda3
commit fc352ee44b
6 changed files with 9 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

@ -40,7 +40,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f56500e0.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.574901e1.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.2505c338.min.css' | url }}">

View File

@ -43,6 +43,7 @@
display: block;
padding: 0 px2rem(12px);
overflow: hidden;
color: var(--md-default-fg-color--light);
font-weight: 700;
text-overflow: ellipsis;
@ -101,6 +102,11 @@
transition: color 125ms;
scroll-snap-align: start;
// Navigation link that is a label
&[for] {
color: var(--md-default-fg-color--light);
}
// Navigation link that was passed
&--passed {
color: var(--md-default-fg-color--light);