/* reset.css */ body { padding-left: 400px; line-height: 1.8; font-size: 16px; font-family: "SourceHanSerifCN-Bold",PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif; } .chapterTitle { margin-bottom: 18px; font-size: 24px; font-family: "SourceHanSerifCN-Bold",PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif; color: #0d141e; } .custom-cover { display: flex; justify-content: center; } .readerChapterContent pre { background-color: #000000; color: #ffffff; font-family: Courier,Menlo,Monaco,Consolas,monospace,"PingFang SC",-apple-system,"SF UI Text","Lucida Grande",STheiti,"Microsoft YaHei",sans-serif; border: 1px solid #000; border-radius: 4px; padding: 12px; word-break: break-all; word-wrap: break-word; overflow-x: scroll; /* IE and Edge */ -ms-overflow-style: none; /* Firefox */ scrollbar-width: none; } /* Safari and Chrome */ .readerChapterContent pre::-webkit-scrollbar { display: none; } img { max-width: 100% !important; } a[href] { color: #4a7ab0; text-decoration: none; } #nav { position: fixed; left: 0; top: 0; bottom: 0; overflow-y: scroll; max-width: 400px; } #nav h2 { position: sticky; top: 0; margin: 0; background: #ffffff; } #main { max-width: 800px; margin: 0 auto; } #back_top { display: block; position: fixed; bottom: 10px; right: 10px; }