##// END OF EJS Templates
Improving the scrolling model.
Improving the scrolling model.

File last commit:

r4364:1579023d
r4364:1579023d
Show More
notebook.css
248 lines | 5.7 KiB | text/css | CssLexer
/**
* 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,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
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,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
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;
}
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; }
body {
background-color: white;
/* This won't propagate to all children so we also set it below */
font-size: 10pt;
/* This makes sure that the body covers the entire window and needs to
be in a different element than the display: box in wrapper below */
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
overflow: hidden;
}
span#ipython_notebook h1 {
font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
font-size: 22pt;
height: 35px;
padding: 5px;
margin: 0px;
}
span#kernel_status {
position: absolute;
top: 12%;
right: 10px;
font-weight: bold;
}
.status_idle {
color: gray;
}
.status_busy {
color: red;
}
.status_restarting {
color: black;
}
div#notebook_app {
width: 100%;
position: relative;
}
div#left_panel {
overflow-y: auto;
top: 0px;
left: 0px;
margin: 0px;
padding: 0px;
position: absolute;
}
div#left_panel_splitter {
width: 8px;
top: 0px;
left: 202px;
margin: 0px;
padding: 0px;
position: absolute;
}
div#notebook_panel {
/* The L margin will be set in the Javascript code*/
margin: 0px 0px 0px 0px;
padding: 0px;
}
div#notebook {
overflow-y: scroll;
overflow-x: auto;
width: 100%;
padding: 0px 15px 0px 15px;
margin: 0px
background-color: white;
font-size: 10pt;
}
div#pager_splitter {
height: 8px;
}
div#pager {
padding: 15px;
overflow: auto;
}
.monospace-font {
font-family: monospace;
font-size: 10pt;
}
div.cell {
width: 100%;
padding: 5px;
/* This acts as a spacer between cells, that is outside the border */
margin: 15px 0px 15px 0px;
}
div.code_cell {
background-color: white;
}
div.prompt {
width: 90px;
padding: 0px;
margin: 0px;
}
div.input_prompt {
color: navy;
}
div.output {
/* This is a spacer between the input and output of each cell */
margin-top: 15px;
}
div.output_prompt {
color: darkred;
}
div.output_area {
text-align: left;
color: black;
}
div.output_latex {
/* Slightly bigger than the rest of the notebook */
font-size: 11pt;
}
div.output_png {
}
div.text_cell {
background-color: white;
}
textarea.text_cell_input {
/* Slightly bigger than the rest of the notebook */
font-size: 11pt;
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 0px;
margin: 0px;
color: black;
}
div.text_cell_render {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
/* Slightly bigger than the rest of the notebook */
font-size: 11pt;
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 5px;
color: black;
}
div.text_cell_render em {font-style: italic;}
div.text_cell_render strong {font-weight: bold;}
div.text_cell_render u {text-decoration: underline;}
div.text_cell_render :link { text-decoration: underline }
div.text_cell_render :visited { text-decoration: underline }
div.text_cell_render h1 {font-size: 2.0em; margin: .67em 0; font-weight: bold;}
div.text_cell_render h2 {font-size: 1.5em; margin: .75em 0; font-weight: bold;}
div.text_cell_render h3 {font-size: 1.17em; margin: .83em 0; font-weight: bold;}
div.text_cell_render h4 {margin: 1.12em 0; font-weight: bold;}
div.text_cell_render h5 {font-size: .83em; margin: 1.5em 0; font-weight: bold;}
div.text_cell_render h6 {font-size: .75em; margin: 1.67em 0; font-weight: bold;}
div.text_cell_render ul {list-style:disc; margin-left: 40px;}
div.text_cell_render ul ul {list-style:square; margin-left: 40px;}
div.text_cell_render ul ul ul {list-style:circle; margin-left: 40px;}
div.text_cell_render ol {list-style:upper-roman; margin-left: 40px;}
div.text_cell_render ol ol {list-style:upper-alpha;}
div.text_cell_render ol ol ol {list-style:decimal;}
div.text_cell_render ol ol ol ol {list-style:lower-alpha;}
div.text_cell_render ol ol ol ol ol {list-style:lower-roman;}