##// END OF EJS Templates
Shut down kernels in parallel...
Shut down kernels in parallel When stopping the notebook server, it currently sends a shutdown request to each kernel and then waits for the process to finish. This can be slow if you have several kernels running. This makes it issues all the shutdown requests before waiting on the processes, so shutdown happens in parallel. KernelManager (and MultiKernelManager) gain three new public API methods to allow this: * request_shutdown (promoted from a private method) * wait_shutdown (refactored out of shutdown_kernel) * cleanup (refactored out of shutdown_kernel)

File last commit:

r14877:eb598772
r16510:633371e5
Show More
renderedhtml.less
86 lines | 2.6 KiB | text/x-less | LessCssLexer
Brian E. Granger
Refactoring the center/left justify.
r12793 .rendered_html {
Matthias BUSSONNIER
condense rendered_html css
r9293
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 color: @textColor;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 em {font-style: italic;}
strong {font-weight: bold;}
u {text-decoration: underline;}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 :link {text-decoration: underline;}
:visited {text-decoration: underline;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
// For a 14px base font size this goes as:
// font-size = 26, 22, 18, 14, 12, 12
// margin-top = 14, 14, 14, 14, 8, 8
h1 {font-size: 185.7%; margin: 1.08em 0 0 0; font-weight: bold; line-height: 1.0;}
h2 {font-size: 157.1%; margin: 1.27em 0 0 0; font-weight: bold; line-height: 1.0;}
h3 {font-size: 128.6%; margin: 1.55em 0 0 0; font-weight: bold; line-height: 1.0;}
h4 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0;}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 h5 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
h6 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
// Reduce the top margins by 14px compared to above
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 h1:first-child {margin-top: 0.538em;}
h2:first-child {margin-top: 0.636em;}
h3:first-child {margin-top: 0.777em;}
h4:first-child {margin-top: 1em;}
h5:first-child {margin-top: 1em;}
h6:first-child {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
ul {list-style:disc; margin: 0em 2em;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 ul ul {list-style:square; margin: 0em 2em;}
Matthias BUSSONNIER
minor css fixes
r9423 ul ul ul {list-style:circle; margin: 0em 2em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874 ol {list-style:decimal; margin: 0em 2em;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 ol ol {list-style:upper-alpha; margin: 0em 2em;}
ol ol ol {list-style:lower-alpha; margin: 0em 2em;}
ol ol ol ol {list-style:lower-roman; margin: 0em 2em;}
/* any extras will just be numbers: */
ol ol ol ol ol {list-style:decimal; margin: 0em 2em;}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 * + ul {margin-top: 1em;}
* + ol {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 hr {
color: black;
background-color: black;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 pre {margin: 1em 2em;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874 pre, code {
border: 0;
background-color: @bodyBackground;
color: @textColor;
font-size: 100%;
padding: 0px;
}
Brian E. Granger
Fixing code/pre styles in rendered HTML/
r10740
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 blockquote {margin: 1em 2em;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Centering for tables/images/math in Markdown.
r12644 table {
margin-left: auto;
margin-right: auto;
border: 1px solid black;
border-collapse: collapse;
}
tr, th, td {
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 border: 1px solid black;
border-collapse: collapse;
margin: 1em 2em;
}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 td, th {
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 text-align: left;
vertical-align: middle;
padding: 4px;
}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 th {font-weight: bold;}
* + table {margin-top: 1em;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 p {text-align: justify;}
* + p {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
Brian E. Granger
Refactoring the center/left justify.
r12793 img {
display: block;
margin-left: auto;
margin-right: auto;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 }
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 * + img {margin-top: 1em;}
Brian E. Granger
Indenting MathJax rendered equations in rendered_html divs....
r12642
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 }