mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-31 18:56:15 +08:00
feat(website): add co-maintainer credit and bump hero-sub font size
- Replace 'Curated by @vinta since 2014' with 'Maintained by @vinta and @JinyangWang27' to reflect the new co-maintainer - Increase .hero-sub font size from --text-sm to --text-base for better readability Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -108,7 +108,7 @@ a:hover { color: var(--accent-hover); text-decoration: underline; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hero-sub {
|
.hero-sub {
|
||||||
font-size: var(--text-sm);
|
font-size: var(--text-base);
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %} {% block content %}
|
||||||
{% block content %}
|
|
||||||
<header class="hero">
|
<header class="hero">
|
||||||
<div class="hero-main">
|
<div class="hero-main">
|
||||||
<div>
|
<div>
|
||||||
<h1>Awesome Python</h1>
|
<h1>Awesome Python</h1>
|
||||||
<p class="hero-sub">
|
<p class="hero-sub">
|
||||||
{{ subtitle }}<br />Curated by
|
{{ subtitle }}<br />Maintained by
|
||||||
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
||||||
>@vinta</a
|
>@vinta</a
|
||||||
>
|
>
|
||||||
since 2014.
|
and
|
||||||
|
<a
|
||||||
|
href="https://github.com/JinyangWang27"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>@JinyangWang27</a
|
||||||
|
>.
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/vinta/awesome-python"
|
href="https://github.com/vinta/awesome-python"
|
||||||
@@ -95,9 +100,21 @@
|
|||||||
{% if entry.stars is not none %}{{ "{:,}".format(entry.stars) }}{%
|
{% if entry.stars is not none %}{{ "{:,}".format(entry.stars) }}{%
|
||||||
else %}—{% endif %}
|
else %}—{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="col-commit"
|
<td
|
||||||
{% if entry.last_commit_at %}data-commit="{{ entry.last_commit_at }}"{% endif %}
|
class="col-commit"
|
||||||
>{% if entry.last_commit_at %}<time datetime="{{ entry.last_commit_at }}">{{ entry.last_commit_at[:10] }}</time>{% else %}—{% endif %}</td>
|
{%
|
||||||
|
if
|
||||||
|
entry.last_commit_at
|
||||||
|
%}data-commit="{{ entry.last_commit_at }}"
|
||||||
|
{%
|
||||||
|
endif
|
||||||
|
%}
|
||||||
|
>
|
||||||
|
{% if entry.last_commit_at %}<time
|
||||||
|
datetime="{{ entry.last_commit_at }}"
|
||||||
|
>{{ entry.last_commit_at[:10] }}</time
|
||||||
|
>{% else %}—{% endif %}
|
||||||
|
</td>
|
||||||
<td class="col-cat">
|
<td class="col-cat">
|
||||||
<button class="tag" data-type="cat" data-value="{{ entry.category }}">
|
<button class="tag" data-type="cat" data-value="{{ entry.category }}">
|
||||||
{{ entry.category }}
|
{{ entry.category }}
|
||||||
@@ -111,8 +128,7 @@
|
|||||||
<div class="expand-content">
|
<div class="expand-content">
|
||||||
{% if entry.description %}
|
{% if entry.description %}
|
||||||
<div class="expand-desc">{{ entry.description | safe }}</div>
|
<div class="expand-desc">{{ entry.description | safe }}</div>
|
||||||
{% endif %}
|
{% endif %} {% if entry.also_see %}
|
||||||
{% if entry.also_see %}
|
|
||||||
<div class="expand-also-see">
|
<div class="expand-also-see">
|
||||||
Also see: {% for see in entry.also_see %}<a
|
Also see: {% for see in entry.also_see %}<a
|
||||||
href="{{ see.url }}"
|
href="{{ see.url }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user