##// END OF EJS Templates
Add LESS that enables meta-p printing
Jonathan Frederic -
Show More
@@ -21,6 +21,13 b' div.cell {'
21 outline: none;
21 outline: none;
22 }
22 }
23
23
24 /* Don't border the cells when printing */
25 @media print {
26 div.cell {
27 border-color: transparent !important;
28 }
29 }
30
24 div.prompt {
31 div.prompt {
25 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
32 /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
26 min-width: 15ex;
33 min-width: 15ex;
@@ -1,4 +1,8 b''
1 div.code_cell {
1 /* avoid page breaking on code cells when printing */
2 @media print {
3 div.code_cell {
4 page-break-inside: avoid;
5 }
2 }
6 }
3
7
4 /* any special styling for code cells that are currently running goes here */
8 /* any special styling for code cells that are currently running goes here */
@@ -91,3 +91,10 b' p {'
91 .notebook_app #header {
91 .notebook_app #header {
92 .box-shadow(@notebook-shadow);
92 .box-shadow(@notebook-shadow);
93 }
93 }
94
95 /* Hide the header when printing */
96 @media print {
97 #header, #header-spacer {
98 display: none !important;
99 }
100 }
General Comments 0
You need to be logged in to leave comments. Login now