diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-28 16:24:58 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-28 16:24:58 +0000 |
commit | 2135c9777ca0980e1f8e5d40fc8812f00d4114a7 (patch) | |
tree | bcba565d8b0386c78972ce384684fba59a6dc9b5 /doc/patchqueue | |
parent | b6ac9ee03c0d7ad037e1c5ed8a578c91955de551 (diff) | |
download | ikiwiki-2135c9777ca0980e1f8e5d40fc8812f00d4114a7.tar ikiwiki-2135c9777ca0980e1f8e5d40fc8812f00d4114a7.tar.gz |
web commit by http://stefano.zacchiroli.myopenid.com/: added a patch for "trailer" div around meta information for inlined pages
Diffstat (limited to 'doc/patchqueue')
-rw-r--r-- | doc/patchqueue/more_class__61____34____34___for_css.mdwn | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/patchqueue/more_class__61____34____34___for_css.mdwn b/doc/patchqueue/more_class__61____34____34___for_css.mdwn index a0e891f32..4b77a3ebf 100644 --- a/doc/patchqueue/more_class__61____34____34___for_css.mdwn +++ b/doc/patchqueue/more_class__61____34____34___for_css.mdwn @@ -2,7 +2,7 @@ I'm writing my own CSS for ikiwiki. During this effort I often found the need of In this patch I plan to collect changes in this direction. -The first, one-liner, patch is to use a "div" element with a class="actions" attribute for inline page as is done with non-inlined page. This way the same CSS formatting can be applied to div.actions in the CSS, while at the moment it must be duplicated for a span.actions (which I believe is also incorrect, since it will contain a "ul" element, not sure though). In case the markup should be differentiated it will still be possible relying on the fact that a div.actions is contained or not in a div.inlinepage. +The first, one-liner, patch is to use a "div" element with a class="actions" attribute for inline page as is done with non-inlined page. This way the same CSS formatting can be applied to div.actions in the CSS, while at the moment it must be duplicated for a span.actions (which I believe is also incorrect, since it will contain a "ul" element, not sure though). In case the markup should be differentiated it will still be possible relying on the fact that a div.actions is contained or not in a div.inlinepage. Here's the one-liner: @@ -27,3 +27,24 @@ Here's the one-liner: </div> +The following adds a div element with class="trailer" around the meta-information added after an inlined page (namely: the post date, the tags, and the actions): + + --- inlinepage.tmpl.orig 2006-12-28 16:56:49.000000000 +0100 + +++ inlinepage.tmpl 2006-12-28 17:02:06.000000000 +0100 + @@ -17,6 +17,8 @@ + </span> + <TMPL_VAR CONTENT> + + +<div class="trailer"> + + + <span class="pageinfo"> + Posted <TMPL_VAR CTIME> + </span> + @@ -44,3 +46,5 @@ + </TMPL_IF> + + </div> + + + +</div> + + |