﻿/*
	Scrippet.css
	Scrippet is a CSS template designed for including short sections of screenplay-formatted material in blog posts.
	Originally developed by John August - johnaugust.com
	Last modified 8/21/08
*/

body {
	margin: auto;
	max-width: 768px;
	padding: 48px;
}

#backlink a {
	position: fixed;
	top: 8px;
	left: 8px;
	width: 32px;
	height: 32px;
	border: 1px solid #ccc;
	line-height: 32px;
	text-align: center;
	font-weight: normal;
	color: #ccc;
	text-decoration: none;
	background-color: #fff;
}
#backlink a:hover {
	border-color: #000;
	color: #000;
}
#backlink a:active {
	color: #fff;
	background-color: #000;
}

/* Text */

.text p {
	margin: 16px auto;
	width: 256px;
	text-align: justify;
}

/* Quotations */

.quotation {
	font-family: Georgia;
	text-align: left;
}

.quotation blockquote {
	font-size: 16px;
}

.quotation q {
	display: block;
	font-size: 48px;
}
.quotation q:before {
	content: "“";
}
.quotation q:after {
	content: "”";
}
.quotation cite {
	display: block;
	font-style: italic;
	font-size: 32px;
	text-align: right;
	margin-top: 24px;
}
.quotation cite:before {
	content: "— ";
}

/* Scripts */

div.scrippet {
	margin: 0 auto;
	width: 400px;
	background: #fffffc;
	color: #000000;
	border: 1px solid #333;
	padding: 5px 14px 15px 14px !important;
}

.scrippet div {
	font: 12px/14px Courier, "Courier New", monospace !important;
    text-align: left !important;
	letter-spacing: 0 !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.sceneheader,
.action,
.character {
	padding-top: 1.5ex !important;
}

.action {
	padding-right: 5% !important;
	font-size: 12px !important;
	line-height: 14px !important;
}


.character {
	text-transform: uppercase;
	padding-left: 40% !important;
}

.dialogue {
	padding-left: 20% !important;
	padding-right: 20% !important;
}

.parenthetical {
	padding-left: 32% !important;
	padding-right: 30% !important;
}

.dialogue + .parenthetical {
	padding-bottom: 0 !important;
}

.transition {
	padding-top: 3ex !important;
	padding-left: 65% !important;
	padding-bottom: 1.5ex !important;
}

