expand list-style-type bug fix

#106
This commit is contained in:
zzossig 2020-01-25 21:23:07 +09:00
parent e6bfddfca0
commit faa3722442
4 changed files with 17 additions and 6 deletions

View File

@ -20,18 +20,25 @@
font-family: $title-font; font-family: $title-font;
font-size: 15.2px; font-size: 15.2px;
margin: 0 0 0.525rem 2rem !important; margin: 0 0 0.525rem 2rem !important;
list-style-type: '📂 ';
&:first-child { &:first-child {
margin-top: 0.25rem !important; margin-top: 0.25rem !important;
} }
li { li {
font-size: 14.4px; font-size: 14.4px;
list-style-type: '📄 ';
margin: 0 0 0.25rem 1.25rem !important; margin: 0 0 0.25rem 1.25rem !important;
} }
} }
&--toc {
li {
list-style-type: '📂 ';
li {
list-style-type: '📄 ';
}
}
}
} }
&__button { &__button {

View File

@ -47,6 +47,7 @@
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
@include themify($codeblock) { @include themify($codeblock) {
color: themed('content-pre-color');
text-decoration: underline double themed('content-pre-main-color'); text-decoration: underline double themed('content-pre-main-color');
} }
} }
@ -80,7 +81,10 @@
&__written-by { &__written-by {
font-size: 0.9rem; font-size: 0.9rem;
opacity: 0.65; opacity: 0.75;
@include themify($codeblock) {
color: themed('content-pre-color');
}
} }
&-hr { &-hr {

View File

@ -6,7 +6,7 @@
</span> </span>
{{ i18n "toc-label" }} {{ i18n "toc-label" }}
</button> </button>
<div class="expand__content"> <div class="expand__content expand__content--toc">
{{ .TableOfContents }} {{ .TableOfContents }}
</div> </div>
</div> </div>