309 lines
5.9 KiB
CSS
309 lines
5.9 KiB
CSS
/* 字体 */
|
||
/*: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;
|
||
}
|
||
|
||
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";
|
||
|
||
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;*/
|
||
}
|
||
|
||
/*#head_top {*/
|
||
/* width: 100%;*/
|
||
/* height: 32rem;*/
|
||
|
||
/* border: 1px #f5f5f5 solid;*/
|
||
/* !*box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);*!*/
|
||
/* background-color: rgb(255, 255, 255);*/
|
||
/* !*background-color: blue;*!*/
|
||
|
||
/* font-size: 16rem;*/
|
||
/* display: flex;*/
|
||
/* justify-content: space-around;*/
|
||
/* align-items: center;*/
|
||
/*}*/
|
||
|
||
.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;
|
||
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
/*align-content: center;*/
|
||
}
|
||
|
||
.fixStyleInnerSpan {
|
||
margin: 0 3rem;
|
||
}
|
||
|
||
#_position_more {
|
||
position: fixed;
|
||
z-index: 99;
|
||
}
|
||
|
||
#_show_more {
|
||
margin: 1rem 0;
|
||
font-size: 12rem;
|
||
position: relative;
|
||
top: 1em;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
|
||
/*border: 1px red solid;*/
|
||
min-width: 5em;
|
||
}
|
||
|
||
main {
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
|
||
margin-top: 20rem;
|
||
/*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_pre"] {*/
|
||
/* !*border: 1px red solid;*!*/
|
||
/* !*min-width: 2em;*!*/
|
||
/* width: fit-content;*/
|
||
/* height: fit-content;*/
|
||
/* margin: 0 0;*/
|
||
/* text-indent: 0;*/
|
||
/* padding: 0 0;*/
|
||
|
||
/* display: inline;*/
|
||
|
||
/* justify-content: flex-end;*/
|
||
/* -moz-user-select: none;*/
|
||
/* user-select: none;*/
|
||
/* -webkit-user-select: none;*/
|
||
|
||
/* box-sizing: border-box;*/
|
||
/* white-space: nowrap;*/
|
||
/*}*/
|
||
|
||
#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;*/
|
||
}
|
||
}
|
||
|
||
#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 6rem;
|
||
}
|
||
|
||
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;*/
|
||
/* }*/
|
||
|
||
/*}*/
|