update at 2025-10-08 22:31:03

This commit is contained in:
douboer
2025-10-08 22:31:03 +08:00
parent e25dca5fdd
commit 095f87dbb9
111 changed files with 14883 additions and 1 deletions

240
assets/themes/mweb-vue.css Normal file
View File

@@ -0,0 +1,240 @@
.note-to-mp {
font-size: 16px;
color: #34495e;
line-height: 1.6rem;
letter-spacing: 0;
margin: 0;
overflow-x: hidden;
/* MWeb代码块高亮 */
}
.note-to-mp img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.note-to-mp 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 {
position: relative;
margin-top: 1rem;
margin-bottom: 1rem;
font-weight: bold;
line-height: 1.4;
cursor: text;
}
.note-to-mp h1 tt,
.note-to-mp h1 code {
font-size: inherit !important;
}
.note-to-mp h2 tt,
.note-to-mp h2 code {
font-size: inherit !important;
}
.note-to-mp h3 tt,
.note-to-mp h3 code {
font-size: inherit !important;
}
.note-to-mp h4 tt,
.note-to-mp h4 code {
font-size: inherit !important;
}
.note-to-mp h5 tt,
.note-to-mp h5 code {
font-size: inherit !important;
}
.note-to-mp h6 tt,
.note-to-mp h6 code {
font-size: inherit !important;
}
.note-to-mp h2 a,
.note-to-mp h3 a {
color: #34495e;
}
.note-to-mp h1 {
padding-bottom: 0.4rem;
font-size: 2.2rem;
line-height: 1.3;
}
.note-to-mp 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 {
font-size: 1.4rem;
line-height: 1.43;
margin: 20px 0 7px;
}
.note-to-mp h4 {
font-size: 1.2rem;
}
.note-to-mp h5 {
font-size: 1rem;
}
.note-to-mp 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 {
margin: 0.8em 0;
}
.note-to-mp li > ol,
.note-to-mp li > ul {
margin: 0 0;
}
.note-to-mp hr {
height: 2px;
padding: 0;
margin: 16px 0;
background-color: #e7e7e7;
border: 0 none;
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 {
margin-top: 0;
}
.note-to-mp li p.first {
display: inline-block;
}
.note-to-mp ul,
.note-to-mp ol {
padding-left: 30px;
}
.note-to-mp ul:first-child,
.note-to-mp ol:first-child {
margin-top: 0;
}
.note-to-mp ul:last-child,
.note-to-mp ol:last-child {
margin-bottom: 0;
}
.note-to-mp blockquote {
border-left: 4px solid #42b983;
padding: 10px 15px;
color: #777;
background-color: rgba(66, 185, 131, 0.1);
}
.note-to-mp table {
padding: 0;
word-break: initial;
border-collapse: collapse;
}
.note-to-mp table tr {
border-top: 1px solid #dfe2e5;
margin: 0;
padding: 0;
}
.note-to-mp table tr:nth-child(2n),
.note-to-mp thead {
background-color: #fafafa;
}
.note-to-mp table tr th {
font-weight: bold;
border: 1px solid #dfe2e5;
border-bottom: 0;
text-align: left;
margin: 0;
padding: 6px 13px;
}
.note-to-mp 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 {
margin-top: 0;
}
.note-to-mp table tr th:last-child,
.note-to-mp table tr td:last-child {
margin-bottom: 0;
}
.note-to-mp .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note-to-mp code,
.note-to-mp 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 {
margin: 0 2px;
padding: 2px 4px;
}
.note-to-mp .code-section {
border-radius: 2px;
}
.note-to-mp .code-section pre code {
border: none;
background-color: transparent;
font-size: inherit;
line-height: inherit;
padding: 0;
margin: 0;
text-wrap: nowrap;
color: inherit;
}
/* 代码块 */
.note-to-mp .code-section {
display: flex;
border: solid 1px #e96900;
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note-to-mp .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note-to-mp .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note-to-mp .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;
}
.note-to-mp .code-section ul > li {
text-align: right;
}