##// END OF EJS Templates
Cleaned up kernel action interface....
Cleaned up kernel action interface. * Using POST rather than GET. * Using simple URLs rather than a query string. * Using a regexp to match the action.

File last commit:

r4307:df52f21e
r4309:9fe1c2c8
Show More
notebook.css
202 lines | 4.3 KiB | text/css | CssLexer
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 /**
* HTML5 ✰ Boilerplate
*
* style.css contains a reset, font normalization and some base styles.
*
* Credit is left where credit is due.
* Much inspiration was taken from these projects:
* - yui.yahooapis.com/2.8.1/build/base/base.css
* - camendesign.com/design/
* - praegnanz.de/weblog/htmlcssjs-kickstart
*/
/**
* html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
* v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
* html5doctor.com/html-5-reset-stylesheet/
*/
html, body, div, span, object, iframe,
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 time, mark, audio, video {
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }
/* Normalize monospace sizing:
en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 body {
background-color: white;
Brian Granger
Minor changes to notebook css.
r4307 font-size: 10pt;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
span#ipython_notebook h1 {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
font-size: 32pt;
padding: 10px;
margin: 10px;
}
div#toolbar {
width: 100%;
height: auto;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: black;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 padding: 5px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
div.notebook {
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 width: 790px;
Brian Granger
Make the main notebook div auto scroll.
r4300 height: 650px; /*We might have to detect window height for this*/
overflow: auto;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 margin-left: auto;
margin-right: auto;
padding-top: 5px;
padding-bottom: 5px;
background-color: white;
}
div.cell {
width: 740px;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 margin: 5px auto 5px 5px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 padding: 5px;
position: relative;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 display: table;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
div.code_cell {
background-color: white;
}
div.prompt {
vertical-align: top;
display: table-cell;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 width: 80px;
padding: 0px;
margin: 0px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 font-family: Menlo, "Courier New", Courier, mono;
font-weight: normal;
font-style: normal;
}
div.input {
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 display: table-row;
padding: 0px;
margin: 0px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
div.input_prompt {
color: blue;
}
textarea.input_area {
text-align: left;
font-family: Menlo, "Courier New", Courier, mono;
font-size: inherit;
border-style: none;
display: table-cell;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 padding: 0px;
margin: 0px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 overflow: auto;
font-weight: normal;
font-style: normal;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 width: 650px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 outline: none;
resize: none;
}
div.output {
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 display: table-row;
padding: 0px;
margin: 0px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
div.output_prompt {
color: red;
}
div.output_area {
text-align: left;
font-family: Menlo, "Courier New", Courier, mono;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 padding: 0px;
margin: 0px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 display: table-cell;
Brian Granger
Initial reply handling implemented along with css fixes.
r4299 width: 650px;
Brian Granger
Initial draft of HTML5/JS/CSS3 notebook.
r4292 }
div.text_cell {
background-color: white;
}
textarea.text_cell_input {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
font-size: inherit;
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 0;
margin: 0;
color: black;
}
div.text_cell_render {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
font-size: inherit;
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 0;
margin: 0;
color: black;
}
div.text_cell_render em {
font-style: italic;
}
div.text_cell_render strong {
font-weight: bold;
}