From: intrigeri <intrigeri@boum.org>
Date: Sat, 18 Aug 2012 08:34:36 +0000 (+0200)
Subject: Ease archivepage styling by using named classes, move styling to the CSS.
X-Git-Tag: 3.20120725~10
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/954e2e4ef1952fc30dca260b76d7d51e1d05b8b9

Ease archivepage styling by using named classes, move styling to the CSS.
---

diff --git a/doc/style.css b/doc/style.css
index 6e2afce66..5fb410032 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -202,6 +202,10 @@ div.recentchanges {
 	margin-top: 1em;
 }
 
+.archivepagedate {
+	font-style: italic;
+}
+
 .error {
 	color: #C00;
 }
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
index 93bdd9ce0..3e0bd9bc2 100644
--- a/templates/archivepage.tmpl
+++ b/templates/archivepage.tmpl
@@ -1,10 +1,10 @@
-<p>
+<div class="archivepage">
 <TMPL_IF PERMALINK>
 <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br />
 <TMPL_ELSE>
 <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
 </TMPL_IF>
-<i>
+<span class="archivepagedate">
 Posted <TMPL_VAR CTIME>
 <TMPL_IF AUTHOR>
 by <span class="author">
@@ -15,5 +15,5 @@ by <span class="author">
 </TMPL_IF>
 </span>
 </TMPL_IF>
-</i>
-</p>
+</span>
+</div>