Skip to content

Commit

Permalink
make it printer friendly (nim-lang#21218)
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 authored and capocasa committed Mar 31, 2023
1 parent 2d44a63 commit bdb035e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/nimdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,15 @@ body {
box-sizing: border-box;
margin-left: 1%; }

@media print {
#global-links, .link-seesrc, .theme-switch-wrapper, #searchInputDiv, .search-groupby {
display:none;
}
.columns {
width:100% !important;
}
}

.column:first-child, .columns:first-child {
margin-left: 0; }

Expand Down
9 changes: 9 additions & 0 deletions nimdoc/testproject/expected/nimdoc.out.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,15 @@ body {
box-sizing: border-box;
margin-left: 1%; }

@media print {
#global-links, .link-seesrc, .theme-switch-wrapper, #searchInputDiv, .search-groupby {
display:none;
}
.columns {
width:100% !important;
}
}

.column:first-child, .columns:first-child {
margin-left: 0; }

Expand Down

0 comments on commit bdb035e

Please sign in to comment.