Skip to content

Commit

Permalink
Make Guide and API Docs print-friendly, fixes meteor#24
Browse files Browse the repository at this point in the history
  • Loading branch information
sorcamarian committed Aug 7, 2016
1 parent 50bc61e commit dbef203
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/style/_theme/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ body {
margin-left: @sidebar-width + @panel-width;
padding-top: 1rem;
}

@media print {
margin: 0;
}
}

// Sidebar toggle
Expand Down
4 changes: 4 additions & 0 deletions source/style/_theme/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,8 @@

.nav-item { .transform(scale3d(1,1,1));}
}

@media print {
display: none;
}
}
4 changes: 4 additions & 0 deletions source/style/_theme/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,8 @@
padding-bottom: .375rem;
}
}

@media print {
display: none;
}
}

0 comments on commit dbef203

Please sign in to comment.