-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdfTmp.html
12 lines (12 loc) · 9.82 KB
/
pdfTmp.html
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>reg-template</title>
<style type="text/css">
/*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */progress,sub,sup{vertical-align:baseline}button,hr,input{overflow:visible}#line,#preview{overflow-y:scroll}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}#dialog,body{right:0;bottom:0}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}#dialog .confirm .confirmBtns button,#editor,#preview,#toast,legend{box-sizing:border-box}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta-keyword,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-strong,.hljs-title{font-weight:700}.hljs{display:block;overflow-x:auto;padding:.5em;background:#F0F0F0}#ruler,#toast{display:inline-block;position:fixed}#editor,#line>div{background-repeat:no-repeat;background-size:100% 20px;background-position:0 0}.hljs,.hljs-subst{color:#444}.hljs-comment{color:#888}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-section,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-title,.hljs-type{color:#800}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#BC6060}.hljs-literal{color:#78A960}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta-string{color:#4d99bf}#editor,#line{color:#F9F9F5}.hljs-emphasis{font-style:italic}body{margin:0;position:absolute;top:0;left:0;font-family:PingFang SC,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;font-size:16px;line-height:20px}#body{display:flex;height:100%;overflow:hidden}#line{font-family:sans-serif;background:#272727}.htmlPreview,.htmlPreview body,.htmlPreview button,.htmlPreview input,.htmlPreview select,.pdfPreview,.pdfPreview body,.pdfPreview button,.pdfPreview input,.pdfPreview select,.preview,.preview body,.preview button,.preview input,.preview select{font-family:PingFang SC,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif}#line::-webkit-scrollbar{width:0;background:0 0}#line>div{min-width:20px;padding:0 10px;text-align:right}#editor{flex:1;padding:0 5px;margin:0;line-height:20px;background-color:#2d2d2d;background-image:linear-gradient(180deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.5) 100%);resize:none;outline:0;border:none}#editor::-webkit-scrollbar{width:0;background:0 0}#preview{flex:1;padding:0 10px}#dialog .confirm,#toast{overflow:hidden;backface-visibility:hidden}#preview::-webkit-scrollbar{width:0;background:0 0}#ruler{visibility:hidden;top:0;padding:0 5px;white-space:nowrap}#toast{z-index:-1;top:20px;left:50%;transform:translate3d(-50%,0,0);min-width:200px;padding:8px 16px;color:#fff;background-color:#50bfff;border-radius:4px;opacity:0;transition:opacity .3s}#toast.show{z-index:1;opacity:1}#dialog{display:none;position:fixed;top:0;left:0;background:rgba(0,0,0,.5)}#dialog.show{display:block}#dialog .confirm{position:absolute;top:50%;left:50%;transform:translate3d(-50%,-100%,0);background-color:#fff;width:420px;border-radius:3px}#dialog .confirm .confirmTitle{padding:20px 20px 0;margin-bottom:0;font-size:16px;font-weight:700;height:18px;color:#333}#dialog .confirm .confirmContent{padding:30px 20px;color:#475669;font-size:14px}#dialog .confirm .confirmBtns{padding:10px 20px 15px;text-align:right}#dialog .confirm .confirmBtns button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #c0ccda;color:#1f2d3d;-webkit-appearance:none;text-align:center;outline:0;margin:0;-webkit-user-select:none;padding:10px 15px;font-size:14px;border-radius:4px}body.htmlTmp,body.pdfTmp{display:block}#dialog .confirm .confirmBtns button:nth-child(2){margin-left:10px}#dialog .confirm .confirmBtns button.confirmYes{color:#fff;background-color:#20a0ff;border-color:#20a0ff}.htmlPreview,.pdfPreview,.preview{margin:0;font-size:16px;line-height:20px;background-color:#F9F9F5;color:#2C3E50}.htmlPreview h1,.htmlPreview h2,.htmlPreview h3,.htmlPreview h4,.htmlPreview h5,.htmlPreview h6,.pdfPreview h1,.pdfPreview h2,.pdfPreview h3,.pdfPreview h4,.pdfPreview h5,.pdfPreview h6,.preview h1,.preview h2,.preview h3,.preview h4,.preview h5,.preview h6{font-weight:500}.htmlPreview h1,.pdfPreview h1,.preview h1{margin:50px 0 20px;font-size:30px}.htmlPreview h2,.pdfPreview h2,.preview h2{margin:35px 0 20px;font-size:26px}.htmlPreview h3,.pdfPreview h3,.preview h3{margin:20px 0;font-size:21px}.htmlPreview h4,.pdfPreview h4,.preview h4{font-size:18px}.htmlPreview h5,.htmlPreview h6,.pdfPreview h5,.pdfPreview h6,.preview h5,.preview h6{font-size:16px}.htmlPreview p,.pdfPreview p,.preview p{margin:0 0 10px;word-break:break-word}.htmlPreview a,.pdfPreview a,.preview a{color:#08c;text-decoration:none}.htmlPreview ol,.htmlPreview ul,.pdfPreview ol,.pdfPreview ul,.preview ol,.preview ul{padding:0;margin:0 0 10px 25px;word-break:break-word}.htmlPreview blockquote,.pdfPreview blockquote,.preview blockquote{padding:10px 15px;margin:0 0 20px;border-left:10px solid #D6DBDF;background:rgba(102,128,153,.05)}.htmlPreview blockquote p,.pdfPreview blockquote p,.preview blockquote p{margin-bottom:15px}.htmlPreview blockquote p:last-child,.pdfPreview blockquote p:last-child,.preview blockquote p:last-child{margin-bottom:0}.htmlPreview hr,.pdfPreview hr,.preview hr{border:0;border-bottom:1px dashed #cfcfcf;margin:30px 0}.htmlPreview code,.pdfPreview code,.preview code{border:0;background-color:#D6DBDF;border-radius:4px;color:#2C3E50;font-size:90%;padding:2px 4px;white-space:nowrap}.htmlPreview pre,.pdfPreview pre,.preview pre{white-space:pre-wrap;border-width:0;padding:10px 15px;background:rgba(102,128,153,.05)}.htmlPreview pre code,.pdfPreview pre code,.preview pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.htmlPreview table,.pdfPreview table,.preview table{width:100%;max-width:100%;margin-bottom:20px;background-color:transparent;border-collapse:collapse;border-spacing:0}.htmlPreview table td,.htmlPreview table th,.pdfPreview table td,.pdfPreview table th,.preview table td,.preview table th{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd;border-left:1px solid #ddd}.htmlPreview table th,.pdfPreview table th,.preview table th{font-weight:700}.htmlPreview table tr>td:last-child,.htmlPreview table tr>th:last-child,.pdfPreview table tr>td:last-child,.pdfPreview table tr>th:last-child,.preview table tr>td:last-child,.preview table tr>th:last-child{border-right:1px solid #ddd}.htmlPreview table tbody>tr:last-child>td,.pdfPreview table tbody>tr:last-child>td,.preview table tbody>tr:last-child>td{border-bottom:1px solid #ddd}.htmlPreview table tbody>tr:nth-child(2n+1)>td,.pdfPreview table tbody>tr:nth-child(2n+1)>td,.preview table tbody>tr:nth-child(2n+1)>td{background-color:rgba(102,128,153,.05)}.htmlPreview img,.pdfPreview img,.preview img{max-width:80%;border-style:none}.htmlPreview img.emoji,.pdfPreview img.emoji,.preview img.emoji{width:20px;height:20px}.htmlPreview img[src=""],.pdfPreview img[src=""],.preview img[src=""]{position:relative;width:0;height:0;padding:65px 50%;text-indent:-100vw;background:#efefee}.htmlPreview,.pdfPreview{padding-bottom:50px}.htmlPreview img[src=""]::before,.pdfPreview img[src=""]::before,.preview img[src=""]::before{content:'Upload an image';position:absolute;top:0;left:0;right:0;bottom:0;line-height:130px;text-align:center;text-indent:initial;color:#8E9092}body.htmlTmp{background-color:#F9F9F5}.htmlPreview{height:auto;border:0;margin:0 auto;max-width:850px;overflow-x:hidden;position:relative;background-color:#F9F9F5}.pdfPreview,body.pdfTmp{background-color:#fff;font-size:12px}.pdfPreview h1,.pdfPreview h2,.pdfPreview h3,.pdfPreview h4,.pdfPreview h5,.pdfPreview h6{font-weight:500}.pdfPreview h1{margin:40px 0 15px;font-size:24px}.pdfPreview h2{margin:30px 0 15px;font-size:20px}.pdfPreview h3{margin:20px 0;font-size:16px}.pdfPreview h4{font-size:14px}.pdfPreview h5,.pdfPreview h6{font-size:12px}
</style>
<body class='pdfTmp'>
<div id='tempPreview' class='pdfPreview'>reg-preview</div>
</body>
</html>