summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-22 14:39:53 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-22 14:39:53 -0400
commit7286cb0b9ed7f1da50fea3ec345ae4a8dc69d92a (patch)
tree920dc06e49b7ffd1c0077a0192e55f78dee95dec
parentded69aae0b010e1e56a9a17247dd874a9388296b (diff)
downloadmako-7286cb0b9ed7f1da50fea3ec345ae4a8dc69d92a.tar.gz
gittip link for rtd
-rw-r--r--doc/build/static/site.css18
-rw-r--r--doc/build/templates/base.mako9
2 files changed, 20 insertions, 7 deletions
diff --git a/doc/build/static/site.css b/doc/build/static/site.css
index eb545d3..5b12b22 100644
--- a/doc/build/static/site.css
+++ b/doc/build/static/site.css
@@ -1,4 +1,4 @@
-body {
+body {
font-family: Tahoma, Geneva, sans-serif;
line-height:1.4em;
margin:15px;
@@ -14,7 +14,7 @@ a:hover { color: #0000ff;}
max-width:1024px;
min-width:480px;
position:relative;
-
+
}
h1 {
font-size:1.6em;
@@ -37,11 +37,15 @@ h2 {
}
.rightbar {
float:right;
- margin:10px 30px 10px 30px;
}
.slogan {
margin-top:10px;
}
+#gittip_nav {
+ float:right;
+ margin:10px 0px 0px 0px;
+}
+
.toolbar {
margin-top:20px;
}
@@ -66,10 +70,10 @@ li {
font-size:small;
}
-pre.codesample {
- margin: 1.5em;
- padding: .5em;
- font-size: .95em;
+pre.codesample {
+ margin: 1.5em;
+ padding: .5em;
+ font-size: .95em;
line-height:1em;
background-color: #eee;
border: 1px solid #ccc;
diff --git a/doc/build/templates/base.mako b/doc/build/templates/base.mako
index 77650a0..002266c 100644
--- a/doc/build/templates/base.mako
+++ b/doc/build/templates/base.mako
@@ -12,6 +12,15 @@
<body>
<div id="wrap">
<div class="rightbar">
+
+ % if toolbar:
+ <div id="gittip_nav">
+ <iframe style="border: 0; margin: 0; padding: 0;"
+ src="https://www.gittip.com/zzzeek/widget.html"
+ width="48pt" height="20pt"></iframe>
+ </div>
+ % endif
+
<div class="slogan">
Hyperfast and lightweight templating for the Python platform.
</div>