##// END OF EJS Templates
- Fixed CSS so it also applies to widgets within modals...
- Fixed CSS so it also applies to widgets within modals - Added docked modal style

File last commit:

r12793:0b7a1346
r14444:2cf5ad75
Show More
renderedhtml.less
92 lines | 2.0 KiB | text/x-less | LessCssLexer
Brian E. Granger
Refactoring the center/left justify.
r12793 .rendered_html {
Matthias BUSSONNIER
condense rendered_html css
r9293
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514 color: black;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 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;}
Matthias BUSSONNIER
minor css fixes
r9423 h4 {font-size: 100%; margin: 0.95em 0; font-weight: bold;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 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;}
Matthias BUSSONNIER
minor css fixes
r9423 ul ul ul {list-style:circle; margin: 0em 2em;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 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;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 hr {
color: black;
background-color: black;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 pre {
margin: 1em 2em;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Fixing code/pre styles in rendered HTML/
r10740 pre, code {
border: 0;
background-color: @bodyBackground;
color: @textColor;
font-size: 100%;
padding: 0px;
}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 blockquote {
margin: 1em 2em;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Centering for tables/images/math in Markdown.
r12644 table {
// Center tables horizontally
margin-left: auto;
margin-right: auto;
border: 1px solid black;
border-collapse: collapse;
}
tr, th, td {
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 border: 1px solid black;
border-collapse: collapse;
margin: 1em 2em;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Matthias BUSSONNIER
condense rendered_html css
r9293 td,th {
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 text-align: left;
vertical-align: middle;
padding: 4px;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 th {
font-weight: bold;
}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 p {
text-align: justify;
}
Brian Granger
Adding space between paragraphs in rendered html in the notebook.
r5199
Brian E. Granger
Refactoring the center/left justify.
r12793 img {
display: block;
margin-left: auto;
margin-right: auto;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 }
Brian E. Granger
Centering for tables/images/math in Markdown.
r12644
Brian E. Granger
Refactoring the center/left justify.
r12793 * + p {
Brian E. Granger
Adding 1em spacing above and below tables in rendered html.
r12645 margin-top: 1em;
}
Brian E. Granger
Refactoring the center/left justify.
r12793 * + table {
Brian E. Granger
Adding 1em spacing above and below tables in rendered html.
r12645 margin-top: 1em;
}
Brian E. Granger
Refactoring the center/left justify.
r12793
* + img {
margin-top: 1em;
Brian E. Granger
Indenting MathJax rendered equations in rendered_html divs....
r12642 }
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 }