mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-01-09 18:20:55 +03:00
Style badges on homepage
This commit is contained in:
parent
38f55132ca
commit
6d5dd9c551
|
|
@ -17,7 +17,7 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<p class="badges" height=20px>
|
||||
<div class="badges">
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=encode&repo=django-rest-framework&type=watch&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>
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
7
docs/theme/stylesheets/extra.css
vendored
7
docs/theme/stylesheets/extra.css
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user