Files

2 lines
1.6 KiB
CSS

*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font:14px/1.6 system-ui,"Microsoft YaHei",sans-serif;color:#182433;background:#f5f7fa}#preview-status{padding:24px;color:#687787}.preview-error{white-space:pre-wrap}#preview-content{min-height:100%;width:100%;padding:16px}#preview-content[hidden]{display:none}#preview-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 ui-monospace,Consolas,monospace;background:#fff;padding:16px;border-radius:8px}#preview-pdf{height:calc(100vh - 32px);min-height:360px}.preview-image{display:block;max-width:100%;max-height:calc(100vh - 80px);margin:12px auto;object-fit:contain}.preview-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 0 16px}.preview-toolbar select,.image-zoom{padding:7px 12px;border:1px solid #dce1e7;border-radius:6px;background:white;color:inherit}.preview-note{margin:0 0 12px;color:#687787}.sheet-viewport{overflow:auto;max-height:calc(100vh - 110px);border:1px solid #dce1e7;background:white}.preview-sheet{border-collapse:collapse;min-width:100%}.preview-sheet td,.preview-sheet th{border:1px solid #dce1e7;padding:6px 10px;min-width:90px;max-width:480px;white-space:pre-wrap;overflow-wrap:anywhere}.preview-sheet th{min-width:48px;background:#edf1f5;font-weight:500}.cell-bold{font-weight:700}.cell-italic{font-style:italic}.word-pages{overflow:auto;max-width:100%;min-width:0}.word-document-wrapper{padding:8px!important}@media(max-width:640px){#preview-content{padding:8px}#preview-pdf{height:calc(100vh - 16px)}.word-document-wrapper{padding:0!important}.preview-sheet td{padding:5px 8px}}