Refine code colors

Darkend colors for code.
Show tabs for code samples. - Currently all code languages still show.
Hide expand/collapse button and interactive blocks.
This commit is contained in:
Jake
2021-05-16 17:18:16 -07:00
parent 4c1cd36d57
commit 8b060ba41e
2 changed files with 35 additions and 6 deletions

View File

@@ -4,9 +4,9 @@
.multicode > div {
display: block !important;
}
.multicode > ul {
display: none !important;
}
// .multicode > ul {
// display: none !important;
// }
.multicode > em,
.multicode > p > em {
display: block !important;
@@ -15,6 +15,11 @@
.multicode > p {
display: block !important;
}
.code_toggler {
display: none;
}
/* wrap code, not scroll */
pre {
white-space: pre-wrap;
@@ -25,7 +30,18 @@
}
pre code {
white-space: pre-wrap !important;
color: #22252B !important;
}
code {
white-space: pre-wrap !important;
color: #22252B !important;
}
.codehilite .n, .codehilite .na, .codehilite .nb, .codehilite .nc, .codehilite .nd, .codehilite .ne, .codehilite .nf, .codehilite .ni, .codehilite .nl, .codehilite .nn, .codehilite .nt, .codehilite .nv, .codehilite .nx, .codehilite .bp, .codehilite .fm, .codehilite .py {
color: #22252B;
}
.content a[title="Source"] {
float: none;
}
@@ -44,13 +60,26 @@
display: block;
width: auto;
height: auto;
color:black;
color:black !important;
max-width: 100%;
overflow: visible !important;
}
body {
overflow: visible;
background: #fff;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
color: black;
}
.interactive-block {
display:none;
}
.container {
margin-top: 1rem !important;
}
}
#main_content_wrapper {
margin-top: 0;