update at 2025-10-16 14:24:10

This commit is contained in:
douboer
2025-10-16 14:24:10 +08:00
parent 5e1351408e
commit 9f3a4e8812
41 changed files with 2377 additions and 2363 deletions

View File

@@ -1,4 +1,4 @@
.note-to-mp {
.note2any {
font-size: 16px;
color: #34495e;
line-height: 1.6rem;
@@ -7,23 +7,23 @@
overflow-x: hidden;
/* MWeb代码块高亮 */
}
.note-to-mp img {
.note2any img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.note-to-mp a {
.note2any a {
color: #42b983;
font-weight: 600;
padding: 0 2px;
text-decoration: none;
}
.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 {
position: relative;
margin-top: 1rem;
margin-bottom: 1rem;
@@ -31,74 +31,74 @@
line-height: 1.4;
cursor: text;
}
.note-to-mp h1 tt,
.note-to-mp h1 code {
.note2any h1 tt,
.note2any h1 code {
font-size: inherit !important;
}
.note-to-mp h2 tt,
.note-to-mp h2 code {
.note2any h2 tt,
.note2any h2 code {
font-size: inherit !important;
}
.note-to-mp h3 tt,
.note-to-mp h3 code {
.note2any h3 tt,
.note2any h3 code {
font-size: inherit !important;
}
.note-to-mp h4 tt,
.note-to-mp h4 code {
.note2any h4 tt,
.note2any h4 code {
font-size: inherit !important;
}
.note-to-mp h5 tt,
.note-to-mp h5 code {
.note2any h5 tt,
.note2any h5 code {
font-size: inherit !important;
}
.note-to-mp h6 tt,
.note-to-mp h6 code {
.note2any h6 tt,
.note2any h6 code {
font-size: inherit !important;
}
.note-to-mp h2 a,
.note-to-mp h3 a {
.note2any h2 a,
.note2any h3 a {
color: #34495e;
}
.note-to-mp h1 {
.note2any h1 {
padding-bottom: 0.4rem;
font-size: 2.2rem;
line-height: 1.3;
}
.note-to-mp h2 {
.note2any h2 {
font-size: 1.75rem;
line-height: 1.225;
margin: 35px 0 15px;
padding-bottom: 0.5em;
border-bottom: 1px solid #ddd;
}
.note-to-mp h3 {
.note2any h3 {
font-size: 1.4rem;
line-height: 1.43;
margin: 20px 0 7px;
}
.note-to-mp h4 {
.note2any h4 {
font-size: 1.2rem;
}
.note-to-mp h5 {
.note2any h5 {
font-size: 1rem;
}
.note-to-mp h6 {
.note2any h6 {
font-size: 1rem;
color: #777;
}
.note-to-mp p,
.note-to-mp blockquote,
.note-to-mp ul,
.note-to-mp ol,
.note-to-mp dl,
.note-to-mp table {
.note2any p,
.note2any blockquote,
.note2any ul,
.note2any ol,
.note2any dl,
.note2any table {
margin: 0.8em 0;
}
.note-to-mp li > ol,
.note-to-mp li > ul {
.note2any li > ol,
.note2any li > ul {
margin: 0 0;
}
.note-to-mp hr {
.note2any hr {
height: 2px;
padding: 0;
margin: 16px 0;
@@ -107,50 +107,50 @@
overflow: hidden;
box-sizing: content-box;
}
.note-to-mp h1 p,
.note-to-mp h2 p,
.note-to-mp h3 p,
.note-to-mp h4 p,
.note-to-mp h5 p,
.note-to-mp h6 p {
.note2any h1 p,
.note2any h2 p,
.note2any h3 p,
.note2any h4 p,
.note2any h5 p,
.note2any h6 p {
margin-top: 0;
}
.note-to-mp li p.first {
.note2any li p.first {
display: inline-block;
}
.note-to-mp ul,
.note-to-mp ol {
.note2any ul,
.note2any ol {
padding-left: 30px;
}
.note-to-mp ul:first-child,
.note-to-mp ol:first-child {
.note2any ul:first-child,
.note2any ol:first-child {
margin-top: 0;
}
.note-to-mp ul:last-child,
.note-to-mp ol:last-child {
.note2any ul:last-child,
.note2any ol:last-child {
margin-bottom: 0;
}
.note-to-mp blockquote {
.note2any blockquote {
border-left: 4px solid #42b983;
padding: 10px 15px;
color: #777;
background-color: rgba(66, 185, 131, 0.1);
}
.note-to-mp table {
.note2any table {
padding: 0;
word-break: initial;
border-collapse: collapse;
}
.note-to-mp table tr {
.note2any table tr {
border-top: 1px solid #dfe2e5;
margin: 0;
padding: 0;
}
.note-to-mp table tr:nth-child(2n),
.note-to-mp thead {
.note2any table tr:nth-child(2n),
.note2any thead {
background-color: #fafafa;
}
.note-to-mp table tr th {
.note2any table tr th {
font-weight: bold;
border: 1px solid #dfe2e5;
border-bottom: 0;
@@ -158,40 +158,40 @@
margin: 0;
padding: 6px 13px;
}
.note-to-mp table tr td {
.note2any table tr td {
border: 1px solid #dfe2e5;
text-align: left;
margin: 0;
padding: 6px 13px;
}
.note-to-mp table tr th:first-child,
.note-to-mp table tr td:first-child {
.note2any table tr th:first-child,
.note2any table tr td:first-child {
margin-top: 0;
}
.note-to-mp table tr th:last-child,
.note-to-mp table tr td:last-child {
.note2any table tr th:last-child,
.note2any table tr td:last-child {
margin-bottom: 0;
}
.note-to-mp .footnotes hr {
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note-to-mp code,
.note-to-mp tt {
.note2any code,
.note2any tt {
border-radius: 2px;
font-family: Roboto Mono, Source Sans Pro, Monaco, courier, monospace !important;
font-size: 0.92rem;
color: #e96900;
background-color: #f8f8f8;
}
.note-to-mp code {
.note2any code {
margin: 0 2px;
padding: 2px 4px;
}
.note-to-mp .code-section {
.note2any .code-section {
border-radius: 2px;
}
.note-to-mp .code-section pre code {
.note2any .code-section pre code {
border: none;
background-color: transparent;
font-size: inherit;
@@ -203,7 +203,7 @@
}
/* 代码块 */
.note-to-mp .code-section {
.note2any .code-section {
display: flex;
border: solid 1px #e96900;
margin: 1.5em 0;
@@ -211,7 +211,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;
@@ -219,12 +219,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;
@@ -235,6 +235,6 @@
line-height: 26px;
list-style-type: none;
}
.note-to-mp .code-section ul > li {
.note2any .code-section ul > li {
text-align: right;
}