aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-07-15 15:02:09 +0100
committerTom Christie2014-07-15 15:02:09 +0100
commitdd2e950cde5fc7078303925fa936e59ea4fe363b (patch)
tree5147f2e85e3f2a4b521d53a33894e9138d98975b /docs
parentb51901812596aa478cc8cb1046e42049214bc9ff (diff)
downloaddjango-rest-framework-dd2e950cde5fc7078303925fa936e59ea4fe363b.tar.bz2
Fusion ads
Diffstat (limited to 'docs')
-rw-r--r--docs/template.html24
1 files changed, 19 insertions, 5 deletions
diff --git a/docs/template.html b/docs/template.html
index a397d067..6009b151 100644
--- a/docs/template.html
+++ b/docs/template.html
@@ -33,6 +33,21 @@
})();
</script>
+ <style>
+span.fusion-wrap a {
+ display: block;
+ margin-top: 10px;
+ color: black;
+}
+
+a.fusion-poweredby {
+ display: block;
+ margin-top: 10px;
+}
+@media (max-width: 767px) {
+ div.promo {display: none;}
+}
+</style>
</head>
<body onload="prettyPrint()" class="{{ page_id }}-page">
@@ -169,11 +184,9 @@
<div id="table-of-contents">
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
{{ toc }}
- <div>
-
-{{ ad_block }}
-
-</div>
+ <div class="promo">
+ {{ ad_block }}
+ </div>
</ul>
</div>
@@ -199,6 +212,7 @@
<script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script>
<script src="{{ base_url }}/js/prettify-1.0.js"></script>
<script src="{{ base_url }}/js/bootstrap-2.1.1-min.js"></script>
+
<script>
//$('.side-nav').scrollspy()
var shiftWindow = function() { scrollBy(0, -50) };