Style badges on homepage

This commit is contained in:
Bruno Alla 2025-12-12 16:31:28 +00:00
parent 319dbcd580
commit e277940558
2 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,7 @@
}
</style>
<p class="badges" height=20px>
<div class="badges">
<iframe src="https://ghbtns.com/github-btn.html?user=encode&amp;repo=django-rest-framework&amp;type=watch&amp;count=true" class="github-star-button" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
<a href="https://github.com/encode/django-rest-framework/actions/workflows/main.yml">
@ -27,7 +27,7 @@
<a href="https://pypi.org/project/djangorestframework/">
<img src="https://img.shields.io/pypi/v/djangorestframework.svg" class="status-badge">
</a>
</p>
</div>
---

View File

@ -17,6 +17,13 @@ body hr {
border-top: 1px dotted var(--md-accent-fg-color--dark);
}
.badges {
display: flex;
flex-direction: row-reverse;
align-content: end;
gap: 8px;
}
/* Cutesy quote styling */
[dir="ltr"] .md-typeset blockquote {
font-family: Georgia, serif;