rustwell 0.3.1

A library for parsing and compiling fountain screenplay scripts.
Documentation
/* Reset */
.rustwell,
.rustwell * {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: content-box;
}

/* Wrapper */
.rustwell {
    font-family: 'Courier Final Draft', 'Courier Screenplay', Courier, monospace;
    font-size: 12pt;
    text-align: left;
    width: 40em;
    padding-left: 7.5em;
    padding-top: 2em;
    position: relative;
    margin: 0 auto;
}

.rustwell header {
    margin-bottom: 1em;
    border-bottom: 1px solid black;
}

.rustwell footer {
    margin-top: 1em;
}

.rustwell em {
    font-style: italic;
}

.rustwell strong {
    font-weight: bold;
}

.rustwell br {
    clear: both;
}

/* Title Page */
.rustwell .title-page {
    padding-top: 12em;
    text-align: center;
    page-break-after: always;
}

.rustwell .title-page div {
    margin-bottom: 1em;
}

.rustwell .title-page p {
    margin: 0.5em 0;
    line-height: 1.4;
}

.rustwell .title-page .title p {
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.rustwell .title-page .credit p {
    font-style: italic;
    margin-bottom: 1em;
}

.rustwell .title-page .authors p {
    margin-bottom: 0.5em;
}

.rustwell .title-page .source p {
    font-style: italic;
    margin-bottom: 1em;
}

.rustwell .title-page .draft_date p {
    margin-top: 2em;
    margin-bottom: 1em;
}

.rustwell .title-page .contact {
    text-align: left;
    width: 20em;
    margin: 2em auto 0 auto;
}

.rustwell .title-page .contact p {
    font-size: 0.83em;
    line-height: 1.3;
}

/* Scenes */
.rustwell div.scene-heading {
    width: 38.3em;
    margin-top: 2em;
    text-transform: uppercase;
    font-weight: bold;
}

.rustwell div.block {
    width: 38.3em;
    position: relative;
}

.rustwell div.action {
    width: 38.3em;
}

.rustwell div.action p {
    margin-top: 1em;
}

.rustwell .centered {
    text-align: center;
}

.rustwell div.dialogue,
.rustwell div.dual {
    width: 38.3em;
    margin-top: 1em;
    overflow: hidden;
}

.rustwell div.transition {
    width: 38.3em;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: right;
}

/* Dialogue */
.rustwell .dialogue p.character {
    padding-left: 12.8em;
}

.rustwell .dialogue p.parenthetical {
    padding-left: 9.6em;
}

.rustwell .dialogue p {
    padding-left: 6.4em;
    width: 25.6em;
}

/* Dual Dialogue */
.rustwell .dual > div {
    float: left;
    width: 48% !important;
}

.rustwell .dual p.character {
    padding-left: 6em;
}

.rustwell .dual p.parenthetical {
    padding-left: 3em;
}

.rustwell .dual p {
    padding-left: 0;
    width: 19em;
}

.rustwell .dual .right {
    margin-left: 1em;
}

.rustwell .dual .right p.character {
    padding-left: 6em;
}

/* Lyrics */
.rustwell .lyrics p {
    padding-left: 6.4em;
    width: 25.6em;
    text-transform: uppercase;
}

/* Synopsis */
.rustwell .synopsis p {
    padding-left: 2em;
    color: rgb(145, 145, 145);
}

/* Scene Numbers */
.rustwell span.scnuml {
    display: block;
    float: left;
    margin-left: -4.52em;
    font-weight: inherit;
    user-select: none;
}

.rustwell span.scnumr {
    display: block;
    float: right;
    margin-right: -2.42em;
    font-weight: inherit;
    user-select: none;
}

/* Page Break */
.rustwell .page-break {
    page-break-before: always;
}