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,22 +1,22 @@
/* =========================================================== */
/* 笔记样式 https://github.com/xbmlz/hexo-theme-maple */
/* =========================================================== */
.note-to-mp {
.note2any {
user-select: text;
-webkit-user-select: text;
color: #555;
font-family: "Inter", Inter var, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
.note-to-mp:last-child {
.note2any:last-child {
margin-bottom: 0;
}
.note-to-mp .fancybox-img {
.note2any .fancybox-img {
border: none;
}
.note-to-mp .fancybox-img:hover {
.note2any .fancybox-img:hover {
opacity: none;
border: none;
}
@@ -26,7 +26,7 @@
Heading
==================================
*/
.note-to-mp h1 {
.note2any h1 {
color: #222;
font-weight: 800;
font-size: 2.25em;
@@ -35,7 +35,7 @@
line-height: 1.1111111;
}
.note-to-mp h2 {
.note2any h2 {
color: inherit;
font-weight: 700;
font-size: 1.5em;
@@ -44,7 +44,7 @@
line-height: 1.3333333;
}
.note-to-mp h3 {
.note2any h3 {
color: inherit;
font-weight: 600;
font-size: 1.25em;
@@ -53,7 +53,7 @@
line-height: 1.6;
}
.note-to-mp h4 {
.note2any h4 {
color: inherit;
font-weight: 600;
margin-top: 1.5em;
@@ -66,7 +66,7 @@
Horizontal Rules
==================================
*/
.note-to-mp hr {
.note2any hr {
border-color: rgba(125, 125, 125, 0.3);
margin-top: 3em;
margin-bottom: 3em;
@@ -77,7 +77,7 @@
Paragraphs
==================================
*/
.note-to-mp p {
.note2any p {
margin: 1em 0;
}
@@ -86,16 +86,16 @@
Emphasis
==================================
*/
.note-to-mp strong {
.note2any strong {
color: #222;
font-weight: 600;
}
.note-to-mp em {
.note2any em {
color: inherit;
}
.note-to-mp s {
.note2any s {
color: inherit;
}
@@ -104,7 +104,7 @@
Blockquotes
==================================
*/
.note-to-mp blockquote {
.note2any blockquote {
font-size: 1rem;
display: block;
margin: 1em 0;
@@ -114,11 +114,11 @@
border-left: 0.25rem solid rgba(125, 125, 125, 0.302);
}
.note-to-mp blockquote p {
.note2any blockquote p {
margin: 0;
}
.note-to-mp blockquote footer strong {
.note2any blockquote footer strong {
margin-right: 0.5em;
}
@@ -127,26 +127,26 @@
List
==================================
*/
.note-to-mp ul {
.note2any ul {
margin: 0;
/* padding: 0; */
margin-top: 1.25em;
margin-bottom: 1.25em;
}
.note-to-mp ul>li {
.note2any ul>li {
position: relative;
/* padding-left: 1.75rem; */
line-height: 1.8em;
}
.note-to-mp ul>li::marker {
.note2any ul>li::marker {
color: #555;
/* font-size: 1.5em; */
}
.note-to-mp ol {
.note2any ol {
margin: 0;
padding: 0;
margin-top: 1.25em;
@@ -154,7 +154,7 @@
list-style-type: decimal;
}
.note-to-mp ol>li {
.note2any ol>li {
position: relative;
padding-left: 0.8em;
margin-left: 2em;
@@ -166,7 +166,7 @@
Link
==================================
*/
.note-to-mp a {
.note2any a {
color: #000;
text-decoration: none;
font-weight: 500;
@@ -175,7 +175,7 @@
transition: border 0.3s ease-in-out;
}
.note-to-mp a:hover {
.note2any a:hover {
border-bottom: 1px solid #555;
}
@@ -184,7 +184,7 @@
Table
==================================
*/
.note-to-mp table {
.note2any table {
width: 100%;
table-layout: auto;
text-align: left;
@@ -197,38 +197,38 @@
text-indent: 0;
}
.note-to-mp table thead {
.note2any table thead {
color: #000;
font-weight: 600;
border-bottom-width: 1px;
border-bottom-color: #d1d5db;
}
.note-to-mp table thead th {
.note2any table thead th {
vertical-align: bottom;
padding-right: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
}
.note-to-mp table thead th:first-child {
.note2any table thead th:first-child {
padding-left: 0;
}
.note-to-mp table thead th:last-child {
.note2any table thead th:last-child {
padding-right: 0;
}
.note-to-mp table tbody tr {
.note2any table tbody tr {
border-bottom-width: 1px;
border-bottom-color: #e5e7eb;
}
.note-to-mp table tbody tr:last-child {
.note2any table tbody tr:last-child {
border-bottom-width: 0;
}
.note-to-mp table tbody td {
.note2any table tbody td {
vertical-align: top;
padding-top: 0.5714286em;
padding-right: 0.5714286em;
@@ -236,11 +236,11 @@
padding-left: 0.5714286em;
}
.note-to-mp table tbody td:first-child {
.note2any table tbody td:first-child {
padding-left: 0;
}
.note-to-mp table tbody td:last-child {
.note2any table tbody td:last-child {
padding-right: 0;
}
@@ -249,11 +249,11 @@
Images
==================================
*/
.note-to-mp img {
.note2any img {
margin: 2em auto;
}
.note-to-mp .footnotes hr {
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
@@ -263,7 +263,7 @@
Code
==================================
*/
.note-to-mp .code-section {
.note2any .code-section {
display: flex;
border: solid 1px rgb(240, 240, 240);
margin: 1.5em 0;
@@ -272,7 +272,7 @@
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;
@@ -284,12 +284,12 @@
list-style-type: none;
}
.note-to-mp .code-section ul>li {
.note2any .code-section ul>li {
line-height: 26px;
text-align: right;
}
.note-to-mp .code-section pre {
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
@@ -299,7 +299,7 @@
background: transparent !important;
}
.note-to-mp code {
.note2any code {
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
color: #333;
background: rgb(250, 250, 250);
@@ -308,7 +308,7 @@
text-wrap: nowrap;
}
.note-to-mp .code-section pre code {
.note2any .code-section pre code {
color: inherit;
display: flex;
text-wrap: nowrap;