Files
note2any/assets/themes/mweb-lark.css
2025-10-16 14:24:10 +08:00

145 lines
3.0 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Default theme适用于 core/mweb-base.scss。
* 取值参考 chrome 默认样式:
* https://chromium.googlesource.com/chromium/blink/+/refs/heads/main/Source/core/css/html.css
* 所有 import "core/mweb-base.scss" 的文件都应该同时导入此变量文件。
*/
/* color */
/* font & line */
/* boxing */
/* elememts */
/* color */
/* prism & pre */
/* font */
/* header */
/* spacing */
/* table */
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
color: #1f2329;
line-height: 1.4;
font-weight: 600;
margin-top: 1em;
margin-bottom: 0.37em;
}
.note2any blockquote {
display: block;
margin-left: 0;
padding-left: 14px;
border-left: 2px solid #3370ff;
color: rgba(31, 35, 41, 0.7);
}
.note2any a {
overflow-wrap: break-word;
word-wrap: break-word;
white-space: pre-wrap;
hyphens: auto;
word-break: break-word;
color: #3370ff;
text-decoration: none;
}
.note2any hr {
margin: 13px 0 12px;
border: 0px;
height: 1px;
background-origin: content-box;
background-image: linear-gradient(90deg, rgb(187, 191, 196), rgb(187, 191, 196));
background-repeat: no-repeat;
}
.note2any ul > li:not([class*=task-list-item]) {
word-wrap: break-all;
padding-left: 12px;
color: #3370ff;
}
.note2any ul > li:not([class*=task-list-item]) > section {
color: #1f2329;
}
.note2any ul > li:not([class*=task-list-item])::marker {
color: #3370ff;
}
.note2any ol > li:not([class*=task-list-item]) {
word-wrap: break-all;
padding-left: 12px;
}
.note2any ol > li:not([class*=task-list-item]) > section {
color: #1f2329;
}
.note2any ol > li:not([class*=task-list-item])::marker {
color: #3370ff;
}
.note2any li + li,
.note2any ul ul,
.note2any ol ul,
.note2any ul ol,
.note2any ol ol,
.note2any li ul,
.note2any li ol {
margin-top: 4px;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
border-radius: 4px;
margin-left: 2px;
margin-right: 2px;
border: 1px solid #dee0e3;
background-color: #f5f6f7;
word-spacing: normal;
line-height: 1.6em;
padding: 0 2px;
}
.note2any .code-section pre code {
border: none;
background-color: transparent;
line-height: inherit;
padding: 0;
margin: 0;
text-wrap: nowrap;
}
.note2any .code-section ul li {
color: inherit;
margin: 0;
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px #dee0e3;
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .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;
}
.note2any .code-section ul > li {
text-align: right;
}