/* 字体 */ :root { /* font-size: calc(0.5em + 1vw); */ font-size: 62.5%; } /* style sheet for "A4" printing */ @media print and (width: 21cm) and (height: 29.7cm) { @page { margin: 3cm; } } /* style sheet for "letter" printing */ @media print and (width: 8.5in) and (height: 11in) { @page { margin: 1in; } } * { /* margin: 1px 2px; padding: 1px 2px; */ font-family: Roboto-Regular, PingFang SC, SF Pro SC, SF Pro Text, SF Pro Icons, Helvetica Neue, Roboto, Helvetica, Arial, sans-serif; outline: none; /* box-sizing: border-box; */ } body { justify-content: center; /*align-items: center;*/ } header { position: relative; top: 0; /* height: 8rem; */ z-index: 9999; left: 0; right: 0; width: 100%; } #noteshare { width: 90%; /* width: 21cm; */ min-height: 10rem; /* font-size: 1.5rem; */ /*border: 1px red solid;*/ margin: auto auto; } #noteshare p { /*border: 1px rgb(248, 245, 245) solid;*/ margin: 0 0; padding: 0 0; /* border: none; */ } #testInput { width: 60%; min-height: 10rem; border: 1px rgb(0, 140, 255) solid; margin: 20px auto; justify-content: center; } ::selection { color: antiquewhite; background-color: cadetblue; text-shadow: #00a9ff; } .my-divider-item { background-color: lightgray; width: 1px; height: 2rem; margin: 0.2rem 1.6rem; } .childStyleStrong { font-weight: bold } .childStyleI { font-style: italic; } .childStyleU { text-decoration: underline; / / 中划线 / / text-decoration: line-through; } .childStyleDel { text-decoration: line-through; } .childStyleColor { color: red; } .fixStylePosition { display: none; position: fixed; z-index: 87; top: 5rem; left: 10rem; width: auto; height: 2.4rem; padding: 0.8rem 0.8rem; /*padding: 0.6rem 1rem 0.6rem 1rem;*/ justify-content: center; align-items: center; align-content: center; border-radius: 0.8rem; border: 1px #dee0e3 solid; background-color: rgb(255, 255, 255); /*box-shadow: 0.1rem 0.1rem 0.1rem 0.1rem lightgrey;*/ box-shadow: 0 0.4rem 0.8rem rgba(31, 35, 41, 0.1); } .fixStyleOut { /*border: 1px blue solid;*/ margin: 0 0; width: auto; height: 2rem; padding: 0.5rem 0.5rem; display: flex; justify-content: center; align-items: center; align-content: center; } .fixStyleInnerSpan { margin: 0 1rem; }