summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css2
-rw-r--r--template/doc.tmpl6
2 files changed, 3 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css
index 793a6bd..d9038e7 100644
--- a/static/style.css
+++ b/static/style.css
@@ -61,7 +61,7 @@ article {
}
.figcaption {
font-style: italic;
- margin-bottom: 1em;
+ margin-bottom: 2em;
}
address {
font-style: italic;
diff --git a/template/doc.tmpl b/template/doc.tmpl
index 3319bd6..0d7083f 100644
--- a/template/doc.tmpl
+++ b/template/doc.tmpl
@@ -24,9 +24,7 @@
</ul>
{{end}}
-{{define "newline"}}
-{{/* No automatic line break. Paragraphs are free-form. */}}
-{{end}}
+{{define "newline"}}{{end}}
{{define "section"}}
<h4 id="TOC_{{.FormattedNumber}}">{{.Title}}</h4>
@@ -61,7 +59,7 @@
{{end}}
{{define "caption"}}
- <p class="figcaption">{{style .Text}}</p>
+ <div class="figcaption">{{style .Text}}</div>
{{end}}
{{define "iframe"}}