diff --git a/src/themes/basic/_layout.css b/src/themes/basic/_layout.css index ddcead4d..f79dd312 100644 --- a/src/themes/basic/_layout.css +++ b/src/themes/basic/_layout.css @@ -235,6 +235,33 @@ main { } } +.markdown-section table { + display: block; + width: 100%; + overflow: auto; + border-spacing: 0; + border-collapse: collapse; +} + +.markdown-section th { + font-weight: bold; + padding: 6px 13px; + border: 1px solid #ddd; +} + +.markdown-section td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.markdown-section tr { + background-color: #fff; + border-top: 1px solid #ccc; + &:nth-child(2n) { + background-color: #f8f8f8; + } +} + body.close { .sidebar { transform: translateX(-$sidebar-width); @@ -246,11 +273,12 @@ body.close { } @media (max-width: 600px) { - nav, .github-corner, .sidebar-toggle, .sidebar { + .github-corner, .sidebar-toggle, .sidebar { position: fixed; } nav { + position: static; margin-top: 16px; } diff --git a/src/themes/vue.css b/src/themes/vue.css index efe01783..a6a41896 100644 --- a/src/themes/vue.css +++ b/src/themes/vue.css @@ -277,7 +277,7 @@ code .token { pre::after { color: #ccc; content: attr(data-lang); - font-size: 0.75em; + font-size: 0.6em; font-weight: 600; height: 15px; line-height: 15px;