mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-26 11:07:55 +08:00
style: simplify footer layout and update links
Replace two-column footer (links left, attribution right) with a single inline row of slash-separated items. Update attribution text to 'Made by Vinta' with a link to vinta.ws, align footer links to match standard anchor color/hover behavior. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -407,16 +407,14 @@ a:hover { color: var(--accent-hover); text-decoration: underline; }
|
|||||||
background: var(--bg-input);
|
background: var(--bg-input);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: flex-end;
|
||||||
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer a { color: var(--text-muted); text-decoration: none; }
|
.footer a { color: var(--accent); text-decoration: none; }
|
||||||
.footer a:hover { color: var(--accent); }
|
.footer a:hover { color: var(--accent-hover); text-decoration: underline; }
|
||||||
|
|
||||||
.footer-links {
|
.footer-sep { color: var(--border-strong); }
|
||||||
display: flex;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* === Responsive === */
|
/* === Responsive === */
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
|||||||
+10
-10
@@ -38,20 +38,20 @@
|
|||||||
<main id="content">{% block content %}{% endblock %}</main>
|
<main id="content">{% block content %}{% endblock %}</main>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer-links">
|
|
||||||
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
|
||||||
>GitHub</a
|
|
||||||
>
|
|
||||||
<a href="https://twitter.com/vinta" target="_blank" rel="noopener"
|
|
||||||
>Twitter</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<span
|
<span
|
||||||
>Curated by
|
>Made by
|
||||||
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
<a href="https://vinta.ws/" target="_blank" rel="noopener"
|
||||||
>Vinta</a
|
>Vinta</a
|
||||||
></span
|
></span
|
||||||
>
|
>
|
||||||
|
<span class="footer-sep">/</span>
|
||||||
|
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
||||||
|
>GitHub</a
|
||||||
|
>
|
||||||
|
<span class="footer-sep">/</span>
|
||||||
|
<a href="https://twitter.com/vinta" target="_blank" rel="noopener"
|
||||||
|
>Twitter</a
|
||||||
|
>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<noscript
|
<noscript
|
||||||
|
|||||||
Reference in New Issue
Block a user