Ease archivepage styling by using named classes, move styling to the CSS.
parent
01d1ec0489
commit
954e2e4ef1
|
@ -202,6 +202,10 @@ div.recentchanges {
|
|||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.archivepagedate {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: #C00;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue