.single { line-height: 2; color: #4C4E4D; font-size: 16px; .single-title { line-height: 1.2; margin-bottom: 20px; font-size: 30px; font-weight: 500; font-family: 'Monda', -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif; @include mobile { font-size: 26px; } } a { color: var(--theme-color); } pre { border-radius: 2px; padding: 20px; overflow: auto; line-height: 1.4; code { font-size: 14px; } } code { font-family: "menlo", serif; white-space: pre-wrap; word-break: break-all; } p { margin: 30px 0 30px; } h1, h2, h3, h4, h5, h6 { font-weight: 600; outline: none; margin: 30px 0 30px; font-family: 'Monda', -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif; } h1 { font-size: 26px; } h2 { font-size: 24px; } h3 { font-size: 22px; } h4 { font-size: 20px; } ol, ul { list-style: inherit; padding-left: 20px; } } .single-date { margin-right: 10px; color: #a0a0a0; } .single-toc { width: 240px; overflow: hidden; padding: 0 20px; font-size: 14px; color: #909090; position: fixed; top: 50%; right: 0; transform: translate(0, -50%); @include mobile { display: none; } .toc-list-item { transition: color .2s; } .toc-link { &:before { display: none; } } .toc-list { padding-left: 20px; margin: 5px 0; } .toc-list-item { margin-bottom: 5px; @include text-truncate; } .is-active-li { & > a { color: #303030; } } & > .toc-list { padding-left: 0; } ol, ul { list-style: none; } }