mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
commit
b1b88a7855
@ -37,11 +37,19 @@ div#header {
|
|||||||
height: 0px;
|
height: 0px;
|
||||||
border-bottom: 1px solid @navbar-default-border;
|
border-bottom: 1px solid @navbar-default-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-spacer {
|
#header-spacer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ipython_notebook {
|
#ipython_notebook {
|
||||||
|
@ -8,10 +8,18 @@ div.cell {
|
|||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border-color: @border_color;
|
border-color: @border_color;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
@media print {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.edit_mode {
|
&.edit_mode {
|
||||||
border-color: green;
|
border-color: green;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
@media print {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
div.code_cell {
|
div.code_cell {
|
||||||
|
/* avoid page breaking on code cells when printing */
|
||||||
|
@media print {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* any special styling for code cells that are currently running goes here */
|
/* any special styling for code cells that are currently running goes here */
|
||||||
|
20
IPython/html/static/style/ipython.min.css
vendored
20
IPython/html/static/style/ipython.min.css
vendored
@ -363,9 +363,21 @@ div.cell {
|
|||||||
}
|
}
|
||||||
div.cell.selected {
|
div.cell.selected {
|
||||||
border-color: #ababab;
|
border-color: #ababab;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.cell.selected {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
div.cell.edit_mode {
|
div.cell.edit_mode {
|
||||||
border-color: green;
|
border-color: green;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.cell.edit_mode {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
div.prompt {
|
div.prompt {
|
||||||
/* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
|
/* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
|
||||||
@ -457,6 +469,14 @@ div.unrecognized_cell .inner_cell a:hover {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
div.code_cell {
|
||||||
|
/* avoid page breaking on code cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.code_cell {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* any special styling for code cells that are currently running goes here */
|
/* any special styling for code cells that are currently running goes here */
|
||||||
div.input {
|
div.input {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
|
30
IPython/html/static/style/style.min.css
vendored
30
IPython/html/static/style/style.min.css
vendored
@ -7768,10 +7768,20 @@ div#header .header-bar {
|
|||||||
height: 0px;
|
height: 0px;
|
||||||
border-bottom: 1px solid #e7e7e7;
|
border-bottom: 1px solid #e7e7e7;
|
||||||
}
|
}
|
||||||
|
@media print {
|
||||||
|
div#header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
#header-spacer {
|
#header-spacer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
@media print {
|
||||||
|
#header-spacer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
#ipython_notebook {
|
#ipython_notebook {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
@ -8226,9 +8236,21 @@ div.cell {
|
|||||||
}
|
}
|
||||||
div.cell.selected {
|
div.cell.selected {
|
||||||
border-color: #ababab;
|
border-color: #ababab;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.cell.selected {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
div.cell.edit_mode {
|
div.cell.edit_mode {
|
||||||
border-color: green;
|
border-color: green;
|
||||||
|
/* Don't border the cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.cell.edit_mode {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
div.prompt {
|
div.prompt {
|
||||||
/* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
|
/* This needs to be wide enough for 3 digit prompt numbers: In[100]: */
|
||||||
@ -8320,6 +8342,14 @@ div.unrecognized_cell .inner_cell a:hover {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
div.code_cell {
|
||||||
|
/* avoid page breaking on code cells when printing */
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
div.code_cell {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* any special styling for code cells that are currently running goes here */
|
/* any special styling for code cells that are currently running goes here */
|
||||||
div.input {
|
div.input {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
|
Loading…
Reference in New Issue
Block a user