]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/ease_archivepage_styling.mdwn
another example error i get
[git.ikiwiki.info.git] / doc / todo / ease_archivepage_styling.mdwn
1 Hi! Please apply the following [[patch]] to make the
2 `archivepage.tmpl` template more semantic and easier to style with
3 a local CSS:
5         From 4e5cc0d9e5582f20df9f26dd5b1937ead0b46827 Mon Sep 17 00:00:00 2001
6         From: intrigeri <intrigeri@boum.org>
7         Date: Sat, 18 Aug 2012 10:34:36 +0200
8         Subject: [PATCH] Ease archivepage styling by using named classes, move
9          styling to the CSS.
10         
11         ---
12          doc/style.css              |    4 ++++
13          templates/archivepage.tmpl |    8 ++++----
14          2 files changed, 8 insertions(+), 4 deletions(-)
15         
16         diff --git a/doc/style.css b/doc/style.css
17         index 6e2afce..5fb4100 100644
18         --- a/doc/style.css
19         +++ b/doc/style.css
20         @@ -202,6 +202,10 @@ div.recentchanges {
21                 margin-top: 1em;
22          }
23          
24         +.archivepagedate {
25         +       font-style: italic;
26         +}
27         +
28          .error {
29                 color: #C00;
30          }
31         diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
32         index 93bdd9c..3e0bd9b 100644
33         --- a/templates/archivepage.tmpl
34         +++ b/templates/archivepage.tmpl
35         @@ -1,10 +1,10 @@
36         -<p>
37         +<div class="archivepage">
38          <TMPL_IF PERMALINK>
39          <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br />
40          <TMPL_ELSE>
41          <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
42          </TMPL_IF>
43         -<i>
44         +<span class="archivepagedate">
45          Posted <TMPL_VAR CTIME>
46          <TMPL_IF AUTHOR>
47          by <span class="author">
48         @@ -15,5 +15,5 @@ by <span class="author">
49          </TMPL_IF>
50          </span>
51          </TMPL_IF>
52         -</i>
53         -</p>
54         +</span>
55         +</div>
56         -- 
57         1.7.10.4
59 > [[done]] --[[Joey]]