Show More
@@ -37,11 +37,19 b' div#header {' | |||||
37 | height: 0px; |
|
37 | height: 0px; | |
38 | border-bottom: 1px solid @navbar-default-border; |
|
38 | border-bottom: 1px solid @navbar-default-border; | |
39 | } |
|
39 | } | |
|
40 | ||||
|
41 | @media print { | |||
|
42 | display: none !important; | |||
|
43 | } | |||
40 | } |
|
44 | } | |
41 |
|
45 | |||
42 | #header-spacer { |
|
46 | #header-spacer { | |
43 | width: 100%; |
|
47 | width: 100%; | |
44 | visibility: hidden; |
|
48 | visibility: hidden; | |
|
49 | ||||
|
50 | @media print { | |||
|
51 | display: none; | |||
|
52 | } | |||
45 | } |
|
53 | } | |
46 |
|
54 | |||
47 | #ipython_notebook { |
|
55 | #ipython_notebook { |
@@ -8,10 +8,18 b' div.cell {' | |||||
8 |
|
8 | |||
9 | &.selected { |
|
9 | &.selected { | |
10 | border-color: @border_color; |
|
10 | border-color: @border_color; | |
|
11 | /* Don't border the cells when printing */ | |||
|
12 | @media print { | |||
|
13 | border-color: transparent; | |||
|
14 | } | |||
11 | } |
|
15 | } | |
12 |
|
16 | |||
13 | &.edit_mode { |
|
17 | &.edit_mode { | |
14 | border-color: green; |
|
18 | border-color: green; | |
|
19 | /* Don't border the cells when printing */ | |||
|
20 | @media print { | |||
|
21 | border-color: transparent; | |||
|
22 | } | |||
15 | } |
|
23 | } | |
16 |
|
24 | |||
17 | width: 100%; |
|
25 | width: 100%; |
@@ -1,4 +1,8 b'' | |||||
1 | div.code_cell { |
|
1 | div.code_cell { | |
|
2 | /* avoid page breaking on code cells when printing */ | |||
|
3 | @media print { | |||
|
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 */ |
@@ -363,9 +363,21 b' div.cell {' | |||||
363 | } |
|
363 | } | |
364 | div.cell.selected { |
|
364 | div.cell.selected { | |
365 | border-color: #ababab; |
|
365 | border-color: #ababab; | |
|
366 | /* Don't border the cells when printing */ | |||
|
367 | } | |||
|
368 | @media print { | |||
|
369 | div.cell.selected { | |||
|
370 | border-color: transparent; | |||
|
371 | } | |||
366 | } |
|
372 | } | |
367 | div.cell.edit_mode { |
|
373 | div.cell.edit_mode { | |
368 | border-color: green; |
|
374 | border-color: green; | |
|
375 | /* Don't border the cells when printing */ | |||
|
376 | } | |||
|
377 | @media print { | |||
|
378 | div.cell.edit_mode { | |||
|
379 | border-color: transparent; | |||
|
380 | } | |||
369 | } |
|
381 | } | |
370 | div.prompt { |
|
382 | div.prompt { | |
371 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
383 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
@@ -457,6 +469,14 b' div.unrecognized_cell .inner_cell a:hover {' | |||||
457 | display: none; |
|
469 | display: none; | |
458 | } |
|
470 | } | |
459 | } |
|
471 | } | |
|
472 | div.code_cell { | |||
|
473 | /* avoid page breaking on code cells when printing */ | |||
|
474 | } | |||
|
475 | @media print { | |||
|
476 | div.code_cell { | |||
|
477 | page-break-inside: avoid; | |||
|
478 | } | |||
|
479 | } | |||
460 | /* any special styling for code cells that are currently running goes here */ |
|
480 | /* any special styling for code cells that are currently running goes here */ | |
461 | div.input { |
|
481 | div.input { | |
462 | page-break-inside: avoid; |
|
482 | page-break-inside: avoid; |
@@ -7768,10 +7768,20 b' div#header .header-bar {' | |||||
7768 | height: 0px; |
|
7768 | height: 0px; | |
7769 | border-bottom: 1px solid #e7e7e7; |
|
7769 | border-bottom: 1px solid #e7e7e7; | |
7770 | } |
|
7770 | } | |
|
7771 | @media print { | |||
|
7772 | div#header { | |||
|
7773 | display: none !important; | |||
|
7774 | } | |||
|
7775 | } | |||
7771 | #header-spacer { |
|
7776 | #header-spacer { | |
7772 | width: 100%; |
|
7777 | width: 100%; | |
7773 | visibility: hidden; |
|
7778 | visibility: hidden; | |
7774 | } |
|
7779 | } | |
|
7780 | @media print { | |||
|
7781 | #header-spacer { | |||
|
7782 | display: none; | |||
|
7783 | } | |||
|
7784 | } | |||
7775 | #ipython_notebook { |
|
7785 | #ipython_notebook { | |
7776 | padding-left: 0px; |
|
7786 | padding-left: 0px; | |
7777 | padding-top: 3px; |
|
7787 | padding-top: 3px; | |
@@ -8226,9 +8236,21 b' div.cell {' | |||||
8226 | } |
|
8236 | } | |
8227 | div.cell.selected { |
|
8237 | div.cell.selected { | |
8228 | border-color: #ababab; |
|
8238 | border-color: #ababab; | |
|
8239 | /* Don't border the cells when printing */ | |||
|
8240 | } | |||
|
8241 | @media print { | |||
|
8242 | div.cell.selected { | |||
|
8243 | border-color: transparent; | |||
|
8244 | } | |||
8229 | } |
|
8245 | } | |
8230 | div.cell.edit_mode { |
|
8246 | div.cell.edit_mode { | |
8231 | border-color: green; |
|
8247 | border-color: green; | |
|
8248 | /* Don't border the cells when printing */ | |||
|
8249 | } | |||
|
8250 | @media print { | |||
|
8251 | div.cell.edit_mode { | |||
|
8252 | border-color: transparent; | |||
|
8253 | } | |||
8232 | } |
|
8254 | } | |
8233 | div.prompt { |
|
8255 | div.prompt { | |
8234 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
8256 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
@@ -8320,6 +8342,14 b' div.unrecognized_cell .inner_cell a:hover {' | |||||
8320 | display: none; |
|
8342 | display: none; | |
8321 | } |
|
8343 | } | |
8322 | } |
|
8344 | } | |
|
8345 | div.code_cell { | |||
|
8346 | /* avoid page breaking on code cells when printing */ | |||
|
8347 | } | |||
|
8348 | @media print { | |||
|
8349 | div.code_cell { | |||
|
8350 | page-break-inside: avoid; | |||
|
8351 | } | |||
|
8352 | } | |||
8323 | /* any special styling for code cells that are currently running goes here */ |
|
8353 | /* any special styling for code cells that are currently running goes here */ | |
8324 | div.input { |
|
8354 | div.input { | |
8325 | page-break-inside: avoid; |
|
8355 | page-break-inside: avoid; |
General Comments 0
You need to be logged in to leave comments.
Login now