74 lines
1.3 KiB
CSS
74 lines
1.3 KiB
CSS
/* Base Theme */
|
|
div.cell_input {
|
|
border: none !important;
|
|
}
|
|
|
|
.cell_output {
|
|
padding-left: 0px !important;
|
|
border: 1px solid #8b8b8b;
|
|
border-radius: var(--mystnb-source-border-radius);
|
|
}
|
|
|
|
.cell_output .output.text_plain,
|
|
.cell_output .output.stream {
|
|
background: var(--background);
|
|
border: none;
|
|
}
|
|
|
|
.cell_output .output.stream {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.cell_output .output.stderr {
|
|
background: var(--background);
|
|
border: none;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.cell_output .output.traceback {
|
|
background: var(--background);
|
|
border: none;
|
|
}
|
|
|
|
/* Pandas tables. Pulled from the Jupyter / nbsphinx CSS */
|
|
div.cell_output table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
border: none;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
color: var(--foreground);
|
|
font-size: 1em;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
div.cell_output thead {
|
|
border-bottom: 1px solid black;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
div.cell_output tr,
|
|
div.cell_output th,
|
|
div.cell_output td {
|
|
text-align: right;
|
|
vertical-align: middle;
|
|
padding: 0.5em 0.5em;
|
|
line-height: normal;
|
|
white-space: normal;
|
|
max-width: none;
|
|
border: none;
|
|
}
|
|
|
|
div.cell_output th {
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.cell_output tbody tr:nth-child(odd) {
|
|
background: var(--backgound);
|
|
}
|
|
|
|
div.cell_output tbody tr:hover {
|
|
background: rgba(66, 165, 245, 0.2);
|
|
}
|