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:
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 %}
|
||||
{% 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 }}">
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user