diff --git a/IPython/frontend/html/notebook/static/css/style.min.css b/IPython/frontend/html/notebook/static/css/style.min.css index ccfa059..64924c2 100644 --- a/IPython/frontend/html/notebook/static/css/style.min.css +++ b/IPython/frontend/html/notebook/static/css/style.min.css @@ -82,8 +82,7 @@ p.dialog{padding:0.2em;} pre,code,kbd,samp{white-space:pre-wrap;} #fonttest{font-family:monospace;} .js-error{color:darkred;} -@media print{body{overflow:visible !important;} div#notebook{overflow:visible !important;} .ui-widget-content{border:0px;} #save_widget{margin:0px !important;} #header,#pager,#pager_splitter,#menubar,#toolbar{display:none !important;} .cell{border:none !important;} .toolbar{display:none;}}.rendered_html{color:black;} -.rendered_html em{font-style:italic;} +@media print{body{overflow:visible !important;} div#notebook{overflow:visible !important;} .ui-widget-content{border:0px;} #save_widget{margin:0px !important;} #header,#pager,#pager_splitter,#menubar,#toolbar{display:none !important;} .cell{border:none !important;} .toolbar{display:none;}}.rendered_html{color:black;}.rendered_html em{font-style:italic;} .rendered_html strong{font-weight:bold;} .rendered_html u{text-decoration:underline;} .rendered_html :link{text-decoration:underline;} diff --git a/IPython/frontend/html/notebook/static/less/renderedhtml.less b/IPython/frontend/html/notebook/static/less/renderedhtml.less index 4a3e8cd..cc9bc7d 100644 --- a/IPython/frontend/html/notebook/static/less/renderedhtml.less +++ b/IPython/frontend/html/notebook/static/less/renderedhtml.less @@ -1,68 +1,69 @@ -.rendered_html {color: black;} -.rendered_html em {font-style: italic;} -.rendered_html strong {font-weight: bold;} -.rendered_html u {text-decoration: underline;} -.rendered_html :link { text-decoration: underline } -.rendered_html :visited { text-decoration: underline } -.rendered_html h1 {font-size: 197%; margin: .65em 0; font-weight: bold;} -.rendered_html h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} -.rendered_html h3 {font-size: 123.1%; margin: .85em 0; font-weight: bold;} -.rendered_html h4 {font-size: 100% margin: 0.95em 0; font-weight: bold;} -.rendered_html h5 {font-size: 85%; margin: 1.5em 0; font-weight: bold;} -.rendered_html h6 {font-size: 77%; margin: 1.65em 0; font-weight: bold;} -.rendered_html ul {list-style:disc; margin: 1em 2em;} -.rendered_html ul ul {list-style:square; margin: 0em 2em;} -.rendered_html ul ul ul {list-style:circle; margin-left: 0em 2em;} -.rendered_html ol {list-style:decimal; margin: 1em 2em;} -.rendered_html ol ol {list-style:upper-alpha; margin: 0em 2em;} -.rendered_html ol ol ol {list-style:lower-alpha; margin: 0em 2em;} -.rendered_html ol ol ol ol {list-style:lower-roman; margin: 0em 2em;} -/* any extras will just be numbers: */ -.rendered_html ol ol ol ol ol {list-style:decimal; margin: 0em 2em;} - -.rendered_html hr { +.rendered_html{ color: black; - background-color: black; -} + em {font-style: italic;} + strong {font-weight: bold;} + u {text-decoration: underline;} + :link { text-decoration: underline } + :visited { text-decoration: underline } + h1 {font-size: 197%; margin: .65em 0; font-weight: bold;} + h2 {font-size: 153.9%; margin: .75em 0; font-weight: bold;} + h3 {font-size: 123.1%; margin: .85em 0; font-weight: bold;} + h4 {font-size: 100% margin: 0.95em 0; font-weight: bold;} + h5 {font-size: 85%; margin: 1.5em 0; font-weight: bold;} + h6 {font-size: 77%; margin: 1.65em 0; font-weight: bold;} + ul {list-style:disc; margin: 1em 2em;} + ul ul {list-style:square; margin: 0em 2em;} + ul ul ul {list-style:circle; margin-left: 0em 2em;} + ol {list-style:decimal; margin: 1em 2em;} + ol ol {list-style:upper-alpha; margin: 0em 2em;} + ol ol ol {list-style:lower-alpha; margin: 0em 2em;} + ol ol ol ol {list-style:lower-roman; margin: 0em 2em;} + /* any extras will just be numbers: */ + ol ol ol ol ol {list-style:decimal; margin: 0em 2em;} -.rendered_html pre { - margin: 1em 2em; -} + hr { + color: black; + background-color: black; + } -.rendered_html blockquote { - margin: 1em 2em; -} + pre { + margin: 1em 2em; + } -.rendered_html table { - border: 1px solid black; - border-collapse: collapse; - margin: 1em 2em; -} + blockquote { + margin: 1em 2em; + } -.rendered_html td { - border: 1px solid black; - text-align: left; - vertical-align: middle; - padding: 4px; -} + table { + border: 1px solid black; + border-collapse: collapse; + margin: 1em 2em; + } -.rendered_html th { - border: 1px solid black; - text-align: left; - vertical-align: middle; - padding: 4px; - font-weight: bold; -} + td { + border: 1px solid black; + text-align: left; + vertical-align: middle; + padding: 4px; + } -.rendered_html tr { - border: 1px solid black; -} + th { + border: 1px solid black; + text-align: left; + vertical-align: middle; + padding: 4px; + font-weight: bold; + } -.rendered_html p { - text-align: justify; -} + tr { + border: 1px solid black; + } -.rendered_html p + p { - margin-top: 1em; -} + p { + text-align: justify; + } + p + p { + margin-top: 1em; + } +}