diff options
author | intrigeri <intrigeri@boum.org> | 2012-08-18 10:34:36 +0200 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-25 10:37:28 -0400 |
commit | 954e2e4ef1952fc30dca260b76d7d51e1d05b8b9 (patch) | |
tree | e09525852d2dab78a2a88362140b8ccc57b2eed3 | |
parent | 01d1ec0489e9b63b160f54b14daa787b0feca347 (diff) | |
download | ikiwiki-954e2e4ef1952fc30dca260b76d7d51e1d05b8b9.tar ikiwiki-954e2e4ef1952fc30dca260b76d7d51e1d05b8b9.tar.gz |
Ease archivepage styling by using named classes, move styling to the CSS.
-rw-r--r-- | doc/style.css | 4 | ||||
-rw-r--r-- | templates/archivepage.tmpl | 8 |
2 files changed, 8 insertions, 4 deletions
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> |