Skip to content

Commit

Permalink
Add CSS style for printing
Browse files Browse the repository at this point in the history
  • Loading branch information
k-awata committed Oct 19, 2023
1 parent 8e0391e commit 6593966
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/fesdocs.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
@media print {
.sidebar {
transform: translateX(-300px);
}

.content {
padding-top: 0;
left: 0;
}

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

.markdown-section li {
break-inside: avoid-page;
}
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
Expand Down

0 comments on commit 6593966

Please sign in to comment.