update at 2025-10-16 14:24:10
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.note-to-mp {
|
||||
.note2any {
|
||||
word-break: break-word;
|
||||
line-height: 1.75;
|
||||
font-weight: 400;
|
||||
@@ -6,79 +6,79 @@
|
||||
overflow-x: hidden;
|
||||
color: #333;
|
||||
}
|
||||
.note-to-mp h1,
|
||||
.note-to-mp h2,
|
||||
.note-to-mp h3,
|
||||
.note-to-mp h4,
|
||||
.note-to-mp h5,
|
||||
.note-to-mp h6 {
|
||||
.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;
|
||||
}
|
||||
.note-to-mp h1:first-child,
|
||||
.note-to-mp h2:first-child,
|
||||
.note-to-mp h3:first-child,
|
||||
.note-to-mp h4:first-child,
|
||||
.note-to-mp h5:first-child,
|
||||
.note-to-mp h6:first-child {
|
||||
.note2any h1:first-child,
|
||||
.note2any h2:first-child,
|
||||
.note2any h3:first-child,
|
||||
.note2any h4:first-child,
|
||||
.note2any h5:first-child,
|
||||
.note2any h6:first-child {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.note-to-mp h1::before,
|
||||
.note-to-mp h2::before,
|
||||
.note-to-mp h3::before,
|
||||
.note-to-mp h4::before,
|
||||
.note-to-mp h5::before,
|
||||
.note-to-mp h6::before {
|
||||
.note2any h1::before,
|
||||
.note2any h2::before,
|
||||
.note2any h3::before,
|
||||
.note2any h4::before,
|
||||
.note2any h5::before,
|
||||
.note2any h6::before {
|
||||
content: "#";
|
||||
display: inline-block;
|
||||
color: #3eaf7c;
|
||||
padding-right: 0.23em;
|
||||
}
|
||||
.note-to-mp h1 {
|
||||
.note2any h1 {
|
||||
position: relative;
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.note-to-mp h1::before {
|
||||
.note2any h1::before {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
.note-to-mp h2 {
|
||||
.note2any h2 {
|
||||
padding-bottom: 0.5rem;
|
||||
font-size: 2.2rem;
|
||||
border-bottom: 1px solid #ececec;
|
||||
}
|
||||
.note-to-mp h3 {
|
||||
.note2any h3 {
|
||||
font-size: 1.5rem;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.note-to-mp h4 {
|
||||
.note2any h4 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.note-to-mp h5 {
|
||||
.note2any h5 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.note-to-mp h6 {
|
||||
.note2any h6 {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.note-to-mp p {
|
||||
.note2any p {
|
||||
line-height: inherit;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.note-to-mp strong {
|
||||
.note2any strong {
|
||||
color: #3eaf7c;
|
||||
}
|
||||
.note-to-mp img {
|
||||
.note2any img {
|
||||
max-width: 100%;
|
||||
border-radius: 2px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
border: 3px solid rgba(62, 175, 124, 0.2);
|
||||
}
|
||||
.note-to-mp hr {
|
||||
.note2any hr {
|
||||
border-top: 1px solid #3eaf7c;
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
@@ -86,12 +86,12 @@
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.note-to-mp a {
|
||||
.note2any a {
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
color: #3eaf7c;
|
||||
}
|
||||
.note-to-mp table {
|
||||
.note2any table {
|
||||
display: inline-block !important;
|
||||
font-size: 12px;
|
||||
width: auto;
|
||||
@@ -99,23 +99,23 @@
|
||||
overflow: auto;
|
||||
border: solid 1px #3eaf7c;
|
||||
}
|
||||
.note-to-mp thead {
|
||||
.note2any thead {
|
||||
background: #3eaf7c;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
}
|
||||
.note-to-mp tr:nth-child(2n) {
|
||||
.note2any tr:nth-child(2n) {
|
||||
background-color: rgba(62, 175, 124, 0.2);
|
||||
}
|
||||
.note-to-mp th,
|
||||
.note-to-mp td {
|
||||
.note2any th,
|
||||
.note2any td {
|
||||
padding: 12px 7px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.note-to-mp td {
|
||||
.note2any td {
|
||||
min-width: 120px;
|
||||
}
|
||||
.note-to-mp blockquote {
|
||||
.note2any blockquote {
|
||||
color: #666;
|
||||
padding: 1px 23px;
|
||||
margin: 22px 0;
|
||||
@@ -123,65 +123,65 @@
|
||||
border-color: #42b983;
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.note-to-mp blockquote > p {
|
||||
.note2any blockquote > p {
|
||||
margin: 10px 0;
|
||||
}
|
||||
.note-to-mp details {
|
||||
.note2any details {
|
||||
border: none;
|
||||
outline: none;
|
||||
border-left: 4px solid #3eaf7c;
|
||||
padding-left: 10px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.note-to-mp details summary {
|
||||
.note2any details summary {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: white;
|
||||
margin: 0px -17px;
|
||||
}
|
||||
.note-to-mp details summary::-webkit-details-marker {
|
||||
.note2any details summary::-webkit-details-marker {
|
||||
color: #3eaf7c;
|
||||
}
|
||||
.note-to-mp ol,
|
||||
.note-to-mp ul {
|
||||
.note2any ol,
|
||||
.note2any ul {
|
||||
padding-left: 28px;
|
||||
}
|
||||
.note-to-mp ol li,
|
||||
.note-to-mp ul li {
|
||||
.note2any ol li,
|
||||
.note2any ul li {
|
||||
margin-bottom: 0;
|
||||
list-style: inherit;
|
||||
}
|
||||
.note-to-mp ol li .task-list-item,
|
||||
.note-to-mp ul li .task-list-item {
|
||||
.note2any ol li .task-list-item,
|
||||
.note2any ul li .task-list-item {
|
||||
list-style: none;
|
||||
}
|
||||
.note-to-mp ol li .task-list-item ul,
|
||||
.note-to-mp ul li .task-list-item ul,
|
||||
.note-to-mp ol li .task-list-item ol,
|
||||
.note-to-mp ul li .task-list-item ol {
|
||||
.note2any ol li .task-list-item ul,
|
||||
.note2any ul li .task-list-item ul,
|
||||
.note2any ol li .task-list-item ol,
|
||||
.note2any ul li .task-list-item ol {
|
||||
margin-top: 0;
|
||||
}
|
||||
.note-to-mp ol ul,
|
||||
.note-to-mp ul ul,
|
||||
.note-to-mp ol ol,
|
||||
.note-to-mp ul ol {
|
||||
.note2any ol ul,
|
||||
.note2any ul ul,
|
||||
.note2any ol ol,
|
||||
.note2any ul ol {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.note-to-mp ol li {
|
||||
.note2any ol li {
|
||||
padding-left: 6px;
|
||||
}
|
||||
.note-to-mp ol li::marker {
|
||||
.note2any ol li::marker {
|
||||
color: #3eaf7c;
|
||||
}
|
||||
.note-to-mp ul li::marker {
|
||||
.note2any ul li::marker {
|
||||
color: #3eaf7c;
|
||||
}
|
||||
.note-to-mp .footnotes hr {
|
||||
.note2any .footnotes hr {
|
||||
margin-top: 4em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.note-to-mp code {
|
||||
.note2any code {
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
word-break: break-word;
|
||||
padding: 0.2rem 0.5rem;
|
||||
@@ -191,10 +191,10 @@
|
||||
background-color: rgba(27, 31, 35, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.note-to-mp .code-section {
|
||||
.note2any .code-section {
|
||||
border-radius: 6px;
|
||||
}
|
||||
.note-to-mp .code-section pre code {
|
||||
.note2any .code-section pre code {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: inherit;
|
||||
@@ -205,7 +205,7 @@
|
||||
}
|
||||
|
||||
/* 代码块 */
|
||||
.note-to-mp .code-section {
|
||||
.note2any .code-section {
|
||||
display: flex;
|
||||
border: solid 1px #3eaf7c;
|
||||
margin: 1.5em 0;
|
||||
@@ -213,7 +213,7 @@
|
||||
padding: 0.5em;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.note-to-mp .code-section pre {
|
||||
.note2any .code-section pre {
|
||||
margin: 0;
|
||||
margin-block-start: 0;
|
||||
margin-block-end: 0;
|
||||
@@ -221,12 +221,12 @@
|
||||
overflow-x: auto;
|
||||
padding: 0 0 0 1em;
|
||||
}
|
||||
.note-to-mp .code-section code {
|
||||
.note2any .code-section code {
|
||||
display: flex;
|
||||
text-wrap: nowrap;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.note-to-mp .code-section ul {
|
||||
.note2any .code-section ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-block-start: 0;
|
||||
@@ -237,6 +237,6 @@
|
||||
line-height: 26px;
|
||||
list-style-type: none;
|
||||
}
|
||||
.note-to-mp .code-section ul > li {
|
||||
.note2any .code-section ul > li {
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user