191 lines
3.7 KiB
CSS
191 lines
3.7 KiB
CSS
.note2any {
|
|
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;
|
|
}
|
|
.note2any h1,
|
|
.note2any h2,
|
|
.note2any h3,
|
|
.note2any h4,
|
|
.note2any h5,
|
|
.note2any h6 {
|
|
line-height: 1.5;
|
|
margin-top: 35px;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
.note2any h1 {
|
|
font-size: 30px;
|
|
margin-bottom: 5px;
|
|
}
|
|
.note2any h2 {
|
|
padding-bottom: 12px;
|
|
font-size: 24px;
|
|
border-bottom: 1px solid #ececec;
|
|
}
|
|
.note2any h3 {
|
|
font-size: 18px;
|
|
padding-bottom: 0;
|
|
}
|
|
.note2any 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;
|
|
}
|
|
.note2any h5 {
|
|
font-size: 15px;
|
|
}
|
|
.note2any h6 {
|
|
margin-top: 5px;
|
|
}
|
|
.note2any p {
|
|
line-height: inherit;
|
|
margin-top: 22px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.note2any img {
|
|
max-width: 100%;
|
|
}
|
|
.note2any hr {
|
|
border-top: 1px solid #ddd;
|
|
border-bottom: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
margin-top: 32px;
|
|
margin-bottom: 32px;
|
|
}
|
|
.note2any a {
|
|
text-decoration: none;
|
|
color: #0269c8;
|
|
border-bottom: 1px solid #d1e9ff;
|
|
}
|
|
.note2any table {
|
|
display: inline-block !important;
|
|
font-size: 12px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
border: solid 1px #f6f6f6;
|
|
}
|
|
.note2any thead {
|
|
background: #f6f6f6;
|
|
color: #000;
|
|
text-align: left;
|
|
}
|
|
.note2any tr:nth-child(2n) {
|
|
background-color: #fcfcfc;
|
|
}
|
|
.note2any th,
|
|
.note2any td {
|
|
padding: 12px 7px;
|
|
line-height: 24px;
|
|
}
|
|
.note2any td {
|
|
min-width: 120px;
|
|
}
|
|
.note2any blockquote {
|
|
color: #666;
|
|
padding: 1px 23px;
|
|
margin: 22px 0;
|
|
border-left: 4px solid #cbcbcb;
|
|
background-color: #f8f8f8;
|
|
}
|
|
.note2any blockquote > p {
|
|
margin: 10px 0;
|
|
}
|
|
.note2any ol,
|
|
.note2any ul {
|
|
padding-left: 28px;
|
|
}
|
|
.note2any ol li,
|
|
.note2any ul li {
|
|
margin-bottom: 0;
|
|
list-style: inherit;
|
|
}
|
|
.note2any ol ul,
|
|
.note2any ol ol,
|
|
.note2any ul ul,
|
|
.note2any ul ol {
|
|
margin-top: 3px;
|
|
}
|
|
.note2any ol li {
|
|
padding-left: 6px;
|
|
}
|
|
.note2any .footnotes hr {
|
|
margin-top: 4em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
.note2any 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;
|
|
}
|
|
.note2any .code-section pre code {
|
|
font-size: inherit;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: unset;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* 代码块 */
|
|
.note2any .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;
|
|
}
|
|
.note2any .code-section pre {
|
|
margin: 0;
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
white-space: normal;
|
|
overflow-x: auto;
|
|
padding: 0 0 0 1em;
|
|
}
|
|
.note2any .code-section code {
|
|
display: flex;
|
|
text-wrap: nowrap;
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
}
|
|
.note2any .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;
|
|
}
|
|
.note2any .code-section ul > li {
|
|
text-align: right;
|
|
} |