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> <li><strong>{{ ui-text[site.locale].follow_label }}</strong></li>
{% endif %} {% 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 %} {% if site.footer.links %}
{% for link in site.footer.links %} {% for link in site.footer.links %}
{% if link.label and link.url %} {% if link.label and link.url %}
@ -11,11 +20,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% 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> </ul>
</div> </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; cursor: not-allowed;
filter: alpha(opacity=65); filter: alpha(opacity=65);
box-shadow: none; box-shadow: none;
opacity: 0.65; opacity: 0.15;
} }
/* extra large button */ /* extra large button */

View File

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