Template:Right sidenote/sandbox.css

From Wikisource
Jump to navigation Jump to search
/* Block beahviour for first level span (in template to enable line height */
.flr{
	display:block;
	float:right;  
}

span.sidenoteRight > span {
	display:inline-block;
}

/* The next rule is SUPPPOSED to ensure notes don't overlap vertically, but doesn't yet work properly. */
.clearfix_right{ 
	position: relative;
    margin-right: -7em; 
    /*  left: 7em; */
	float: right;
   clear: right;
    width:6em;
 padding-left:1em;
 text-indent:0;
 text-align:left
}
span.clearfix_right > span {
	display:inline-block;
}

/* And back to inline for any deeper spans */
span.clearfix_right > span > span {
	display:inline;
}