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 %} {% 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 }}">

View File

@ -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);