mirror of
https://github.com/openmlsys/openmlsys-zh.git
synced 2026-03-30 08:50:28 +08:00
* refactor: reorganize mdbook config and contributing docs * fix: correct preprocessor relative paths in book.toml configs The preprocessor command paths had one extra ../ level, resolving outside the repo root. Fix from ../../../../tools/ to ../../../tools/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
497 B
CSS
17 lines
497 B
CSS
/* 暗色模式下仅为正文图片添加浅灰色背景,提高透明背景图片的可读性 */
|
|
.navy .content main img,
|
|
.coal .content main img,
|
|
.ayu .content main img {
|
|
background-color: #e8e8e8;
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
}
|
|
|
|
/* 首页 frontpage 图片保持透明,不添加正文图像底色。 */
|
|
.navy .openmlsys-frontpage img,
|
|
.coal .openmlsys-frontpage img,
|
|
.ayu .openmlsys-frontpage img {
|
|
background-color: transparent !important;
|
|
padding: 0 !important;
|
|
}
|