Initial commit

parents
html {
--yellow-poul: #ffc600;
}
#site {
scroll-behavior: smooth;
}
div#notebook {
background: #1e1e1e;
font-size: 20px;
line-height: 1.3;
}
.CodeMirror {
font-size: inherit;
line-height: inherit;
}
.CodeMirror pre.CodeMirror-line {
font-size: inherit;
line-height: inherit;
}
#notebook-container {
background: #191919;
color: white;
}
div.cell.selected::before,
div.cell.selected.jupyter-soft-selected::before {
background: var(--yellow-poul);
}
div.text_cell_render {
color: white;
}
div.input_area {
background: black;
border: black;
}
div.output_area pre {
color: white;
}
.CodeMirror, .rendered_html pre, .rendered_html pre code {
background: #322931;
color: #b9b5b8;
}
h1,
h2,
h3,
strong {
color: var(--yellow-poul);
}
div.cell {
margin: 35px 0;
}
.cm-s-ipython span.cm-variable {
color: white;
}
.rendered_html code {
background: #322931;
}
.rendered_html pre,
.rendered_html code {
color: var(--yellow-poul);
font-family: monospace;
}
a {
color: var(--yellow-poul);
}
div.out_prompt_overlay:hover {
background: initial;
}
\ No newline at end of file
/*** Autoscroll ***/
autoscroll = () => {
container = document.querySelector("#site");
cell = document.querySelector(".cell.selected");
dy = (container.clientHeight - cell.clientHeight) / 2;
if (dy < 0) dy = 0;
container.scrollTop = cell.offsetTop - dy;
};
$([IPython.events]).on("select.Cell", autoscroll);
$([IPython.events]).on("output_appended.OutputArea", function () {
setTimeout(autoscroll, 10);
});
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment