##// END OF EJS Templates
More work on the styling of headings.
More work on the styling of headings.

File last commit:

r14873:56c36db8
r14873:56c36db8
Show More
textcell.less
45 lines | 1.2 KiB | text/x-less | LessCssLexer
div.text_cell {
padding: 5px 5px 5px 0px;
.hbox();
}
div.text_cell_input {
color: @textColor;
border: 1px solid @light_border_color;
.corner-all;
background: @cell_background;
}
div.text_cell_render {
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 0.5em 0.5em 0.5em 0.4em;
color: @textColor;
}
a.anchor-link:link {
text-decoration: none;
padding: 0px 20px;
visibility: hidden;
}
h1,h2,h3,h4,h5,h6 {
&:hover .anchor-link {
visibility: visible;
}
}
div.cell.text_cell.rendered {
padding: 0px;
}
div.text_cell_render.rendered_html {
h1 {font-size: 26px; margin: 14px 0 0 0; font-weight: bold; line-height: 1.0;}
h2 {font-size: 22px; margin: 14px 0 0 0; font-weight: bold; line-height: 1.0;}
h3 {font-size: 18px; margin: 14px 0 0 0; font-weight: bold; line-height: 1.0;}
h4 {font-size: 14px; margin: 14px 0 0 0; font-weight: bold; line-height: 1.0;}
h5 {font-size: 14px; margin: 6px 0 0 0; font-weight: bold; line-height: 1.0;}
h6 {font-size: 14px; margin: 6px 0 0 0; font-weight: bold; line-height: 1.0;}
}