##// END OF EJS Templates
make CORS configurable...
make CORS configurable allows setting CORS headers. - cors_origin sets Access-Control-Allow-Origin directly - cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1] - cors_credentials sets Access-Control-Allow-Credentials: true To allow CORS from everywhere: ipython notebook —NotebookApp.cors_origin='*'

File last commit:

r16912:30744239
r17106:600762a6
Show More
textcell.less
36 lines | 686 B | text/x-less | LessCssLexer
div.text_cell {
padding: 5px 5px 5px 0px;
.hbox();
}
@media (max-width: 480px) {
// remove prompt indentation on small screens
div.text_cell > div.prompt {
display: none;
}
}
div.text_cell_render {
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 0.5em 0.5em 0.5em @code_padding;
color: @text-color;
}
a.anchor-link:link {
text-decoration: none;
padding: 0px 20px;
visibility: hidden;
}
h1,h2,h3,h4,h5,h6 {
&:hover .anchor-link {
visibility: visible;
}
}
div.cell.text_cell.rendered {
padding: 0px;
}