style tweaks

This commit is contained in:
Joe 2019-03-09 10:08:44 +08:00 committed by GitHub
parent bc12559fce
commit c9a4939ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 2 deletions

View File

@ -17,6 +17,9 @@
} }
} }
} }
[data-theme-toc] {
display: none;
}
.d-toc-ignore { .d-toc-ignore {
font-size: $font-up-1; font-size: $font-up-1;
margin: 0 0 10px 0; margin: 0 0 10px 0;
@ -52,7 +55,7 @@
} }
a { a {
color: $primary; color: $primary;
text-shadow: 0.1px 0.1px currentColor, -0.1px -0.1px currentColor; text-shadow: 0.1px 0.1px $primary, -0.1px -0.1px $primary;
} }
} }
} }
@ -99,7 +102,9 @@
// large screens // large screens
@media screen and (min-width: $large-width) { @media screen and (min-width: $large-width) {
.d-toc-toggle, .d-toc-toggle {
display: none !important;
}
.d-toc-close-wrapper, .d-toc-close-wrapper,
.d-toc-subheading { .d-toc-subheading {
display: none; display: none;
@ -196,3 +201,14 @@
} }
} }
} }
.d-editor-preview [data-theme-toc] {
background: $tertiary;
color: $secondary;
position: sticky;
top: 0;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
}