/* 字体 */ /*:root {*/ /* font-size: calc(0.5em + 1vw); */ /*font-size: 62.5%;*/ /*}*/ body, html { width: 100%; height: 100%; } /* border + padding + body = width */ *, :after, :before { box-sizing: border-box; /*选中可编辑框是 外层隐藏黑线*/ outline: none; margin: 0; padding: 0 } ol, ul { list-style: none } a { color: #000; text-decoration: none } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400 } .fontsize24, h1 { font-size: 24px; font-weight: 400; } .fontsize20, h2 { font-size: 20px; font-weight: 400; } .fontsize18, h3 { font-size: 18px; font-weight: 400; } .fontsize16, h4 { font-size: 16px; font-weight: 400; } .fontsize14, h5 { font-size: 14px; font-weight: 400; } .fontsize12, h6 { font-size: 12px; font-weight: 400; } .fllil li { float: left } .fllir li { float: right } .fl { float: left } .fr { float: right } .radius { border-radius: 100% } .positionCenterLeft { left: 0; right: 0; margin: auto } .positionCenterTop { top: 0; bottom: 0; margin: auto } .positionCenter { top: 0; bottom: 0; left: 0; right: 0; margin: auto } .distable { display: table } .distablecell { display: table-cell; vertical-align: middle } .textels { overflow: hidden; white-space: nowrap; text-overflow: ellipsis } .marginCenter { margin: 0 auto } .t_l { text-align: left } .t_c { text-align: center } .t_r { text-align: right } .unLine { text-decoration: underline } .fiexd { position: fixed } .absolute { position: absolute } .relative { position: relative } .wrapper { clear: both; overflow: hidden } .o-hidden { overflow: hidden } .hidden { display: none } .block { display: block } .lblock { display: inline-block } .clear { clear: both } .pointer { cursor: pointer } img { border: 0; vertical-align: middle } html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0) } /*@-ms-viewport {*/ /* width: device-width;*/ /*}*/ body { color: #262626; font-family: Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif; font-variant: tabular-nums; /* 行高设置*/ /*line-height: 1.5715;*/ background-color: #fff; font-feature-settings: "tnum", "tnum"; font-weight: normal; display: flex; flex-direction: column; align-items: center; /*background-color: #ffebc3;*/ } hr { box-sizing: content-box; height: 0; overflow: visible } /* 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; } } header { position: fixed; /*border: 1px yellow solid;*/ z-index: 9999; top: 0; left: 0; /*right: 0;*/ width: 100%; /*min-height: 58rem;*/ /*background-color: #ffebc3;*/ /*background-color: deepskyblue;*/ /*响应式*/ display: flex; flex-direction: column; align-items: center; /*flex-wrap: nowrap;*/ } .fixStylePosition { display: block; width: 100%; height: 26rem; /*border: 1px #dee0e3 solid;*/ /*border: 1px orange solid;*/ background-color: rgb(255, 255, 255); border: 1px #f5f5f5 solid; /*box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);*/ } .fixStyleOut { /*border: 1px blue solid;*/ margin: 0 0; width: auto; /*height: 130rem;*/ padding: 5rem 5rem; font-size: 16rem; display: flex; justify-content: center; align-items: center; /*align-content: center;*/ /*flex-direction: column;*/ /*align-items: center;*/ /*justify-content: center;*/ /*align-content: center;*/ } .fixStyleInnerSpan { margin: 0 1rem; } main { width: 100%; display: flex; flex-direction: column; align-items: center; margin-top: 30rem; /*min-height: 80%;*/ /*border: 1px greenyellow solid;*/ } #yxl_note { width: 60%; /* width: 21cm; */ min-height: 200rem; /* font-size: 1.5rem; */ /*border: 1px red solid;*/ margin: auto auto; padding: 10rem 10rem; /*box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);*/ /*响应式*/ /*display: flex;*/ /*flex-direction:column;*/ /*flex-wrap: wrap;*/ } #yxl_note p { /*border: 1px rgb(248, 245, 245) solid;*/ margin: 0 0; padding: 0 0; /*padding: 0 0;*/ /* border: none; */ /* 字符之间的间距 */ letter-spacing: normal; height: fit-content; line-height: inherit; /*布局*/ display: flex; justify-content: flex-start; align-items: baseline; /*padding-left: 2em;*/ /*响应式*/ /*flex: 1 1 100%;*/ } #yxl_note p span[data-flag="span_content"] { /*border: 1px deepskyblue solid;*/ margin: 0 0; padding: 0 0; /* border: none; */ display: inline; width: 100%; height: 100%; /*缩进2个字符的距离*/ text-indent: 2em; &:empty::before { content: attr(placeholder); /*font-size: 14rem;*/ color: #CCC; /*line-height: 21rem;*/ /*padding-top: 20rem;*/ } } #my-title { &:empty::before { content: '请输入标题'; color: #CCC; } } #yxl_note p span[data-before-style="my-li-content"]::before { content: attr(my-li-content); /*border: 1px rgb(0, 140, 255) solid;*/ -webkit-transform: scale(1.375); transform: scale(1.375); margin: 0 0; padding: 0 0; /*display: compact;*/ /*width: 2em;*/ } #testInput { width: 60%; min-height: 100rem; border: 1px rgb(0, 140, 255) solid; margin: 20px auto; justify-content: center; } ::selection { color: inherit; /*color: antiquewhite;*/ /*background-color: cadetblue;*/ background-color: rgba(27, 162, 227, .2); /*background-color: #d6e0fe;*/ /*text-shadow: #00a9ff;*/ } .my-divider-item { background-color: #e9e9eb; width: 1px; height: 18rem; margin: 0 3rem; } footer { width: 100%; } /*@media screen and ( max-width: 1024px ) {*/ /* !*当屏幕尺寸小于768px时,应用下面的css样式*!*/ /* .fixStylePosition {*/ /* display: block;*/ /* z-index: 99;*/ /* top: 0;*/ /* width: 100%;*/ /* min-height: 200rem;*/ /* margin-bottom: 3rem;*/ /* }*/ /* #_style_utils svg {*/ /* width: 400rem;*/ /* height: 400rem;*/ /* margin: 50rem 0;*/ /* }*/ /*}*/