mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-28 02:26:07 +08:00
style: refine website footer and heading
This commit is contained in:
@@ -402,10 +402,9 @@ kbd {
|
|||||||
.results-intro h2,
|
.results-intro h2,
|
||||||
.final-cta h2 {
|
.final-cta h2 {
|
||||||
font-family: var(--font-display);
|
font-family: var(--font-display);
|
||||||
font-size: clamp(2.2rem, 5vw, 4rem);
|
font-size: clamp(2.2rem, 4vw, 3.3rem);
|
||||||
line-height: 0.94;
|
line-height: 0.94;
|
||||||
letter-spacing: -0.03em;
|
letter-spacing: -0.03em;
|
||||||
text-wrap: balance;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.results-section {
|
.results-section {
|
||||||
@@ -874,18 +873,15 @@ th[data-sort].sort-asc::after {
|
|||||||
padding: 1.2rem var(--shell-pad);
|
padding: 1.2rem var(--shell-pad);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: flex-end;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
font-size: var(--text-xs);
|
font-size: var(--text-xs);
|
||||||
color: var(--ink-muted);
|
color: var(--ink-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-copy,
|
|
||||||
.footer-links {
|
.footer-links {
|
||||||
display: flex;
|
display: block;
|
||||||
align-items: center;
|
text-align: right;
|
||||||
gap: 0.45rem;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-sep {
|
.footer-sep {
|
||||||
@@ -1011,6 +1007,10 @@ th[data-sort].sort-asc::after {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
.hero h1 {
|
.hero h1 {
|
||||||
font-size: clamp(3.2rem, 18vw, 4.8rem);
|
font-size: clamp(3.2rem, 18vw, 4.8rem);
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-17
@@ -44,29 +44,24 @@
|
|||||||
<main id="content">{% block content %}{% endblock %}</main>
|
<main id="content">{% block content %}{% endblock %}</main>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer-copy">
|
|
||||||
Maintained by
|
|
||||||
<a href="https://vinta.ws/" target="_blank" rel="noopener">Vinta</a>
|
|
||||||
for the Python community.
|
|
||||||
</div>
|
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a
|
<span
|
||||||
href="https://github.com/vinta/awesome-python"
|
>Made by
|
||||||
target="_blank"
|
<a href="https://vinta.ws/" target="_blank" rel="noopener"
|
||||||
rel="noopener"
|
>Vinta</a
|
||||||
>Repository</a
|
></span
|
||||||
>
|
|
||||||
<span class="footer-sep">/</span>
|
|
||||||
<a
|
|
||||||
href="https://github.com/vinta/awesome-python/blob/master/CONTRIBUTING.md"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener"
|
|
||||||
>Contribute</a
|
|
||||||
>
|
>
|
||||||
<span class="footer-sep">/</span>
|
<span class="footer-sep">/</span>
|
||||||
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
||||||
>GitHub</a
|
>GitHub</a
|
||||||
>
|
>
|
||||||
|
<span class="footer-sep">/</span>
|
||||||
|
<a
|
||||||
|
href="https://twitter.com/vinta"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>Twitter</a
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
<div class="results-intro section-shell" data-reveal>
|
<div class="results-intro section-shell" data-reveal>
|
||||||
<div>
|
<div>
|
||||||
<p class="section-label">Library index</p>
|
<p class="section-label">Library index</p>
|
||||||
<h2>One searchable surface for the ecosystem.</h2>
|
<h2>One searchable surface for the ecosystem</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="results-note">
|
<p class="results-note">
|
||||||
Use <kbd>/</kbd> to focus search, tap a tag to filter, and open a row for
|
Use <kbd>/</kbd> to focus search, tap a tag to filter, and open a row for
|
||||||
|
|||||||
Reference in New Issue
Block a user