fix: Don't change text color on hover for badge links (#3845)

This commit is contained in:
Lars Eggert 2022-04-20 18:50:24 +03:00 committed by GitHub
parent aba2aa2b59
commit cef7b05981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -50,12 +50,12 @@
(Publication date unknown)
{% endif %}
{% if has_verified_errata %}
<a class="badge bg-danger text-decoration-none"
<a class="badge bg-danger text-decoration-none text-light"
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}" title="Click to view errata." rel="nofollow">
Errata
</a>
{% elif has_errata %}
<a class="badge bg-warning text-decoration-none"
<a class="badge bg-warning text-decoration-none text-light"
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}" title="Click to view errata." rel="nofollow">
Errata
</a>

View file

@ -89,12 +89,12 @@
{% endcomment %}
<b>{{ doc.title }}</b>
{% if doc.has_verified_errata %}
<a class="badge bg-danger text-decoration-none float-end"
<a class="badge bg-danger text-decoration-none text-light float-end"
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">
Errata
</a>
{% elif doc.has_errata %}
<a class="badge bg-warning text-decoration-none float-end"
<a class="badge bg-warning text-decoration-none text-light float-end"
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">
Errata
</a>
@ -160,4 +160,4 @@
<td {% if pos %}class="changebar position-{{ pos.slug }}"{% endif %}></td>
{% endwith %}
{% endif %}
</tr>
</tr>