diff options
author | zzossig <zzossig@gmail.com> | 2020-02-13 05:31:30 +0300 |
---|---|---|
committer | zzossig <zzossig@gmail.com> | 2020-02-13 05:31:30 +0300 |
commit | 50c6b667cd18fce831a9877649c4532782111e95 (patch) | |
tree | e318af4d5211dcde12ff2d10fd319ebbe68aa7b0 /assets | |
parent | 2d2d6171207efec754c313e4c4cd5dba8026c756 (diff) |
toc level option added, menu highlight, some ui change
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/layout/_navbar.scss | 2 | ||||
-rw-r--r-- | assets/sass/pages/_single.scss | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/assets/sass/layout/_navbar.scss b/assets/sass/layout/_navbar.scss index 25c6843..4deb097 100644 --- a/assets/sass/layout/_navbar.scss +++ b/assets/sass/layout/_navbar.scss @@ -80,7 +80,7 @@ & > a { width: 100%; font-size: 18px; - padding: 0.5rem; + padding: 0.5rem 1rem; @include themify($themes) { color: themed('body-color'); diff --git a/assets/sass/pages/_single.scss b/assets/sass/pages/_single.scss index 3540a42..f340e65 100644 --- a/assets/sass/pages/_single.scss +++ b/assets/sass/pages/_single.scss @@ -23,8 +23,7 @@ font-family: $title-font; line-height: 3rem; overflow-wrap: break-word; - padding: 1rem; - margin: 1rem 0; + margin: 1.5rem 1rem 0.5rem; @include themify($themes) { color: themed("single-header-title-color"); @@ -34,6 +33,7 @@ &__meta { font-size: 0.8rem; margin-bottom: 1.5rem; + padding:0 1rem; @include flexbox(); @include align-items(center); @@ -393,7 +393,7 @@ pre:not(.chroma) { } .highlight > .chroma { - margin: 1em 0; + margin-bottom: 1.5rem; z-index: z('content'); overflow-x: auto; @@ -504,6 +504,7 @@ li .highlight > .chroma { } table:not(.lntable) { + margin: 0 1rem; td { code { padding: 2px 7px !important; |