mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved discernability of section index pages in navigation
This commit is contained in:
parent
9df1beeda3
commit
fc352ee44b
1
material/assets/stylesheets/main.574901e1.min.css
vendored
Normal file
1
material/assets/stylesheets/main.574901e1.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.574901e1.min.css.map
Normal file
1
material/assets/stylesheets/main.574901e1.min.css.map
Normal file
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
@ -40,7 +40,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.2505c338.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.2505c338.min.css' | url }}">
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
padding: 0 px2rem(12px);
|
padding: 0 px2rem(12px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
color: var(--md-default-fg-color--light);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
@ -101,6 +102,11 @@
|
|||||||
transition: color 125ms;
|
transition: color 125ms;
|
||||||
scroll-snap-align: start;
|
scroll-snap-align: start;
|
||||||
|
|
||||||
|
// Navigation link that is a label
|
||||||
|
&[for] {
|
||||||
|
color: var(--md-default-fg-color--light);
|
||||||
|
}
|
||||||
|
|
||||||
// Navigation link that was passed
|
// Navigation link that was passed
|
||||||
&--passed {
|
&--passed {
|
||||||
color: var(--md-default-fg-color--light);
|
color: var(--md-default-fg-color--light);
|
||||||
|
Loading…
Reference in New Issue
Block a user