tweaked pagination to change color of disabled nav buttons, and moved location of feed link

This commit is contained in:
Robert McGovern 2023-01-25 23:04:25 +00:00
parent 8701676bb6
commit 97b354d31e
3 changed files with 14 additions and 8 deletions

View File

@ -4,6 +4,15 @@
<li><strong>{{ ui-text[site.locale].follow_label }}</strong></li>
{% endif %}
{% unless site.atom_feed.hide %}
<li>
<a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}">
<i class="fas fa-fw fa-rss-square" aria-hidden="true"></i>
{{ ui-text[site.locale].feed_label | default: "Feed" }}
</a>
</li>
{% endunless %}
{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
@ -11,11 +20,7 @@
{% endif %}
{% endfor %}
{% endif %}
{% unless site.atom_feed.hide %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% endunless %}
</ul>
</div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://11ty.dev" rel="nofollow">Elevety / 11ty</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>

View File

@ -77,7 +77,7 @@
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
opacity: 0.15;
}
/* extra large button */
@ -94,4 +94,4 @@
&--small {
font-size: $type-size-7;
}
}
}

View File

@ -94,7 +94,7 @@
}
&.disabled {
color: rgba($muted-text-color, 0.5);
color: rgba($muted-text-color, 0.1);
pointer-events: none;
cursor: not-allowed;
}
@ -151,6 +151,7 @@
color: rgba($muted-text-color, 0.5);
pointer-events: none;
cursor: not-allowed;
background: rgba($background-color, 0.1);
}
}
}