##// END OF EJS Templates
add comments for style blocks in less...
add comments for style blocks in less separates each component into individual line in compiled css, reducing some churn in minified css files.

File last commit:

r16912:30744239
r17291:d1162f79
Show More
textcell.less
36 lines | 686 B | text/x-less | LessCssLexer
Brian E. Granger
Splitting notebook.less into separate files.
r10730 div.text_cell {
Brian E. Granger
Fixing left padding of text cells to match that of code cells.
r13791 padding: 5px 5px 5px 0px;
Brian E. Granger
Adding prompt area to non-CodeCells to indent content....
r13776 .hbox();
Brian E. Granger
Splitting notebook.less into separate files.
r10730 }
MinRK
move prompts from margin to main column on small screens...
r15966 @media (max-width: 480px) {
// remove prompt indentation on small screens
div.text_cell > div.prompt {
display: none;
}
}
Brian E. Granger
Splitting notebook.less into separate files.
r10730
div.text_cell_render {
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
outline: none;
resize: none;
width: inherit;
border-style: none;
Brian E. Granger
Using @code_padding variable.
r14875 padding: 0.5em 0.5em 0.5em @code_padding;
Jonathan Frederic
Get notebook running with Bootstrap3
r16912 color: @text-color;
Brian E. Granger
Splitting notebook.less into separate files.
r10730 }
MinRK
move anchor-link off of heading text...
r10751 a.anchor-link:link {
text-decoration: none;
padding: 0px 20px;
MinRK
toggle heading-link visibility with CSS alone
r10819 visibility: hidden;
MinRK
move anchor-link off of heading text...
r10751 }
MinRK
toggle heading-link visibility with CSS alone
r10819
Matthias BUSSONNIER
restore anchore on h2-h6 links
r10845 h1,h2,h3,h4,h5,h6 {
&:hover .anchor-link {
visibility: visible;
}
}
Brian E. Granger
Adding prompt area to non-CodeCells to indent content....
r13776
Brian E. Granger
Initial spacing modifications.
r14872 div.cell.text_cell.rendered {
padding: 0px;
}