##// END OF EJS Templates
Merge pull request #6045 from minrk/nbformat4...
Merge pull request #6045 from minrk/nbformat4 nbformat v4

File last commit:

r17292:71d7642b
r18617:482c7bd6 merge
Show More
renderedhtml.less
86 lines | 2.7 KiB | text/x-less | LessCssLexer
Brian E. Granger
Refactoring the center/left justify.
r12793 .rendered_html {
Matthias BUSSONNIER
condense rendered_html css
r9293
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 color: @text-color;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 em {font-style: italic;}
strong {font-weight: bold;}
u {text-decoration: underline;}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 :link {text-decoration: underline;}
:visited {text-decoration: underline;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
// For a 14px base font size this goes as:
// font-size = 26, 22, 18, 14, 12, 12
// margin-top = 14, 14, 14, 14, 8, 8
h1 {font-size: 185.7%; margin: 1.08em 0 0 0; font-weight: bold; line-height: 1.0;}
h2 {font-size: 157.1%; margin: 1.27em 0 0 0; font-weight: bold; line-height: 1.0;}
h3 {font-size: 128.6%; margin: 1.55em 0 0 0; font-weight: bold; line-height: 1.0;}
h4 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0;}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 h5 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
h6 {font-size: 100%; margin: 2em 0 0 0; font-weight: bold; line-height: 1.0; font-style: italic;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
// Reduce the top margins by 14px compared to above
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 h1:first-child {margin-top: 0.538em;}
h2:first-child {margin-top: 0.636em;}
h3:first-child {margin-top: 0.777em;}
h4:first-child {margin-top: 1em;}
h5:first-child {margin-top: 1em;}
h6:first-child {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
Jonathan Frederic
Review comments
r16957 ul {list-style:disc; margin: 0em 2em; padding-left: 0px;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 ul ul {list-style:square; margin: 0em 2em;}
Matthias BUSSONNIER
minor css fixes
r9423 ul ul ul {list-style:circle; margin: 0em 2em;}
Jonathan Frederic
Review comments
r16957 ol {list-style:decimal; margin: 0em 2em; padding-left: 0px;}
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 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
Formatting cleanup of renderedhtml.less.
r14877 * + ul {margin-top: 1em;}
* + ol {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 hr {
Jason Grout
abstract hard-coded style values to be variables for different theming
r17292 color: @rendered_html_border_color;
background-color: @rendered_html_border_color;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 }
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 pre {margin: 1em 2em;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874 pre, code {
border: 0;
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 background-color: @body-bg;
color: @text-color;
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874 font-size: 100%;
padding: 0px;
}
Brian E. Granger
Fixing code/pre styles in rendered HTML/
r10740
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 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 {
margin-left: auto;
margin-right: auto;
Jason Grout
abstract hard-coded style values to be variables for different theming
r17292 border: 1px solid @rendered_html_border_color;
Brian E. Granger
Centering for tables/images/math in Markdown.
r12644 border-collapse: collapse;
}
tr, th, td {
Jason Grout
abstract hard-coded style values to be variables for different theming
r17292 border: 1px solid @rendered_html_border_color;
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 border-collapse: collapse;
margin: 1em 2em;
}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 td, th {
Matthias BUSSONNIER
use nested rule in rendered_html less file
r9292 text-align: left;
vertical-align: middle;
padding: 4px;
}
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 th {font-weight: bold;}
* + table {margin-top: 1em;}
Brian E. Granger
Updates to the css style of rendered html text cells.
r4514
Brian E. Granger
Formatting cleanup of renderedhtml.less.
r14877 p {text-align: justify;}
* + p {margin-top: 1em;}
Brian E. Granger
More changes to the heading spacing. Good first draft...
r14874
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
Formatting cleanup of renderedhtml.less.
r14877 * + 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 }