diff --git a/IPython/frontend/html/notebook/static/css/style.min.css b/IPython/frontend/html/notebook/static/css/style.min.css index 3b7f569..f3a15a6 100644 --- a/IPython/frontend/html/notebook/static/css/style.min.css +++ b/IPython/frontend/html/notebook/static/css/style.min.css @@ -41,7 +41,7 @@ div.ui-widget-content{border:1px solid #e0e0e0;outline:none;} div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;} div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;} div.input{page-break-inside:avoid;} -div.input_area{color:black;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;} +div.input_area{border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;} div.input_prompt{color:navy;border-top:1px solid transparent;} div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;} div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:3px;box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);} @@ -51,16 +51,16 @@ div.out_prompt_overlay:hover{box-shadow:inset 0 0 1px #000;background:rgba(240, div.output_prompt{color:darkred;margin:0 5px 0 -5px;} div.output_area{padding:0px;page-break-inside:avoid;} div.output_subarea{padding:0.44em 0.4em 0.4em 1px;} -div.output_text{text-align:left;color:black;font-family:monospace;} +div.output_text{text-align:left;color:#000000;font-family:monospace;} div.output_stream{padding-top:0.0em;padding-bottom:0.0em;} div.output_stderr{background:#fdd;} -div.output_latex{text-align:left;color:black;} +div.output_latex{text-align:left;} div.text_cell{padding:5px 5px 5px 5px;} -div.text_cell_input{color:black;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;} -div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:black;} +div.text_cell_input{color:#000000;border:1px solid #e0e0e0;border-radius:3px;background:#f7f7f7;} +div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:#000000;} .CodeMirror{line-height:1.231;} .CodeMirror-scroll{height:auto;overflow-y:hidden;overflow-x:auto;} -.ansiblack{color:black;} +.ansiblack{color:#000000;} .ansired{color:darkred;} .ansigreen{color:darkgreen;} .ansiyellow{color:brown;} diff --git a/IPython/frontend/html/notebook/static/less/notebook.less b/IPython/frontend/html/notebook/static/less/notebook.less index b184c42..9f6a6d2 100644 --- a/IPython/frontend/html/notebook/static/less/notebook.less +++ b/IPython/frontend/html/notebook/static/less/notebook.less @@ -199,7 +199,7 @@ div.input { /* input_area and input_prompt must match in top border and margin for alignment */ div.input_area { - color: black; + /*color: @fontBaseColor;*/ border: 1px solid @border_color; .corner-all; background: @cell_background; @@ -289,7 +289,7 @@ div.output_subarea { /* all text output has this class: */ div.output_text { text-align: left; - color: black; + color: @fontBaseColor; font-family: monospace; /* This has to match that of the the CodeMirror class line-height below */ line-height: 1.231; @@ -308,7 +308,6 @@ div.output_stderr { div.output_latex { text-align: left; - color: black; } div.output_html { @@ -325,7 +324,7 @@ div.text_cell { } div.text_cell_input { - color: black; + color: @fontBaseColor; border: 1px solid @border_color; .corner-all; background: @cell_background; @@ -338,7 +337,7 @@ div.text_cell_render { width: inherit; border-style: none; padding: 5px; - color: black; + color: @fontBaseColor; } /* The following gets added to the <head> if it is detected that the user has a @@ -367,7 +366,7 @@ div.text_cell_render { /* CSS font colors for translated ANSI colors. */ -.ansiblack {color: black;} +.ansiblack {color: @fontBaseColor;} .ansired {color: darkred;} .ansigreen {color: darkgreen;} .ansiyellow {color: brown;} diff --git a/IPython/frontend/html/notebook/static/less/variables.less b/IPython/frontend/html/notebook/static/less/variables.less index e0dbb0f..f9dc6e1 100644 --- a/IPython/frontend/html/notebook/static/less/variables.less +++ b/IPython/frontend/html/notebook/static/less/variables.less @@ -4,6 +4,7 @@ @cell_background: darken(@notebook_background, 3.2%); @border_color: darken(@cell_selected_background, 10%); @borderwidth : 1px; +@fontBaseColor : black;