.eagle-snippet-doc { @include themify($themes) { color: themed('text'); } .header-anchor { color: $primary; text-decoration: none; opacity: 0; transition: opacity 300ms; } .hljs { white-space: pre-wrap; word-wrap: break-word; } h1 { @include themify($themes) { color: themed('black'); } font-weight: 500; margin-bottom: 20px; margin-top: 8px; font-size: 30px; line-height: 38px; } &, h2, h3, h4, h5, h6 { @include themify($themes) { color: themed('black'); } font-family: Lato; margin: 32px 0 16px; font-weight: 500; clear: both; transition: all 300ms; } h2, h3, h4, h5, h6 { &:hover { .header-anchor { opacity: 1; } } } h3 { font-size: 18px; } h4 { font-size: 16px; } h5 { font-size: 14px; } h6 { font-size: 12px; } p { @include themify($themes) { color: themed('text'); } } p, pre { font-size: 14px; line-height: 1.5; border-radius: 4px; } pre { padding: 16px 32px; } ul > li > p, ol > li > p { margin: 4px 0; } ul { padding: 0; margin: 0; } ul > li { list-style-type: circle; margin-left: 20px; padding-left: 4px; padding-top: 15px; } ol > li { list-style-type: decimal; margin-left: 20px; padding-left: 4px; padding-top: 15px; } > table { font-size: 14px; border-collapse: collapse; border-spacing: 0; empty-cells: show; width: 100%; margin: 8px 0 16px; } & > table th, & > table td { @include themify($themes) { color: themed('text'); } @include themify($themes) { border-bottom: 1px solid themed('border'); } text-align: left; padding: 10px 15px; max-width: 250px; } & > table th { white-space: nowrap; @include themify($themes) { color: themed('black'); } font-weight: 500; background: rgba(0, 0, 0, 0.02); } strong, b { font-weight: bold; @include themify($themes) { color: themed('black'); } } & > br, p > br { clear: both; } a { color: $primary; text-decoration: none; } blockquote { padding: 8px 16px; background-color: rgba($primary, 0.1); border-radius: 4px; border-left: 4px solid $primary; margin: 1em 0; } blockquote p { margin: 0; } hr { height: 1px; border: 0; @include themify($themes) { background: themed('border'); } clear: both; } p > code { font-family: Microsoft YaHei; background-color: rgba($primary, 0.1); color: $primary; padding: 2px 4px; margin: 0 4px; border-radius: 4px; } }