Template:Stagescript/styles.css

From Wikisource
Jump to navigation Jump to search
.__stagescript__ {line-height:1.5em; margin:0 auto 0 auto; display:table;}
.__stagescript__ p {margin-top:0; margin-bottom:0.2em; border: 1px blue dotted;}
.__stagescript__ p.__verse{ margin-top:0; margin-bottom:0.5em; white-space: pre-line;}

/* act and scene headings */

.__stagescript__ span.__act {text-align:center; font-weight:normal; font-style:normal; font-size:1.2em}
.__stagescript__ span.__scene {text-align:center; font-weight:normal; font-style:normal}

.__stagescript__ .__scene p:nth-of-type(1) {text-align:center;}  /* This is the heading - for most scripts these are centered */
.__stagescript__ .__scene p:nth-of-type(2) {text-align:left; text-indent:-1em; margin-left:1em; font-size:0.8em;}

.__stagescript__ h3 {text-align:center; font-weight:normal; font-size:1em;}
.__stagescript__ h3+p{text-align:left; text-indent:-1em; margin-left:1em; font-size:0.8em;}

/* Stage directions */
.__stagescript__ span.__sdr1:before{content:'['}
.__stagescript__ span.__sdr1{text-align:right; width:100%; display:inline-block;}
.__stagescript__ span.__sdr2{text-align:left; width:100%; display:inline-block; margin-left:1em; text-indent:-1em; }

.__stagescript__ .__sdr1:before{content:'['}
.__stagescript__ .__sdr1{text-align:right; width:100%; display:inline-block; }
.__stagescript__ .__sdr2{text-align:left; width:100%; display:inline-block; margin-left:1em; text-indent:-1em; }

/*Speaker for line of dialogue */
/*.__stagescript__ .__speaker1:before{display:inline-block;width:100%;height:0.1em;content:'';} */
.__stagescript__ .__speaker1{text-align:left; padding-left:0.5em; font-style: italic;}

.ws-poem-__speaker1.ws-poem-line{display:inline;text-indent:0;margin-left:0;text-align:left; padding-left:0.5em; font-style: italic;}