.note2any { padding: 0 1em; color: #595959; font-size: 16px; line-height: 1.8em; background-image: linear-gradient(90deg, rgba(60, 10, 30, 0.05) 3%, transparent 0), linear-gradient(1turn, rgba(60, 10, 30, 0.05) 3%, transparent 0); background-size: 20px 20px; background-position: 50%; word-break: break-all; /* 主题自定义 */ /* 主题自定义 end */ /* 布局,一般不需要改动 */ } .note2any blockquote { margin-left: 0; background-color: #ebf4ff; border-color: #7f9cf5; padding-top: 0.5rem; padding-bottom: 0.5rem; color: #667eea; } .note2any strong { color: #5a67d8; } .note2any a { border-color: #667eea; } .note2any blockquote, .note2any details, .note2any dl, .note2any ol, .note2any p, .note2any pre, .note2any table, .note2any ul { margin-bottom: 1rem; } .note2any ol { list-style: decimal; } .note2any ul { list-style: disc; } .note2any ol, .note2any ul { padding-left: 2em; } .note2any h1, .note2any h2 { border-color: #5a67d8; border-style: solid; border-top-width: 0px; border-right-width: 0px; font-weight: 600; padding-top: 0.25rem; padding-bottom: 0.25rem; padding-left: 0.75rem; } .note2any h1, .note2any h2 { border-bottom: 1px solid #eaecef !important; border-left-width: 6px; } .note2any h1, .note2any h2, .note2any h3, .note2any h4, .note2any h5, .note2any h6 { margin-bottom: 16px; line-height: 1.25; } .note2any blockquote { padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; padding-right: 1rem; border-left: 0.25em solid; } .note2any blockquote > :last-child { margin-bottom: 0; } .note2any blockquote > :first-child { margin-top: 0; } .note2any strong { font-weight: bold; } .note2any strong::before { content: "「"; } .note2any strong::after { content: "」"; } .note2any a { text-decoration: none; border-bottom: 1px solid; } .note2any .footnote-ref { border-width: 0px; } .note2any picture img { border-radius: 6px; display: block; margin: 10px auto; -o-object-fit: contain; object-fit: contain; box-shadow: 2px 4px 7px #999; } .note2any img { max-width: 100%; display: block; margin: 10px auto; object-fit: contain; border-radius: 6px; box-shadow: 2px 4px 7px #999; } .note2any picture { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 6px; margin-bottom: 6px; } .note2any .footnotes { padding-top: 0.5rem; padding-bottom: 0.5rem; } .note2any .footnotes hr { margin-top: 4em; margin-bottom: 0.5em; } .note2any code, .note2any a { color: #5a67d8; } .note2any a { border-color: #667eea; } .note2any code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background-color: #ebf4ff; } .note2any pre > code { background-color: transparent; } /* 代码块 */ .note2any .code-section { display: flex; border: solid 1px #5a67d8; 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; }