summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-21 00:45:10 -0500
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:43:29 +0100
commit656bf8032bdf963e75432efbe7ae422ba9e900cf (patch)
treeeb79902c812610962c09373a85b1d645a05a23ba
parent879006b4a872d1828cbea1c29de43a8e754da79b (diff)
Style enclosures like content.
(cherry picked from commit 984f2ab952cb97990fc0d2460c2e335127a73491)
-rw-r--r--.templates/newsitem.tmpl2
-rw-r--r--local.css6
2 files changed, 5 insertions, 3 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl
index af976b57..919200bb 100644
--- a/.templates/newsitem.tmpl
+++ b/.templates/newsitem.tmpl
@@ -42,7 +42,7 @@
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF ENCLOSURE>
-<TMPL_IF HTML5><section id="newsenclosure"><TMPL_ELSE><div id="newsenclosure"></TMPL_IF>
+<TMPL_IF HTML5><section id="newsitemenclosure"><TMPL_ELSE><div id="newsitemenclosure"></TMPL_IF>
<a href="<TMPL_VAR ENCLOSURE>">Download</a>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
diff --git a/local.css b/local.css
index 1249dfc7..ef2ce64f 100644
--- a/local.css
+++ b/local.css
@@ -216,13 +216,15 @@ a:hover
padding: 0.5em 0em;
line-height: 1;
}
-.newsitemcontent
+.newsitemcontent,
+.newsitemenclosure
{
padding-left: 0.2em;
padding-top: 0.1em;
}
-.newsitemcontent p
+.newsitemcontent p,
+.newsitemenclosure p
{
margin: 0.3em;
}