Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions myst_nb/static/mystnb.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ tbody span.pasted-inline img {
}

/* Font colors for translated ANSI escape sequences
Color values are adapted from share/jupyter/nbconvert/templates/classic/static/style.css
Color values are copied from Jupyter Notebook
https://github.com/jupyter/notebook/blob/52581f8eda9b319eb0390ac77fe5903c38f81e3e/notebook/static/notebook/less/ansicolors.less#L14-L21
Background colors from
https://nbsphinx.readthedocs.io/en/latest/code-cells.html#ANSI-Colors
*/
div.highlight .-Color-Bold {
font-weight: bold;
Expand All @@ -132,7 +135,7 @@ div.highlight .-Color[class*=-Green] {
color: #00A250
}
div.highlight .-Color[class*=-Yellow] {
color: yellow
color: #DDB62B
}
div.highlight .-Color[class*=-Blue] {
color: #208FFB
Expand All @@ -156,7 +159,7 @@ div.highlight .-Color[class*=-BGGreen] {
background-color: #00A250
}
div.highlight .-Color[class*=-BGYellow] {
background-color: yellow
background-color: #DDB62B
}
div.highlight .-Color[class*=-BGBlue] {
background-color: #208FFB
Expand Down