Skip to content

Commit cc62479

Browse files
bung87survivorm
authored andcommitted
make it printer friendly (nim-lang#21218)
1 parent 0e6da4f commit cc62479

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

doc/nimdoc.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ body {
147147
box-sizing: border-box;
148148
margin-left: 1%; }
149149

150+
@media print {
151+
#global-links, .link-seesrc, .theme-switch-wrapper, #searchInputDiv, .search-groupby {
152+
display:none;
153+
}
154+
.columns {
155+
width:100% !important;
156+
}
157+
}
158+
150159
.column:first-child, .columns:first-child {
151160
margin-left: 0; }
152161

nimdoc/testproject/expected/nimdoc.out.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ body {
147147
box-sizing: border-box;
148148
margin-left: 1%; }
149149

150+
@media print {
151+
#global-links, .link-seesrc, .theme-switch-wrapper, #searchInputDiv, .search-groupby {
152+
display:none;
153+
}
154+
.columns {
155+
width:100% !important;
156+
}
157+
}
158+
150159
.column:first-child, .columns:first-child {
151160
margin-left: 0; }
152161

0 commit comments

Comments
 (0)