##// END OF EJS Templates
Making the cell margin 0 all around....
Brian E. Granger -
Show More
@@ -9,7 +9,7 b' div.cell {'
9 width: 100%;
9 width: 100%;
10 padding: 5px 5px 5px 0px;
10 padding: 5px 5px 5px 0px;
11 /* This acts as a spacer between cells, that is outside the border */
11 /* This acts as a spacer between cells, that is outside the border */
12 margin: 2px 0px 2px 7px;
12 margin: 0px;
13 outline: none;
13 outline: none;
14 }
14 }
15
15
@@ -22,46 +22,3 b' div.input_prompt {'
22 border-top: 1px solid transparent;
22 border-top: 1px solid transparent;
23 }
23 }
24
24
25 div.output_wrapper {
26 /* This is a spacer between the input and output of each cell */
27 margin-top: 5px;
28 /* this position must be relative to enable descendents to be absolute within it */
29 position: relative;
30 .vbox()
31 }
32
33 /* class for the output area when it should be height-limited */
34 div.output_scroll {
35 /* ideally, this would be max-height, but FF barfs all over that */
36 height: 24em;
37 /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */
38 width: 100%;
39
40 overflow: auto;
41 .corner-all;
42 .box-shadow(inset 0 2px 8px rgba(0, 0, 0, .8));
43 }
44
45 /* output div while it is collapsed */
46 div.output_collapsed {
47 margin: 0px;
48 padding: 0px;
49 .vbox();
50 }
51
52 div.out_prompt_overlay {
53 height: 100%;
54 padding: 0px 0.4em;
55 position: absolute;
56 .corner-all;
57 }
58
59 div.out_prompt_overlay:hover {
60 /* use inner shadow to get border that is computed the same on WebKit/FF */
61 .box-shadow(inset 0 0 1px #000);
62 background: rgba(240, 240, 240, 0.5);
63 }
64
65 div.output_prompt {
66 color: darkred;
67 }
@@ -1,3 +1,47 b''
1 div.output_wrapper {
2 /* This is a spacer between the input and output of each cell */
3 margin-top: 5px;
4 /* this position must be relative to enable descendents to be absolute within it */
5 position: relative;
6 .vbox()
7 }
8
9 /* class for the output area when it should be height-limited */
10 div.output_scroll {
11 /* ideally, this would be max-height, but FF barfs all over that */
12 height: 24em;
13 /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */
14 width: 100%;
15
16 overflow: auto;
17 .corner-all;
18 .box-shadow(inset 0 2px 8px rgba(0, 0, 0, .8));
19 }
20
21 /* output div while it is collapsed */
22 div.output_collapsed {
23 margin: 0px;
24 padding: 0px;
25 .vbox();
26 }
27
28 div.out_prompt_overlay {
29 height: 100%;
30 padding: 0px 0.4em;
31 position: absolute;
32 .corner-all;
33 }
34
35 div.out_prompt_overlay:hover {
36 /* use inner shadow to get border that is computed the same on WebKit/FF */
37 .box-shadow(inset 0 0 1px #000);
38 background: rgba(240, 240, 240, 0.5);
39 }
40
41 div.output_prompt {
42 color: darkred;
43 }
44
1 /* This class is the outer container of all output sections. */
45 /* This class is the outer container of all output sections. */
2 div.output_area {
46 div.output_area {
3 padding: 0px;
47 padding: 0px;
@@ -23,7 +67,6 b' div.output_area {'
23 }
67 }
24 }
68 }
25
69
26
27 /* This is needed to protect the pre formating from global settings such
70 /* This is needed to protect the pre formating from global settings such
28 as that of bootstrap */
71 as that of bootstrap */
29 .output {
72 .output {
@@ -54,17 +54,11 b' input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-botto'
54 .ansibgpurple{background-color:magenta;}
54 .ansibgpurple{background-color:magenta;}
55 .ansibgcyan{background-color:cyan;}
55 .ansibgcyan{background-color:cyan;}
56 .ansibggray{background-color:gray;}
56 .ansibggray{background-color:gray;}
57 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 7px;outline:none;}div.cell.selected{border-radius:4px;border:thin #ababab solid;}
57 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;padding:5px 5px 5px 0px;margin:0px;outline:none;}div.cell.selected{border-radius:4px;border:thin #ababab solid;}
58 div.prompt{min-width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.231em;}
58 div.prompt{min-width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.231em;}
59 div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
59 div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
60 div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
60 div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
61 div.input_prompt{color:navy;border-top:1px solid transparent;}
61 div.input_prompt{color:navy;border-top:1px solid transparent;}
62 div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
63 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
64 div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
65 div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;}
66 div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);}
67 div.output_prompt{color:darkred;}
68 .CodeMirror{line-height:1.231em;height:auto;background:none;}
62 .CodeMirror{line-height:1.231em;height:auto;background:none;}
69 .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;}
63 .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;}
70 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden;}}.CodeMirror-lines{padding:0.4em;}
64 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden;}}.CodeMirror-lines{padding:0.4em;}
@@ -92,6 +86,13 b' pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .j'
92 .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;}
86 .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;}
93 .cm-s-ipython span.cm-meta{color:#AA22FF;}
87 .cm-s-ipython span.cm-meta{color:#AA22FF;}
94 .cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;}
88 .cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;}
89 div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
90 div.output_wrapper div.output:empty{margin-top:0px;}
91 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
92 div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
93 div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;}
94 div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);}
95 div.output_prompt{color:darkred;}
95 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;}
96 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;}
96 div.output_area .rendered_html table{margin-left:0;margin-right:0;}
97 div.output_area .rendered_html table{margin-left:0;margin-right:0;}
97 div.output_area .rendered_html img{margin-left:0;margin-right:0;}
98 div.output_area .rendered_html img{margin-left:0;margin-right:0;}
@@ -1435,17 +1435,11 b' input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-botto'
1435 .ansibgpurple{background-color:magenta;}
1435 .ansibgpurple{background-color:magenta;}
1436 .ansibgcyan{background-color:cyan;}
1436 .ansibgcyan{background-color:cyan;}
1437 .ansibggray{background-color:gray;}
1437 .ansibggray{background-color:gray;}
1438 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 7px;outline:none;}div.cell.selected{border-radius:4px;border:thin #ababab solid;}
1438 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;padding:5px 5px 5px 0px;margin:0px;outline:none;}div.cell.selected{border-radius:4px;border:thin #ababab solid;}
1439 div.prompt{min-width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.231em;}
1439 div.prompt{min-width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.231em;}
1440 div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
1440 div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
1441 div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
1441 div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
1442 div.input_prompt{color:navy;border-top:1px solid transparent;}
1442 div.input_prompt{color:navy;border-top:1px solid transparent;}
1443 div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
1444 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
1445 div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
1446 div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;}
1447 div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);}
1448 div.output_prompt{color:darkred;}
1449 .CodeMirror{line-height:1.231em;height:auto;background:none;}
1443 .CodeMirror{line-height:1.231em;height:auto;background:none;}
1450 .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;}
1444 .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;}
1451 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden;}}.CodeMirror-lines{padding:0.4em;}
1445 @-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden;}}.CodeMirror-lines{padding:0.4em;}
@@ -1473,6 +1467,13 b' pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .j'
1473 .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;}
1467 .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;}
1474 .cm-s-ipython span.cm-meta{color:#AA22FF;}
1468 .cm-s-ipython span.cm-meta{color:#AA22FF;}
1475 .cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;}
1469 .cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;}
1470 div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
1471 div.output_wrapper div.output:empty{margin-top:0px;}
1472 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
1473 div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
1474 div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;}
1475 div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);}
1476 div.output_prompt{color:darkred;}
1476 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;}
1477 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;}
1477 div.output_area .rendered_html table{margin-left:0;margin-right:0;}
1478 div.output_area .rendered_html table{margin-left:0;margin-right:0;}
1478 div.output_area .rendered_html img{margin-left:0;margin-right:0;}
1479 div.output_area .rendered_html img{margin-left:0;margin-right:0;}
General Comments 0
You need to be logged in to leave comments. Login now