191 lines
3.7 KiB
CSS
191 lines
3.7 KiB
CSS
.note-to-mp {
|
|
padding: 0 1em;
|
|
word-break: break-word;
|
|
line-height: 1.8;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
word-spacing: 2px;
|
|
letter-spacing: 2px;
|
|
overflow-x: hidden;
|
|
color: #3e3e3e;
|
|
background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);
|
|
background-size: 20px 20px;
|
|
background-position: center center;
|
|
}
|
|
.note-to-mp h1,
|
|
.note-to-mp h2,
|
|
.note-to-mp h3,
|
|
.note-to-mp h4,
|
|
.note-to-mp h5,
|
|
.note-to-mp h6 {
|
|
line-height: 1.5;
|
|
margin-top: 35px;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
.note-to-mp h1 {
|
|
font-size: 30px;
|
|
margin-bottom: 5px;
|
|
}
|
|
.note-to-mp h2 {
|
|
padding-bottom: 12px;
|
|
font-size: 24px;
|
|
border-bottom: 1px solid #ececec;
|
|
}
|
|
.note-to-mp h3 {
|
|
font-size: 18px;
|
|
padding-bottom: 0;
|
|
}
|
|
.note-to-mp h4 {
|
|
font-size: 1.2em;
|
|
border-bottom: 2px solid rgb(239, 112, 96);
|
|
word-spacing: 0px !important;
|
|
letter-spacing: 0px !important;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
display: block;
|
|
font-weight: normal;
|
|
background: rgb(239, 112, 96);
|
|
color: rgb(255, 255, 255);
|
|
padding: 10px 10px 10px;
|
|
border-top-right-radius: 3px;
|
|
border-top-left-radius: 3px;
|
|
margin-right: 3px;
|
|
}
|
|
.note-to-mp h5 {
|
|
font-size: 15px;
|
|
}
|
|
.note-to-mp h6 {
|
|
margin-top: 5px;
|
|
}
|
|
.note-to-mp p {
|
|
line-height: inherit;
|
|
margin-top: 22px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.note-to-mp img {
|
|
max-width: 100%;
|
|
}
|
|
.note-to-mp hr {
|
|
border-top: 1px solid #ddd;
|
|
border-bottom: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
margin-top: 32px;
|
|
margin-bottom: 32px;
|
|
}
|
|
.note-to-mp a {
|
|
text-decoration: none;
|
|
color: #0269c8;
|
|
border-bottom: 1px solid #d1e9ff;
|
|
}
|
|
.note-to-mp table {
|
|
display: inline-block !important;
|
|
font-size: 12px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
border: solid 1px #f6f6f6;
|
|
}
|
|
.note-to-mp thead {
|
|
background: #f6f6f6;
|
|
color: #000;
|
|
text-align: left;
|
|
}
|
|
.note-to-mp tr:nth-child(2n) {
|
|
background-color: #fcfcfc;
|
|
}
|
|
.note-to-mp th,
|
|
.note-to-mp td {
|
|
padding: 12px 7px;
|
|
line-height: 24px;
|
|
}
|
|
.note-to-mp td {
|
|
min-width: 120px;
|
|
}
|
|
.note-to-mp blockquote {
|
|
color: #666;
|
|
padding: 1px 23px;
|
|
margin: 22px 0;
|
|
border-left: 4px solid #cbcbcb;
|
|
background-color: #f8f8f8;
|
|
}
|
|
.note-to-mp blockquote > p {
|
|
margin: 10px 0;
|
|
}
|
|
.note-to-mp ol,
|
|
.note-to-mp ul {
|
|
padding-left: 28px;
|
|
}
|
|
.note-to-mp ol li,
|
|
.note-to-mp ul li {
|
|
margin-bottom: 0;
|
|
list-style: inherit;
|
|
}
|
|
.note-to-mp ol ul,
|
|
.note-to-mp ol ol,
|
|
.note-to-mp ul ul,
|
|
.note-to-mp ul ol {
|
|
margin-top: 3px;
|
|
}
|
|
.note-to-mp ol li {
|
|
padding-left: 6px;
|
|
}
|
|
.note-to-mp .footnotes hr {
|
|
margin-top: 4em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
.note-to-mp code {
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
word-break: break-word;
|
|
border-radius: 2px;
|
|
background-color: #fff5f5;
|
|
color: #ff502c;
|
|
font-size: 0.87em;
|
|
padding: 0.065em 0.4em;
|
|
}
|
|
.note-to-mp .code-section pre code {
|
|
font-size: inherit;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: unset;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* 代码块 */
|
|
.note-to-mp .code-section {
|
|
display: flex;
|
|
border: solid 1px #cbcbcb;
|
|
margin: 1.5em 0;
|
|
line-height: 26px;
|
|
padding: 0.5em;
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
}
|
|
.note-to-mp .code-section pre {
|
|
margin: 0;
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
white-space: normal;
|
|
overflow-x: auto;
|
|
padding: 0 0 0 1em;
|
|
}
|
|
.note-to-mp .code-section code {
|
|
display: flex;
|
|
text-wrap: nowrap;
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
}
|
|
.note-to-mp .code-section ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
width: fit-content;
|
|
flex-shrink: 0;
|
|
height: 100%;
|
|
line-height: 26px;
|
|
list-style-type: none;
|
|
}
|
|
.note-to-mp .code-section ul > li {
|
|
text-align: right;
|
|
} |