textcell.less
67 lines
| 1.2 KiB
| text/x-less
|
LessCssLexer
|
r10730 | div.text_cell { | ||
|
r13776 | .hbox(); | ||
|
r10730 | } | ||
|
r19953 | @media (max-width: @screen-xs-min) { | ||
|
r15966 | // remove prompt indentation on small screens | ||
div.text_cell > div.prompt { | ||||
display: none; | ||||
} | ||||
} | ||||
|
r10730 | |||
div.text_cell_render { | ||||
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/ | ||||
outline: none; | ||||
resize: none; | ||||
width: inherit; | ||||
border-style: none; | ||||
|
r14875 | padding: 0.5em 0.5em 0.5em @code_padding; | ||
|
r16912 | color: @text-color; | ||
|
r17426 | .border-box-sizing(); | ||
|
r10730 | } | ||
|
r10751 | a.anchor-link:link { | ||
text-decoration: none; | ||||
padding: 0px 20px; | ||||
|
r10819 | visibility: hidden; | ||
|
r10751 | } | ||
|
r10819 | |||
|
r10845 | h1,h2,h3,h4,h5,h6 { | ||
&:hover .anchor-link { | ||||
visibility: visible; | ||||
} | ||||
} | ||||
|
r13776 | |||
|
r17783 | .text_cell.rendered .input_area { | ||
display: none; | ||||
} | ||||
|
r21017 | .text_cell.rendered .rendered_html { | ||
overflow-x: auto; | ||||
} | ||||
|
r17783 | .text_cell.unrendered .text_cell_render { | ||
display:none; | ||||
} | ||||
|
r18595 | .cm-header-1, | ||
.cm-header-2, | ||||
.cm-header-3, | ||||
.cm-header-4, | ||||
.cm-header-5, | ||||
.cm-header-6 { | ||||
|
r17476 | font-weight: bold; | ||
font-family: @font-family-sans-serif; | ||||
} | ||||
|
r17467 | |||
|
r18595 | .cm-header-1 { font-size: 185.7%; } | ||
.cm-header-2 { font-size: 157.1%; } | ||||
.cm-header-3 { font-size: 128.6%; } | ||||
.cm-header-4 { font-size: 110%; } | ||||
.cm-header-5 { | ||||
font-size: 100%; | ||||
|
r17477 | font-style: italic; | ||
} | ||||
|
r18595 | .cm-header-6 { | ||
font-size: 100%; | ||||
|
r17477 | font-style: italic; | ||
} | ||||