Skip to content

Commit

Permalink
some basic print css
Browse files Browse the repository at this point in the history
  • Loading branch information
0x70b1a5 committed Apr 15, 2024
1 parent a5800ea commit 203a2de
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions theme/css/print.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#sidebar,
#menu-bar,
.nav-chapters,
Expand All @@ -9,7 +8,7 @@
#page-wrapper.page-wrapper {
transform: none !important;
margin-inline-start: 0px;
overflow-y: initial;
height: 100%;
}

#content {
Expand All @@ -19,32 +18,42 @@
}

.page {
overflow-y: initial;
background-color: transparent;
height: 100%;
}

code {
direction: ltr !important;
}

pre > .buttons {
pre>.buttons {
z-index: 2;
}

a, a:visited, a:active, a:hover {
a,
a:visited,
a:active,
a:hover {
color: #4183c4;
text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
page-break-inside: avoid;
page-break-after: avoid;
}

pre, code {
pre,
code {
page-break-inside: avoid;
white-space: pre-wrap;
}

.fa {
display: none !important;
}
}

0 comments on commit 203a2de

Please sign in to comment.