Improve doc link styling

This commit is contained in:
Nico Burns 2022-11-08 11:45:05 +00:00
parent 55196e14de
commit cf3a047c01

View file

@ -29,7 +29,7 @@
{% for crate in purpose.crates %}
<p style="margin: 3px 6px;max-width: 600px">
<b><a href="{% if crate.link %}{{ crate.link }}{% else %}https://lib.rs/{{ crate.name }}{% endif %}">{{ crate.name }}</a></b>{% if not crate.link %}
<a style="color: #666;text-decoration: none" href="https://docs.rs/{{ crate.name }}"> [docs]</a>
<a style="margin-left: 3px;opacity: 0.7;color: #333;text-decoration: none" href="https://docs.rs/{{ crate.name }}"> [docs]</a>
{% endif %}
<br />
{{ crate.notes | safe }}