Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added basic styling to text cells.

  • Loading branch information...
commit 9447eb00ec1e341ef2e2fd39b15647c12546e245 1 parent bffb119
@ellisonbg ellisonbg authored
Showing with 19 additions and 6 deletions.
  1. +19 −6 IPython/frontend/html/notebook/static/css/notebook.css
25 IPython/frontend/html/notebook/static/css/notebook.css
@@ -287,11 +287,24 @@ div.text_cell_render {
color: black;
-div.text_cell_render em {
- font-style: italic;
+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;}
-div.text_cell_render strong {
- font-weight: bold;
Please sign in to comment.
Something went wrong with that request. Please try again.