Hello,

It seems that it is be possible to implement a sidebar using the
Admonition logic.
You can see an example in [1]. The typical wiki code and CSS are below.

What do you think about it?
I could work on a patch if you are interested.

Franklin


### SAMPLE CODE ###
{{{#!wiki sidebar
'''New call for test'''
 Test1 :: Foo
 Test2 :: Bar.
}}}
####


[1] http://www.klabs.be/debian-wiki-dev/AdmonitionsAsSidebar
/* admonition start */
#content div.sidebar {
	border:1.5pt solid #3366aa;
	margin:0;
	padding:0;
	float:right;
	width:200pt;
	background:transparent;
}

/* Highlight the header....
   a selector like this would be less hacky, 
 #content div.sidebar p:first-child strong {} */
#content div.sidebar  strong {
	display:block;
	background-color:#4488ff;

	margin: 0;
	padding:0.3em;
	text-align:center;
	
	/* An ugly hack to turn  */
	font-weight:bold;
}

#content div.sidebar p {
    margin-top: 0; /*don't need to align text with bg graphic*/
}

/* admonition end */
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to