textcell.less
69 lines
| 1.3 KiB
| text/x-less
|
LessCssLexer
Brian E. Granger
|
r10730 | div.text_cell { | ||
Brian E. Granger
|
r13791 | padding: 5px 5px 5px 0px; | ||
Brian E. Granger
|
r13776 | .hbox(); | ||
Brian E. Granger
|
r10730 | } | ||
MinRK
|
r15966 | @media (max-width: 480px) { | ||
// remove prompt indentation on small screens | ||||
div.text_cell > div.prompt { | ||||
display: none; | ||||
} | ||||
} | ||||
Brian E. Granger
|
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
|
r14875 | padding: 0.5em 0.5em 0.5em @code_padding; | ||
Jonathan Frederic
|
r16912 | color: @text-color; | ||
Matthias BUSSONNIER
|
r17426 | .border-box-sizing(); | ||
Brian E. Granger
|
r10730 | } | ||
MinRK
|
r10751 | a.anchor-link:link { | ||
text-decoration: none; | ||||
padding: 0px 20px; | ||||
MinRK
|
r10819 | visibility: hidden; | ||
MinRK
|
r10751 | } | ||
MinRK
|
r10819 | |||
Matthias BUSSONNIER
|
r10845 | h1,h2,h3,h4,h5,h6 { | ||
&:hover .anchor-link { | ||||
visibility: visible; | ||||
} | ||||
} | ||||
Brian E. Granger
|
r13776 | |||
Brian E. Granger
|
r14872 | div.cell.text_cell.rendered { | ||
padding: 0px; | ||||
} | ||||
Paul Ivanov
|
r17467 | |||
Matthias BUSSONNIER
|
r17783 | |||
.text_cell.rendered .input_area { | ||||
display: none; | ||||
} | ||||
.text_cell.unrendered .text_cell_render { | ||||
display:none; | ||||
} | ||||
Paul Ivanov
|
r17467 | .cm-s-heading-1, | ||
.cm-s-heading-2, | ||||
.cm-s-heading-3, | ||||
.cm-s-heading-4, | ||||
.cm-s-heading-5, | ||||
Paul Ivanov
|
r17476 | .cm-s-heading-6 { | ||
font-weight: bold; | ||||
font-family: @font-family-sans-serif; | ||||
} | ||||
Paul Ivanov
|
r17467 | |||
.cm-s-heading-1 { font-size:150%; } | ||||
.cm-s-heading-2 { font-size: 130%; } | ||||
.cm-s-heading-3 { font-size: 120%; } | ||||
.cm-s-heading-4 { font-size: 110%; } | ||||
Paul Ivanov
|
r17477 | .cm-s-heading-5 { | ||
font-size: 100%; | ||||
font-style: italic; | ||||
} | ||||
.cm-s-heading-6 { | ||||
font-size: 90%; | ||||
font-style: italic; | ||||
} | ||||