.paragraphs { width: 100%; height: calc(100% - 3.125rem); overflow: scroll; background: white; color: black; padding: 1rem; } /* general paragraph styles */ .paragraphs .content { font-family: 'Georgia', serif; width: 650px; margin: 0 auto; padding-bottom: 6rem; position: relative; } .paragraphs .content > div { margin-bottom: 16px; } /* paragraph subtypes */ .paragraphs .section_heading { font-size: 32px; } .paragraphs .heading_text { font-size: 32px; } .paragraphs .intro_paragraph { font-size: 18px; line-height: 1.5; } .paragraphs .paragraph { font-size: 16px; line-height: 1.5; } .paragraphs .footnote { font-size: 13px; position: relative; top: -8px; left: -4px; cursor: pointer; } .paragraphs .blockquote { padding-left: 3rem; } .paragraphs .hidden { opacity: 0.5; } .paragraphs .pullquote { border-left: 2px solid #ddd; padding-left: 2rem; font-size: 20px; } .paragraphs .pullquote_credit { display: block; margin-top: 1rem; } .paragraphs .pullquote_credit:before { content: '—'; } /* media image */ .paragraphs .media.image img { width: 100%; } /* current paragraph */ .paragraphs .paragraph.current { background: rgba(0,0,0,0.0); } /* sentences */ .paragraphs span { margin-right: 4px; cursor: pointer; } .paragraphs .paragraph .current { box-shadow: -2px -3px 0 #fff, 2px -3px 0 #fff, -2px 3px 0 #fff, 2px 3px 0 #fff; box-decoration-break: clone; background: black; color: white; } /* paragraph form */ .paragraphForm { position: absolute; right: -305px; width: 300px; padding: 0.5rem; background: #838; color: #ddd; box-shadow: 2px 2px 4px rgba(0,0,0,0.2); font-family: 'Roboto', sans-serif; } .paragraphForm .select div { color: #ddd; font-family: 'Roboto', sans-serif; } .paragraphForm .row { justify-content: space-between; align-items: center; } .paragraphForm .row > div { display: flex; align-items: center; }