Ease archivepage styling by using named classes, move styling to the CSS.
authorintrigeri <intrigeri@boum.org>
Sat, 18 Aug 2012 08:34:36 +0000 (10:34 +0200)
committerJoey Hess <joey@kitenet.net>
Sat, 25 Aug 2012 14:37:28 +0000 (10:37 -0400)
doc/style.css
templates/archivepage.tmpl

index 6e2afce66b97075614b067991833ed578b8b195f..5fb4100324b0c9d5d8d794adfece2caff42a3047 100644 (file)
@@ -202,6 +202,10 @@ div.recentchanges {
        margin-top: 1em;
 }
 
+.archivepagedate {
+       font-style: italic;
+}
+
 .error {
        color: #C00;
 }
index 93bdd9ce0e50135eec16dd4b7b6a9c5c5969a190..3e0bd9bc20c2d228ce2958ca2d80496c8aec5190 100644 (file)
@@ -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>