add toc style

This commit is contained in:
Philipp Kühn
2020-10-12 17:03:46 +02:00
parent 4cd4c7527b
commit 801912be5d
7 changed files with 50 additions and 37 deletions

View File

@@ -27,7 +27,7 @@ pre[class*="language-"] {
:not(pre) > code[class*="language-"] {
white-space: normal;
color: $colorText;
color: $colorWhite;
background: $codeBackground;
border-radius: 0.2em;
padding: 0.1em;
@@ -42,7 +42,7 @@ pre > code[class*="language-"] {
pre[class*="language-"] {
overflow: auto;
position: relative;
color: $colorText;
color: $colorWhite;
background: $codeBackground;
padding: 1.2rem 1.5rem !important;
border-radius: 0.5rem;