Fix print styles

This commit is contained in:
mDuo13
2019-05-13 20:27:55 -07:00
parent 84e46370ec
commit 416e928ba1

View File

@@ -1401,16 +1401,7 @@ a.current {
/* Print styles ------------------------------------------------------------- */ /* Print styles ------------------------------------------------------------- */
@media print { @media print {
{
/* undo code tabs */ /* undo code tabs */
/* wrap code, not scroll */
/* Source URLs are too big to float */
/* Show URLs after links - even for anchors */
/* Drop header, footer, google translate */
/* table of contents can't scroll */
/* better margins on main content */
/* crazy print-section-numbering idea */
}
.multicode > div { .multicode > div {
display: block !important; display: block !important;
} }
@@ -1425,6 +1416,7 @@ a.current {
.multicode > p { .multicode > p {
display: block !important; display: block !important;
} }
/* wrap code, not scroll */
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
max-height: none !important; max-height: none !important;
@@ -1438,23 +1430,30 @@ a.current {
.content a[title="Source"] { .content a[title="Source"] {
float: none; float: none;
} }
/* Drop header, footer, sidebars */
header, header,
footer { footer,
aside {
display: none; display: none;
} }
#goog-gt-tt { /* Full-width content body */
.content, #main_content_body {
position: static;
display: block;
width: auto;
height: auto;
max-width: 100%;
}
#main_content_wrapper {
margin-top: 0;
}
#main_content_body::before {
display: none; display: none;
} }
h1 { .xrp-ledger-dev-portal.sidebar-primary .main {
page-break-before: always; border: 0;
} }
.main { .sidebar-primary .row {
float: none !important; display: block;
width: 85% !important;
border-left: 0 !important;
padding: 0 !important;
margin: 0 !important;
display: block !important;
overflow: visible !important;
} }
} }