Jump to content

Template:Stagescript/simplistic.css

From Wikisource
/* This is a stylesheet for [[Template:stagescript]]

It is a simplistic "scene" style format, which is indicated using mediawiki headers.
*/

/* Headers :

The headers H3 and H4 are redefined from their Mediawiki defaults. 

H3 is used for secene headings 

H4 is used for speakers/parts.

The format used for scripts is centered, normal sized, normal weighted, non italic text. A sans-serif font is used.

These are later redifined specfically to be more specific. */

div.__stagescript__simplistic h3,
div.__stagescript__simplistic h4 {
	text-align: center;
	font-size:1em;
	padding-bottom:0;
	margin-bottom:0;
	font-weight: normal;
	font-style: normal;
	font-family: sans-serif;
	}
	
/* Third level heading is used for Scene headings, so is larger to be more prominent. 
div.__stagescript__simplistic h3 {
	font-size:1.2em;
	}

/* The edit section hyperlinks should be in normal text (i.e not smallcaps), as should scene headings (H3) */
div.__stagescript__simplistic h4 span.mw-editsection,
div.__stagescript__simplistic h3 span.mw-editsection,
div.__stagescript__simplistic h3 span.mw-headline{
	font-variant:normal;
}

/* Level 4 headings are used to mark a particular speaker (or part), thus need to be marked differently from scene headings.
Smallcaps is used for this. Crucially it's only the actual content that should be in smallcaps. The edit hyperlink should be normal. */
div.__stagescript__simplistic h4 span.mw-headline {
	font-variant:small-caps;	
}

/* Stage directions 

Typically these are either:
* A pargraph  describing an action in a secene or synopsis between dialogue lines.
* Inline with dialogue describing an action that takes place whilst that dialogue
is spoken, or "parenthical" indicating a mood for the dialogue.

Inline stage directions are typically bracketed, and italicised, to distinguish them from dialogue.

TODO: What about right-aligned Entrances, Exits?
*/
div.__stagescript__simplistic p.__stagedir,
div.__stagescript__simplistic  span.__stagedir{
	font-style: italic;
}

div.__stagedir  span.__stagedir::after{ 
	font-style: normal;
	content: ']';
}

div.__stagedir span.__stagedir::before{
	font-style: normal;
	content: '[';
}