mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user