1
0

niflheim.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .cm-s-niflheim.CodeMirror {
  2. background-color: #444;
  3. color:#b8c4cf;
  4. padding-left: 8px;
  5. }
  6. .cm-s-niflheim .CodeMirror-sizer{
  7. padding-bottom: 0px;
  8. }
  9. .cm-s-niflheim .CodeMirror-scroll{
  10. margin-right: 0px;
  11. border-color: #202020;
  12. padding-bottom: 0px;
  13. }
  14. .cm-s-niflheim .CodeMirror-vscrollbar{
  15. overflow-y: hidden;
  16. }
  17. /*
  18. .cm-s-niflheim ::-webkit-scrollbar {
  19. width: 14px;
  20. height: 14px;
  21. }
  22. */
  23. /*
  24. .cm-s-niflheim ::-webkit-scrollbar-track {
  25. background: transparent;
  26. }
  27. .cm-s-niflheim ::-webkit-scrollbar-thumb {
  28. background: rgba(255,255,255,.2);
  29. border-radius: 5px;
  30. }
  31. .cm-s-niflheim ::-webkit-scrollbar-thumb:hover{
  32. background: rgba(255,255,255,.3);
  33. }
  34. .cm-s-niflheim ::-webkit-scrollbar-thumb:active{
  35. background: rgba(255,255,255,.4);
  36. }
  37. */
  38. .cm-s-niflheim.CodeMirror .inline-widget{
  39. background: #272727;
  40. color: #ccc;
  41. }
  42. .cm-s-niflheim.CodeMirror .inline-widget h1,
  43. .cm-s-niflheim.CodeMirror .inline-widget h2,
  44. .cm-s-niflheim.CodeMirror .inline-widget h3{
  45. color: #ccc;
  46. }
  47. .cm-s-niflheim.CodeMirror .inline-widget p,
  48. .cm-s-niflheim.CodeMirror .inline-widget dt,
  49. .cm-s-niflheim.CodeMirror .inline-widget li,
  50. .cm-s-niflheim.CodeMirror .inline-widget code{
  51. color: #fff;
  52. }
  53. .cm-s-niflheim.CodeMirror .CodeMirror-gutters {
  54. border-style: none;
  55. background: #202020;
  56. }
  57. .cm-s-niflheim.CodeMirror .CodeMirror-linenumbers {
  58. background-color: #393939;
  59. background-image: linear-gradient(to bottom, #393939 33%, #686868 67%);
  60. background-position: right;
  61. background-size: 1px 3px;
  62. background-repeat: repeat-y;
  63. }
  64. .cm-s-niflheim.CodeMirror .CodeMirror-linenumber {
  65. color: #80939b;
  66. padding-left: 5px;
  67. }
  68. .cm-s-niflheim.CodeMirror .CodeMirror-activeline,
  69. .cm-s-niflheim.CodeMirror.CodeMirror-focused .CodeMirror-activeline .CodeMirror-gutter-elt{
  70. background-color: #666;
  71. }
  72. .cm-s-niflheim.CodeMirror pre{
  73. /*padding between line number & content*/
  74. padding: 0 8px;
  75. }
  76. .cm-s-niflheim.CodeMirror .CodeMirror-cursor {
  77. border-left: 2px solid #c7c7c7;
  78. }
  79. .cm-s-niflheim.CodeMirror .CodeMirror-selected {
  80. background: rgba(255,255,255,.2);
  81. }
  82. .cm-s-niflheim.CodeMirror .CodeMirror-matchingbracket {
  83. border-bottom: 1px solid #33ffff;
  84. color: #ccc19b;
  85. }
  86. .cm-s-niflheim.CodeMirror .CodeMirror-unmatchingbracket {
  87. border-bottom: 1px solid #cb3233;
  88. color: #cb3233;
  89. }
  90. .cm-s-niflheim.CodeMirror .cm-comment {
  91. color: #929283;
  92. }
  93. .cm-s-niflheim.CodeMirror .cm-property {
  94. color: #cbaaf5;
  95. }
  96. .cm-s-niflheim.CodeMirror .cm-qualifier {
  97. color: #aaeeab;
  98. }
  99. .cm-s-niflheim.CodeMirror .cm-tag {
  100. color: #7ac1ff;
  101. }
  102. .cm-s-niflheim.CodeMirror .cm-def {
  103. color: #b8c4cf;
  104. }
  105. .cm-s-niflheim.CodeMirror .cm-number {
  106. color: #ccccab;
  107. }
  108. .cm-s-niflheim.CodeMirror .cm-atom {
  109. color: #cc9dc7;
  110. }
  111. .cm-s-niflheim.CodeMirror .cm-keyword{
  112. color: #ff6c6b;
  113. }
  114. .cm-s-niflheim.CodeMirror .cm-string{
  115. color: #789771;
  116. }
  117. .cm-s-niflheim.CodeMirror .cm-string-2{
  118. color: #7ad1dd;
  119. }
  120. .cm-s-niflheim.CodeMirror .cm-variable {
  121. color: #ffcd8e;
  122. }
  123. .cm-s-niflheim.CodeMirror .cm-variable-2 {
  124. color: #aaccff;
  125. }
  126. .cm-s-niflheim.CodeMirror .cm-attribute {
  127. color: #83e1b2;
  128. }