update at 2025-10-16 14:24:10
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
|
||||
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
|
||||
*/
|
||||
.note-to-mp {
|
||||
.note2any {
|
||||
font-size: 16px;
|
||||
color: rgb(212, 212, 212);
|
||||
background-color: rgb(0, 0, 0);
|
||||
@@ -27,29 +27,29 @@
|
||||
margin: 0 0;
|
||||
padding: 1em 1em;
|
||||
}
|
||||
.note-to-mp p,
|
||||
.note-to-mp pre,
|
||||
.note-to-mp dl,
|
||||
.note-to-mp form,
|
||||
.note-to-mp details,
|
||||
.note-to-mp dl,
|
||||
.note-to-mp blockquote,
|
||||
.note-to-mp table,
|
||||
.note-to-mp xmp,
|
||||
.note-to-mp plaintext,
|
||||
.note-to-mp listing,
|
||||
.note-to-mp figure {
|
||||
.note2any p,
|
||||
.note2any pre,
|
||||
.note2any dl,
|
||||
.note2any form,
|
||||
.note2any details,
|
||||
.note2any dl,
|
||||
.note2any blockquote,
|
||||
.note2any table,
|
||||
.note2any xmp,
|
||||
.note2any plaintext,
|
||||
.note2any listing,
|
||||
.note2any figure {
|
||||
margin: 0.75em 0 0.45em;
|
||||
}
|
||||
.note-to-mp hr {
|
||||
.note2any hr {
|
||||
margin: 0.75em auto;
|
||||
}
|
||||
.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-top: 1.5em;
|
||||
margin-bottom: 0.75em;
|
||||
margin-left: 0;
|
||||
@@ -58,122 +58,122 @@
|
||||
line-height: 1.5em;
|
||||
color: rgb(252, 206, 35);
|
||||
}
|
||||
.note-to-mp h1 {
|
||||
.note2any h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.note-to-mp h2 {
|
||||
.note2any h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
.note-to-mp h3 {
|
||||
.note2any h3 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.note-to-mp h4 {
|
||||
.note2any h4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
.note-to-mp h5 {
|
||||
.note2any h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
.note-to-mp h6 {
|
||||
.note2any h6 {
|
||||
font-size: 1em;
|
||||
}
|
||||
.note-to-mp hr {
|
||||
.note2any hr {
|
||||
height: 1px;
|
||||
border: 0;
|
||||
background-color: rgb(29, 29, 29);
|
||||
border-style: inset;
|
||||
border-width: 1px;
|
||||
}
|
||||
.note-to-mp p {
|
||||
.note2any p {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.note-to-mp pre {
|
||||
.note2any pre {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.note-to-mp blockquote {
|
||||
.note2any blockquote {
|
||||
display: block;
|
||||
padding-left: 0.8em;
|
||||
border-left: 0.2em solid rgb(242, 148, 41);
|
||||
color: rgb(212, 212, 212);
|
||||
}
|
||||
.note-to-mp blockquote > :first-child {
|
||||
.note2any blockquote > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.note-to-mp blockquote > :last-child {
|
||||
.note2any blockquote > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.note-to-mp li {
|
||||
.note2any li {
|
||||
word-wrap: break-all;
|
||||
}
|
||||
.note-to-mp ul {
|
||||
.note2any ul {
|
||||
margin-left: 1.3em;
|
||||
padding: 0;
|
||||
}
|
||||
.note-to-mp li::marker {
|
||||
.note2any li::marker {
|
||||
color: rgb(242, 148, 41);
|
||||
}
|
||||
.note-to-mp li > p {
|
||||
.note2any li > p {
|
||||
margin: 0;
|
||||
}
|
||||
.note-to-mp ol {
|
||||
.note2any ol {
|
||||
padding-left: 1.3em;
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.note-to-mp img {
|
||||
.note2any img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.note-to-mp u {
|
||||
.note2any u {
|
||||
text-decoration: none;
|
||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(242, 148, 41) 50%);
|
||||
background-repeat: repeat-x;
|
||||
background-size: 2px 2px;
|
||||
background-position: 0 1em;
|
||||
}
|
||||
.note-to-mp a {
|
||||
.note2any a {
|
||||
color: rgb(227, 146, 9);
|
||||
text-decoration: none;
|
||||
}
|
||||
.note-to-mp a img {
|
||||
.note2any a img {
|
||||
border: none;
|
||||
}
|
||||
.note-to-mp b,
|
||||
.note-to-mp strong {
|
||||
.note2any b,
|
||||
.note2any strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
.note-to-mp i,
|
||||
.note-to-mp cite,
|
||||
.note-to-mp em,
|
||||
.note-to-mp var,
|
||||
.note-to-mp address,
|
||||
.note-to-mp dfn {
|
||||
.note2any i,
|
||||
.note2any cite,
|
||||
.note2any em,
|
||||
.note2any var,
|
||||
.note2any address,
|
||||
.note2any dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
.note-to-mp del,
|
||||
.note-to-mp s {
|
||||
.note2any del,
|
||||
.note2any s {
|
||||
color: rgb(146, 147, 146);
|
||||
}
|
||||
.note-to-mp pre,
|
||||
.note-to-mp xmp,
|
||||
.note-to-mp plaintext,
|
||||
.note-to-mp listing,
|
||||
.note-to-mp code,
|
||||
.note-to-mp kbd,
|
||||
.note-to-mp tt,
|
||||
.note-to-mp samp {
|
||||
.note2any pre,
|
||||
.note2any xmp,
|
||||
.note2any plaintext,
|
||||
.note2any listing,
|
||||
.note2any code,
|
||||
.note2any kbd,
|
||||
.note2any tt,
|
||||
.note2any samp {
|
||||
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.note-to-mp mark {
|
||||
.note2any mark {
|
||||
color: inherit;
|
||||
display: inline;
|
||||
padding: 0.2em 0.5em;
|
||||
background-color: rgb(16, 68, 3);
|
||||
}
|
||||
.note-to-mp figcaption {
|
||||
.note2any figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
.note-to-mp table {
|
||||
.note2any table {
|
||||
color: rgb(229, 227, 229);
|
||||
border-collapse: collapse;
|
||||
background-color: rgb(16, 16, 16);
|
||||
@@ -182,33 +182,33 @@
|
||||
border: 1px;
|
||||
border-spacing: 0;
|
||||
}
|
||||
.note-to-mp th,
|
||||
.note-to-mp td {
|
||||
.note2any th,
|
||||
.note2any td {
|
||||
padding: 0.7em 1em;
|
||||
font-size: 0.9em;
|
||||
border: 1px solid rgb(29, 29, 29);
|
||||
}
|
||||
.note-to-mp caption,
|
||||
.note-to-mp th,
|
||||
.note-to-mp td {
|
||||
.note2any caption,
|
||||
.note2any th,
|
||||
.note2any td {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.note-to-mp .footnotes > ol li {
|
||||
.note2any .footnotes > ol li {
|
||||
text-indent: 0;
|
||||
}
|
||||
.note-to-mp .footnotes hr {
|
||||
.note2any .footnotes hr {
|
||||
margin-top: 4em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.note-to-mp code {
|
||||
.note2any code {
|
||||
display: inline;
|
||||
color: rgb(229, 227, 229);
|
||||
}
|
||||
|
||||
/* 代码块 */
|
||||
.note-to-mp .code-section {
|
||||
.note2any .code-section {
|
||||
display: flex;
|
||||
border: solid 1px rgb(29, 29, 29);
|
||||
margin: 1.5em 0;
|
||||
@@ -216,7 +216,7 @@
|
||||
padding: 0.5em;
|
||||
font-family: Menlo-Regular, 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;
|
||||
@@ -224,12 +224,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-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.note-to-mp .code-section ul {
|
||||
.note2any .code-section ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-block-start: 0;
|
||||
@@ -240,6 +240,6 @@
|
||||
line-height: 26px;
|
||||
list-style-type: none;
|
||||
}
|
||||
.note-to-mp .code-section ul > li {
|
||||
.note2any .code-section ul > li {
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user