Merge branch 'print-css'

This commit is contained in:
mDuo13
2021-05-18 15:21:42 -07:00
2 changed files with 47 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -4,9 +4,6 @@
.multicode > div { .multicode > div {
display: block !important; display: block !important;
} }
.multicode > ul {
display: none !important;
}
.multicode > em, .multicode > em,
.multicode > p > em { .multicode > p > em {
display: block !important; display: block !important;
@@ -15,6 +12,11 @@
.multicode > p { .multicode > p {
display: block !important; display: block !important;
} }
.code_toggler {
display: none;
}
/* wrap code, not scroll */ /* wrap code, not scroll */
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
@@ -25,7 +27,18 @@
} }
pre code { pre code {
white-space: pre-wrap !important; 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"] { .content a[title="Source"] {
float: none; float: none;
} }
@@ -33,7 +46,10 @@
header, header,
footer, footer,
aside { aside {
display: none; display: none !important;
}
.navbar {
display: none !important;
} }
/* Full-width content body */ /* Full-width content body */
.content, #main_content_body { .content, #main_content_body {
@@ -41,8 +57,27 @@
display: block; display: block;
width: auto; width: auto;
height: auto; height: auto;
color:black !important;
max-width: 100%; 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 { #main_content_wrapper {
margin-top: 0; margin-top: 0;
} }
@@ -55,4 +90,11 @@
.sidebar-primary .row { .sidebar-primary .row {
display: block; display: block;
} }
#feedback-content{
display:none !important;
}
.jump-to-top {
display: none !important;
}
} }