.h5-body { display: block; } .h5-p { display: block; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0; -webkit-margin-end: 0; } .h5-address, .h5-article, .h5-aside, .h5-div, .h5-footer, .h5-header, .h5-hgroup, .h5-main, .h5-nav, .h5-section { display: block; } .h5-blockquote { display: block; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 40px; -webkit-margin-end: 40px; } .h5-figcaption { display: block; } .h5-figure { display: block; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 40px; -webkit-margin-end: 40px; } .h5-q { display: inline; } .h5-center { display: block; text-align: center; } .h5-hr { display: block; -webkit-margin-before: 0.5em; -webkit-margin-after: 0.5em; -webkit-margin-start: auto; -webkit-margin-end: auto; border-style: inset; border-width: 1px; } .h5-video { object-fit: contain; -webkit-tap-highlight-color: transparent; } /* heading elements */ .h5-h1 { display: block; font-size: 2em; -webkit-margin-before: 0.67em; -webkit-margin-after: 0.67em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } .h5-h2 { display: block; font-size: 1.5em; -webkit-margin-before: 0.83em; -webkit-margin-after: 0.83em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } .h5-h3 { display: block; font-size: 1.17em; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } .h5-h4 { display: block; -webkit-margin-before: 1.33em; -webkit-margin-after: 1.33em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } .h5-h5 { display: block; font-size: .83em; -webkit-margin-before: 1.67em; -webkit-margin-after: 1.67em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } .h5-h6 { display: block; font-size: .67em; -webkit-margin-before: 2.33em; -webkit-margin-after: 2.33em; -webkit-margin-start: 0; -webkit-margin-end: 0; font-weight: bold; } /* tables */ .h5-table { display: table; border-collapse: separate; border-spacing: 2px; border-color: gray; } .h5-thead { display: table-header-group; vertical-align: middle; border-color: inherit; } .h5-tbody { display: table-row-group; vertical-align: middle; border-color: inherit; } .h5-tfoot { display: table-footer-group; vertical-align: middle; border-color: inherit; } /* for tables without table section elements (can happen with XHTML or dynamically created tables) */ .h5-table > .h5-tr { vertical-align: middle; } .h5-col { display: table-column; } .h5-colgroup { display: table-column-group; } .h5-tr { display: table-row; vertical-align: inherit; border-color: inherit; } .h5-td, .h5-th { display: table-cell; vertical-align: inherit; } .h5-th { font-weight: bold; } .h5-caption { display: table-caption; text-align: center; } /* lists */ .h5-ul, .h5-menu, .h5-dir { display: block; list-style-type: disc; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0; -webkit-margin-end: 0; -webkit-padding-start: 40px; } .h5-ol { display: block; list-style-type: decimal; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0; -webkit-margin-end: 0; -webkit-padding-start: 40px; } .h5-li { display: list-item; text-align: -webkit-match-parent; } .h5-dd { display: block; -webkit-margin-start: 40px; } .h5-dl { display: block; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0; -webkit-margin-end: 0; } .h5-dt { display: block; } /* form elements */ .h5-form { display: block; margin-top: 0em; } .h5-label { cursor: default; } .h5-legend { display: block; -webkit-padding-start: 2px; -webkit-padding-end: 2px; border: none; } .h5-fieldset { display: block; -webkit-margin-start: 2px; -webkit-margin-end: 2px; -webkit-padding-before: 0.35em; -webkit-padding-start: 0.75em; -webkit-padding-end: 0.75em; -webkit-padding-after: 0.625em; border: 2px groove ThreeDFace; min-width: min-content; } /* Form controls don't go vertical. */ .h5-input, .h5-textarea, keygen, .h5-select, .h5-button, .h5-progress { -webkit-writing-mode: horizontal-tb !important; } .h5-input, .h5-textarea, keygen, .h5-select, .h5-button { margin: 0em; font: -webkit-small-control; color: initial; letter-spacing: normal; word-spacing: normal; line-height: normal; text-transform: none; text-indent: 0; text-shadow: none; display: inline-block; text-align: start; } .h5-datalist { display: none; } keygen, .h5-select { border-radius: 5px; } .h5-area, .h5-param { display: none; } .h5-select { box-sizing: border-box; letter-spacing: normal; word-spacing: normal; line-height: normal; border: 1px solid #4c4c4c; /* We want to be as close to background:transparent as possible without actually being transparent */ background-color: rgba(255, 255, 255, 0.01); font: 11px Helvetica; padding: 0 0.4em 0 0.4em; border: 1px solid; color: text; background-color: -apple-system-control-background; color: black; background-color: white; align-items: center; white-space: pre; -webkit-rtl-ordering: logical; cursor: default; } .h5-optgroup { font-weight: bolder; } .h5-option { font-weight: normal; } .h5-output { display: inline; } /* inline elements */ .h5-u, .h5-ins { text-decoration: underline; } .h5-strong, .h5-b { font-weight: bold; } .h5-i, .h5-cite, .h5-em, var, .h5-address, .h5-dfn { font-style: italic; } .h5-tt, .h5-code, .h5-kbd, .h5-samp { font-family: monospace; } .h5-pre { display: block; font-family: monospace; white-space: pre; margin: 1em 0; } .h5-mark { background-color: yellow; color: black; } .h5-big { font-size: larger; } .h5-small { font-size: smaller; } .h5-s, .h5-strike, .h5-del { text-decoration: line-through; } .h5-sub { vertical-align: sub; font-size: smaller; } .h5-sup { vertical-align: super; font-size: smaller; } /* other elements */ .h5-iframe { border: 2px inset; } .h5-details { display: block; } .h5-summary { display: block; } template { display: none; } .h5-bdi, .h5-output { unicode-bidi: isolate; } .h5-bdo { unicode-bidi: bidi-override; } .h5-img { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } /** * 兼容标签样式 */ .h5-img { display: inline-block; height: auto; } .h5-br { display: inline-block; } .h5-a, .h5-abbr, .h5-b, .h5-code, .h5-i, .h5-label, .h5-small, .h5-span, .h5-strong, .h5-time { display: inline; } /* 去除 button 组件默认样式 */ button { position: relative; display: block; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; box-sizing: border-box; font-size: inherit; text-align: inherit; text-decoration: inherit; line-height: inherit; border-radius: inherit; -webkit-tap-highlight-color: inherit; overflow: hidden; color: inherit; background-color: inherit; } button:after { content: ""; width: auto; height: auto; position: static; top: 0; left: 0; border: none; -webkit-transform: none; transform: none; -webkit-transform-origin: 0 0; transform-origin: 0 0; box-sizing: border-box; border-radius: 0; }