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

master
intrigeri 2012-08-18 10:34:36 +02:00 committed by Joey Hess
parent 01d1ec0489
commit 954e2e4ef1
2 changed files with 8 additions and 4 deletions

View File

@ -202,6 +202,10 @@ div.recentchanges {
margin-top: 1em;
}
.archivepagedate {
font-style: italic;
}
.error {
color: #C00;
}

View 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>