summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-19 18:41:31 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-19 18:41:31 +0200
commit4718ebd990396ffef022743888faf19977db09ce (patch)
tree5317d39167a5852e374f22ea6d0a24d11b0eb11c
parente1e1a14105b84a84373680ca6fd437985f3c1b65 (diff)
Minor style changes
-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"}}