443 lines
6.7 KiB
CSS
Raw Normal View History

2024-10-31 01:32:52 +08:00
/* 字体 */
2024-11-05 22:43:34 +08:00
/*: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;
2024-11-10 22:57:28 +08:00
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
2024-11-05 22:43:34 +08:00
}
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;
2024-11-10 01:51:52 +08:00
/* 行高设置*/
/*line-height: 1.5715;*/
2024-11-05 22:43:34 +08:00
background-color: #fff;
font-feature-settings: "tnum", "tnum";
2024-11-10 22:57:28 +08:00
font-weight: normal;
2024-11-05 22:43:34 +08:00
display: flex;
flex-direction: column;
align-items: center;
/*background-color: #ffebc3;*/
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible
2024-10-31 01:32:52 +08:00
}
/* 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;
}
}
2024-11-05 22:43:34 +08:00
header {
position: fixed;
2024-11-06 17:48:19 +08:00
/*border: 1px yellow solid;*/
2024-11-05 22:43:34 +08:00
z-index: 9999;
top: 0;
left: 0;
/*right: 0;*/
width: 100%;
2024-11-10 22:57:28 +08:00
/*min-height: 58rem;*/
2024-11-01 10:28:33 +08:00
2024-11-05 22:43:34 +08:00
/*background-color: #ffebc3;*/
/*background-color: deepskyblue;*/
/*响应式*/
2024-11-01 10:28:33 +08:00
display: flex;
flex-direction: column;
2024-11-05 22:43:34 +08:00
align-items: center;
/*flex-wrap: nowrap;*/
}
2024-10-31 17:16:43 +08:00
2024-11-05 22:43:34 +08:00
.fixStylePosition {
display: block;
width: 100%;
2024-11-08 10:09:31 +08:00
height: 26rem;
2024-11-05 22:43:34 +08:00
/*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);*/
2024-10-31 01:32:52 +08:00
}
2024-11-05 22:43:34 +08:00
.fixStyleOut {
/*border: 1px blue solid;*/
margin: 0 0;
width: auto;
/*height: 130rem;*/
2024-11-08 10:09:31 +08:00
padding: 5rem 5rem;
2024-11-01 09:52:52 +08:00
2024-11-10 22:57:28 +08:00
font-size: 16rem;
2024-11-05 22:43:34 +08:00
display: flex;
justify-content: center;
align-items: center;
/*align-content: center;*/
2024-11-10 22:57:28 +08:00
/*flex-direction: column;*/
/*align-items: center;*/
/*justify-content: center;*/
/*align-content: center;*/
2024-11-05 22:43:34 +08:00
}
.fixStyleInnerSpan {
2024-11-10 22:57:28 +08:00
margin: 0 1rem;
2024-11-01 09:52:52 +08:00
}
main {
2024-11-05 22:43:34 +08:00
width: 100%;
2024-11-01 09:52:52 +08:00
display: flex;
flex-direction: column;
align-items: center;
2024-11-05 22:43:34 +08:00
2024-11-10 22:57:28 +08:00
margin-top: 30rem;
2024-11-05 22:43:34 +08:00
/*min-height: 80%;*/
/*border: 1px greenyellow solid;*/
2024-10-31 01:32:52 +08:00
}
2024-11-05 22:43:34 +08:00
#yxl_note {
width: 60%;
2024-10-31 01:32:52 +08:00
/* width: 21cm; */
2024-11-08 10:09:31 +08:00
min-height: 200rem;
2024-10-31 01:32:52 +08:00
/* font-size: 1.5rem; */
/*border: 1px red solid;*/
margin: auto auto;
2024-11-08 10:09:31 +08:00
padding: 10rem 10rem;
2024-10-31 15:52:17 +08:00
/*box-shadow: 0 40rem 80rem rgba(31, 35, 41, 0.1);*/
2024-10-31 15:07:34 +08:00
/*响应式*/
2024-10-31 15:52:17 +08:00
/*display: flex;*/
/*flex-direction:column;*/
2024-11-09 18:59:45 +08:00
/*flex-wrap: wrap;*/
2024-10-31 15:52:17 +08:00
2024-10-31 01:32:52 +08:00
}
2024-11-05 22:43:34 +08:00
#yxl_note p {
2024-11-10 01:51:52 +08:00
/*border: 1px rgb(248, 245, 245) solid;*/
2024-10-31 01:32:52 +08:00
margin: 0 0;
padding: 0 0;
2024-11-09 18:59:45 +08:00
/*padding: 0 0;*/
2024-10-31 01:32:52 +08:00
/* border: none; */
2024-10-31 15:07:34 +08:00
2024-11-09 18:59:45 +08:00
/* 字符之间的间距 */
letter-spacing: normal;
height: fit-content;
2024-11-10 01:51:52 +08:00
line-height: inherit;
2024-11-09 18:59:45 +08:00
/*布局*/
display: flex;
justify-content: flex-start;
align-items: baseline;
/*padding-left: 2em;*/
2024-10-31 15:07:34 +08:00
/*响应式*/
2024-11-09 18:59:45 +08:00
/*flex: 1 1 100%;*/
}
#yxl_note p span[data-flag="span_content"] {
/*border: 1px deepskyblue solid;*/
2024-11-06 14:07:30 +08:00
margin: 0 0;
padding: 0 0;
/* border: none; */
2024-11-09 18:59:45 +08:00
display: inline;
2024-11-06 14:07:30 +08:00
width: 100%;
height: 100%;
2024-11-09 18:59:45 +08:00
2024-11-10 01:51:52 +08:00
/*缩进2个字符的距离*/
text-indent: 2em;
2024-11-09 18:59:45 +08:00
&:empty::before {
content: attr(placeholder);
2024-11-10 01:51:52 +08:00
/*font-size: 14rem;*/
2024-11-09 18:59:45 +08:00
color: #CCC;
2024-11-10 01:51:52 +08:00
/*line-height: 21rem;*/
/*padding-top: 20rem;*/
2024-11-09 18:59:45 +08:00
}
2024-11-06 14:07:30 +08:00
}
2024-10-31 01:32:52 +08:00
2024-11-10 01:51:52 +08:00
#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);
2024-11-10 02:30:02 +08:00
margin: 0 0;
padding: 0 0;
/*display: compact;*/
/*width: 2em;*/
2024-11-10 01:51:52 +08:00
}
2024-11-09 18:59:45 +08:00
2024-10-31 01:32:52 +08:00
#testInput {
width: 60%;
2024-11-08 10:09:31 +08:00
min-height: 100rem;
2024-10-31 01:32:52 +08:00
border: 1px rgb(0, 140, 255) solid;
margin: 20px auto;
justify-content: center;
}
::selection {
2024-11-10 01:51:52 +08:00
color: inherit;
/*color: antiquewhite;*/
/*background-color: cadetblue;*/
background-color: rgba(27, 162, 227, .2);
/*background-color: #d6e0fe;*/
/*text-shadow: #00a9ff;*/
2024-10-31 01:32:52 +08:00
}
.my-divider-item {
2024-10-31 19:01:59 +08:00
background-color: #e9e9eb;
2024-10-31 01:32:52 +08:00
width: 1px;
2024-11-08 10:09:31 +08:00
height: 18rem;
2024-11-10 22:57:28 +08:00
margin: 0 3rem;
2024-10-31 01:32:52 +08:00
}
2024-11-09 18:59:45 +08:00
footer {
2024-11-05 22:43:34 +08:00
width: 100%;
2024-10-31 01:32:52 +08:00
}
2024-11-05 22:43:34 +08:00
/*@media screen and ( max-width: 1024px ) {*/
/* !*当屏幕尺寸小于768px时应用下面的css样式*!*/
/* .fixStylePosition {*/
/* display: block;*/
/* z-index: 99;*/
/* top: 0;*/
/* width: 100%;*/
/* min-height: 200rem;*/
/* margin-bottom: 3rem;*/
/* }*/
2024-10-31 01:32:52 +08:00
2024-11-05 22:43:34 +08:00
/* #_style_utils svg {*/
/* width: 400rem;*/
/* height: 400rem;*/
/* margin: 50rem 0;*/
/* }*/
2024-10-31 01:32:52 +08:00
2024-11-05 22:43:34 +08:00
/*}*/