index.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. .p-Widget.jp-NotebookWidget {
  2. min-width: 50px;
  3. min-height: 50px;
  4. }
  5. .p-Widget.jp-NotebookContainer {
  6. overflow: auto;
  7. }
  8. .p-Widget.jp-NotebookWidget-body {
  9. padding: 0.5em;
  10. font-size: 11px;
  11. }
  12. .jp-InputAreaWidget > .jp-CodeMirrorWidget {
  13. border: 1px solid #cfcfcf;
  14. border-radius: 2px;
  15. background: #f7f7f7;
  16. line-height: 1.21429em;
  17. }
  18. .jp-MarkdownCell {
  19. outline: 0;
  20. }
  21. .jp-OutputArea pre {
  22. background: #ffffff;
  23. border: none;
  24. }
  25. .jp-Cell.jp-selected-cell {
  26. border-color: #66BB6A;
  27. border-left-width: 1px;
  28. padding-left: 10px;
  29. background: linear-gradient(to right, #66BB6A -40px, #66BB6A 5px, transparent 5px, transparent 100%);
  30. }
  31. .jp-Cell {
  32. padding-top: 10px;
  33. padding-bottom: 10px;
  34. padding-left: 10px;
  35. padding-right: 10px;
  36. border-width: 1px;
  37. border-style: solid;
  38. border-color: transparent;
  39. }
  40. .jp-MarkdownCell {
  41. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  42. }
  43. .CodeMirror.cm-s-default {
  44. line-height: 1.21429em;
  45. /* Changed from 1em to our global default */
  46. font-size: 14px;
  47. height: auto;
  48. /* Changed to auto to autogrow */
  49. background: none;
  50. /* Changed from white to allow our bg to show through */
  51. }
  52. .CodeMirror-scroll {
  53. /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/
  54. /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/
  55. overflow-y: hidden;
  56. overflow-x: auto;
  57. }
  58. .CodeMirror-lines {
  59. /* In CM2, this used to be 0.4em, but in CM3 it went to 4px. We need the em value because */
  60. /* we have set a different line-height and want this to scale with that. */
  61. padding: 0.4em;
  62. }
  63. .CodeMirror-linenumber {
  64. padding: 0 8px 0 4px;
  65. }
  66. .CodeMirror-gutters {
  67. border-bottom-left-radius: 2px;
  68. border-top-left-radius: 2px;
  69. }
  70. .CodeMirror pre {
  71. /* In CM3 this went to 4px from 0 in CM2. We need the 0 value because of how we size */
  72. /* .CodeMirror-lines */
  73. padding: 0;
  74. border: 0;
  75. border-radius: 0;
  76. }