Skip to content

Commit

Permalink
Improved discernability of section index pages in navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jan 5, 2023
1 parent 9df1bee commit fc352ee
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions material/assets/stylesheets/main.574901e1.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions material/assets/stylesheets/main.574901e1.min.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion material/assets/stylesheets/main.f56500e0.min.css

This file was deleted.

1 change: 0 additions & 1 deletion material/assets/stylesheets/main.f56500e0.min.css.map

This file was deleted.

2 changes: 1 addition & 1 deletion material/base.html
Expand Up @@ -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 }}">
Expand Down
6 changes: 6 additions & 0 deletions src/assets/stylesheets/main/components/_nav.scss
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fc352ee

Please sign in to comment.