Skip to content

Instantly share code, notes, and snippets.

@joshbeckman
Created June 2, 2016 18:39
Show Gist options
  • Save joshbeckman/ca8655a9b2082158f268a1d68703389e to your computer and use it in GitHub Desktop.
Save joshbeckman/ca8655a9b2082158f268a1d68703389e to your computer and use it in GitHub Desktop.
Transmute some hacky HTML markup conventions into screenplay display, inspired by http://fountain.io/_css/scrippets.css
body {
font-family: monospace;
max-width: 35rem;
margin: 0 auto;
display: block;
text-align: left !important;
}
h1,h2,h3,h4 {
/* used for characters */
text-align: center;
display: block;
}
blockquote {
/* used for parentheticals */
padding-left: 32% !important;
padding-right: 30% !important;
}
p {
/* used for dialogue */
padding-left: 20% !important;
padding-right: 20% !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment