aboutsummaryrefslogtreecommitdiffstats
path: root/docs/css
diff options
context:
space:
mode:
authorTom Christie2013-01-22 17:35:46 +0000
committerTom Christie2013-01-22 17:35:52 +0000
commit998c245f7252d4ad39a48943c38c936e3d7a8c5c (patch)
tree6cedef93b2fd908684b1b917dad05bbdb66c918b /docs/css
parentdd10d538ffc8f76ccc670f65da2220b09c22688c (diff)
downloaddjango-rest-framework-998c245f7252d4ad39a48943c38c936e3d7a8c5c.tar.bz2
Add twitter share button to index page.
Diffstat (limited to 'docs/css')
-rw-r--r--docs/css/default.css17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/css/default.css b/docs/css/default.css
index 57446ff9..07c4884d 100644
--- a/docs/css/default.css
+++ b/docs/css/default.css
@@ -25,18 +25,29 @@ pre {
margin-top: 9px;
}
+body.index-page #main-content p.badges {
+ padding-bottom: 1px;
+}
+
/* GitHub 'Star' badge */
-body.index-page #main-content iframe {
+body.index-page #main-content iframe.github-star-button {
float: right;
margin-top: -12px;
margin-right: -15px;
}
+/* Tweet button */
+body.index-page #main-content iframe.twitter-share-button {
+ float: right;
+ margin-top: -12px;
+ margin-right: 8px;
+}
+
/* Travis CI badge */
-body.index-page #main-content p:first-of-type {
+body.index-page #main-content img.travis-build-image {
float: right;
margin-right: 8px;
- margin-top: -14px;
+ margin-top: -9px;
margin-bottom: 0px;
}