Template:P-collapse/s/style.css

div.__no-vertical-space p{ margin-top:0; margin-bottom:0; }

div.__no-vertical-space { margin-top: 1em; margin-bottom: 1em; }

.__indexsc span.firstword{ font-variant:small-caps; }

/* TODO: These rules were intended to ensure that the wrapped content, picked up any defined top and bottom margins for the surronding parent block outside the wrapper so it could apply them to the first and last paragrpahs of the 'collapsed' block.

They are currently commented, because of uncertainty as to the correct selectors to use.

div.no-vertical-space > p:first-of-type { margin-top: inherit; margin-bottom:0; }

div.no-vertical-space > p:last-of-type { margin-top:0; margin-bottom: inherit; }

/* style to convert a P into an inline tag so that consecutive paragraphs flow continuously. depsite an intervening block level element. This was implemented originally in an attempt to work around some limitations as to where block level content could be placed with a P tag, by effectively splitting that P tag in div.xtra_phack{ display:inline-block; }

div.xtra_phack > p{ display: inline; }

div.xtra_phack > p:last-of-type:after{ display: block; content: "" }

div.xtra_phack div > div > p{	display:block; }

div.xtra_phack { padding-bottom: 0.5em; }

/* Various hanging indent setting */ div.__pchih p{	text-indent: -0.5em; padding-left: 0.5em; }

div.__pchiq p{	text-indent:-0.25em; padding-left: 0.25em }

div.__pchi1 p{	text-indent: -1em; padding-left: 1em }

div.__pchi2 p{	text-indent: -2em; padding-left: 2em }

div.__pchi3 p{	text-indent: -3em; }