Files
xrpl-dev-portal/styles/_print.scss
Jake 8b060ba41e 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.
2021-05-16 17:18:16 -07:00

104 lines
2.0 KiB
SCSS

/* Print styles ------------------------------------------------------------- */
@media print {
/* undo code tabs */
.multicode > div {
display: block !important;
}
// .multicode > ul {
// display: none !important;
// }
.multicode > em,
.multicode > p > em {
display: block !important;
page-break-after: avoid;
}
.multicode > p {
display: block !important;
}
.code_toggler {
display: none;
}
/* wrap code, not scroll */
pre {
white-space: pre-wrap;
max-height: none !important;
overflow: visible;
page-break-inside: auto;
word-wrap: break-word;
}
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;
}
/* Drop header, footer, sidebars */
header,
footer,
aside {
display: none !important;
}
.navbar {
display: none !important;
}
/* Full-width content body */
.content, #main_content_body {
position: static;
display: block;
width: auto;
height: auto;
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;
}
#main_content_body::before {
display: none;
}
.xrp-ledger-dev-portal.sidebar-primary .main {
border: 0;
}
.sidebar-primary .row {
display: block;
}
#feedback-content{
display:none !important;
}
.jump-to-top {
display: none !important;
}
}