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

@@ -11,7 +11,7 @@
/* 主题自定义 end */
/* 布局,一般不需要改动 */
}
.note-to-mp blockquote {
.note2any blockquote {
margin-left: 0;
background-color: #ebf4ff;
border-color: #7f9cf5;
@@ -19,34 +19,34 @@
padding-bottom: 0.5rem;
color: #667eea;
}
.note-to-mp strong {
.note2any strong {
color: #5a67d8;
}
.note-to-mp a {
.note2any a {
border-color: #667eea;
}
.note-to-mp blockquote,
.note-to-mp details,
.note-to-mp dl,
.note-to-mp ol,
.note-to-mp p,
.note-to-mp pre,
.note-to-mp table,
.note-to-mp ul {
.note2any blockquote,
.note2any details,
.note2any dl,
.note2any ol,
.note2any p,
.note2any pre,
.note2any table,
.note2any ul {
margin-bottom: 1rem;
}
.note-to-mp ol {
.note2any ol {
list-style: decimal;
}
.note-to-mp ul {
.note2any ul {
list-style: disc;
}
.note-to-mp ol,
.note-to-mp ul {
.note2any ol,
.note2any ul {
padding-left: 2em;
}
.note-to-mp h1,
.note-to-mp h2 {
.note2any h1,
.note2any h2 {
border-color: #5a67d8;
border-style: solid;
border-top-width: 0px;
@@ -56,50 +56,50 @@
padding-bottom: 0.25rem;
padding-left: 0.75rem;
}
.note-to-mp h1,
.note-to-mp h2 {
.note2any h1,
.note2any h2 {
border-bottom: 1px solid #eaecef !important;
border-left-width: 6px;
}
.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 {
margin-bottom: 16px;
line-height: 1.25;
}
.note-to-mp blockquote {
.note2any blockquote {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 1rem;
padding-right: 1rem;
border-left: 0.25em solid;
}
.note-to-mp blockquote > :last-child {
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note-to-mp blockquote > :first-child {
.note2any blockquote > :first-child {
margin-top: 0;
}
.note-to-mp strong {
.note2any strong {
font-weight: bold;
}
.note-to-mp strong::before {
.note2any strong::before {
content: "「";
}
.note-to-mp strong::after {
.note2any strong::after {
content: "」";
}
.note-to-mp a {
.note2any a {
text-decoration: none;
border-bottom: 1px solid;
}
.note-to-mp .footnote-ref {
.note2any .footnote-ref {
border-width: 0px;
}
.note-to-mp picture img {
.note2any picture img {
border-radius: 6px;
display: block;
margin: 10px auto;
@@ -107,7 +107,7 @@
object-fit: contain;
box-shadow: 2px 4px 7px #999;
}
.note-to-mp img {
.note2any img {
max-width: 100%;
display: block;
margin: 10px auto;
@@ -115,7 +115,7 @@
border-radius: 6px;
box-shadow: 2px 4px 7px #999;
}
.note-to-mp picture {
.note2any picture {
display: flex;
flex-direction: column;
justify-content: center;
@@ -123,31 +123,31 @@
margin-top: 6px;
margin-bottom: 6px;
}
.note-to-mp .footnotes {
.note2any .footnotes {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.note-to-mp .footnotes hr {
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note-to-mp code,
.note-to-mp a {
.note2any code,
.note2any a {
color: #5a67d8;
}
.note-to-mp a {
.note2any a {
border-color: #667eea;
}
.note-to-mp code {
.note2any code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
background-color: #ebf4ff;
}
.note-to-mp pre > code {
.note2any pre > code {
background-color: transparent;
}
/* 代码块 */
.note-to-mp .code-section {
.note2any .code-section {
display: flex;
border: solid 1px #5a67d8;
margin: 1.5em 0;
@@ -155,7 +155,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;
@@ -163,12 +163,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;
@@ -179,6 +179,6 @@
line-height: 26px;
list-style-type: none;
}
.note-to-mp .code-section ul > li {
.note2any .code-section ul > li {
text-align: right;
}