diff options
author | intrigeri <intrigeri@boum.org> | 2012-08-18 19:40:36 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-08-18 19:40:52 +0200 |
commit | 556c25d6ee43fe6d2303cb5830ab41ca65e2ccc3 (patch) | |
tree | 2ac9ceb4e634f259cf431bc622c212ce34d8b36a /doc | |
parent | 41a54aa700ef20825b2a8ea76cdc057dc32825c4 (diff) | |
download | ikiwiki-556c25d6ee43fe6d2303cb5830ab41ca65e2ccc3.tar ikiwiki-556c25d6ee43fe6d2303cb5830ab41ca65e2ccc3.tar.gz |
TODO++, patch attached
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/ease_archivepage_styling.mdwn | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/todo/ease_archivepage_styling.mdwn b/doc/todo/ease_archivepage_styling.mdwn new file mode 100644 index 000000000..12ae9a3ff --- /dev/null +++ b/doc/todo/ease_archivepage_styling.mdwn @@ -0,0 +1,58 @@ +Hi! Please apply the following [[patch]] to make the +`archivepage.tmpl` template more semantic and easier to style with +a local CSS: + + From 4e5cc0d9e5582f20df9f26dd5b1937ead0b46827 Mon Sep 17 00:00:00 2001 + From: intrigeri <intrigeri@boum.org> + Date: Sat, 18 Aug 2012 10:34:36 +0200 + Subject: [PATCH] Ease archivepage styling by using named classes, move + styling to the CSS. + + --- + doc/style.css | 4 ++++ + templates/archivepage.tmpl | 8 ++++---- + 2 files changed, 8 insertions(+), 4 deletions(-) + + diff --git a/doc/style.css b/doc/style.css + index 6e2afce..5fb4100 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 93bdd9c..3e0bd9b 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> + -- + 1.7.10.4 + |