UNPKG

@reason.co/docugen

Version:

`npm i docugen` (private npm install for now)

181 lines (151 loc) 2.75 kB
body { max-width: 800px; } body.markdown-body { font-size: 11px; line-height: 13px; font-family: Arial, sans-serif; color: #000000; margin: 48px 32px; } body.markdown-body:before { display: none; } body.markdown-body h1{ font-size: 28px; line-height: 32px; color: #0098ff; border: none; } body.markdown-body h2 { font-size: 24px; line-height: 27px; color: #0098ff; border: none; } body.markdown-body h3, body.markdown-body h4, body.markdown-body h5, body.markdown-body h6 { border: none; } body.markdown-body h3 { font-size: 16px; line-height: 18px; } body.markdown-body h4 { font-size: 12px; line-height: 13px; } h1 { page-break-before: always; } /* Automatic heading numbering h1 { counter-reset: h2; } h2 { page-break-before: always; counter-reset: h3; counter-increment: h2; } h3 { counter-reset: h4; } h4 { counter-reset: h5; } h5 { counter-reset: h6; } h3:before { counter-increment: h3; content: counter(h2) '.' counter(h3) '. '; } h4:before { counter-increment: h4; content: counter(h2) '.' counter(h3) '.' counter(h4) '. '; } h5:before { counter-increment: h5; content: counter(h2) '.' counter(h3) '.' counter(h4) '.' counter(h5) '. '; } h6:before { counter-increment: h6; content: counter(h2) '.' counter(h3) '.' counter(h4) '.' counter(h5) '.' counter(h6) '. '; } */ body.markdown-body li + li { margin-top: 12px; } .toc ol { counter-reset: item; } .toc li { display: block; counter-increment: item; font-family: Graphik, sans-serif; margin-top: 12px; } .toc li:before { content: counters(item, '.') '. '; } .toc > ol > li { font-family: Graphik-Semibold, sans-serif; font-size: 12px; line-height: 13px; margin-bottom: 32px; } footer { background: #000028; height: 49px; } img { display: block; margin: 0 auto; } .img_caption { display: block; margin: 6px auto 0; text-align: center; font-size: 11px; opacity: 0.75; } blockquote, .markdown-body blockquote{ padding: 1em!important; color:#000!important; page-break-inside: avoid; } blockquote.orange{ border-color: #e67e22!important; background:rgba(230, 126, 34,0.125); } blockquote.red{ border-color: #e74c3c!important; background:rgba(231, 76, 60,0.125); } blockquote.green{ border-color: #27ae60!important; background:rgba(39, 174, 96,0.125); } blockquote.blue{ border-color: #2980b9!important; background:rgba(41, 128, 185,0.125); } blockquote.purple{ border-color: #8e44ad!important; background:rgba(142, 68, 173,0.125); } .mdd-linked { font-style: italic; color: #666; font-weight: 300; font-size: 75%; line-height: 100%; } body.markdown-body table { display: table; page-break-inside: avoid; }