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