BigW Consortium Gitlab

white.scss 3.28 KB
Newer Older
1 2
/* https://github.com/aahan/pygments-github-style */
.code.white {
3 4 5 6
  // Line numbers
  .line-numbers, .diff-line-num {
    background-color: $background-color;
  }
7

8
  .diff-line-num, .diff-line-num a {
Annabel Dunstone committed
9
    color: $black-transparent;
10 11
  }

12
  // Code itself
13
  pre.code, .diff-line-num {
Annabel Dunstone committed
14
    border-color: $table-border-gray;
15 16 17 18 19 20 21 22 23
  }

  &, pre.code, .line_holder .line_content {
    background-color: #fff;
    color: #333;
  }

  // Diff line
  .line_holder {
24 25 26 27 28 29
    td.diff-line-num.hll:not(.empty-cell),
    td.line_content.hll:not(.empty-cell) {
      background-color: #f8eec7;
      border-color: darken(#f8eec7, 15%);
    }

30 31
    .diff-line-num {
      &.old {
32
        background-color: $line-number-old;
33
        border-color: $line-removed-dark;
34 35 36
      }

      &.new {
37
        background-color: $line-number-new;
38
        border-color: $line-added-dark;
39 40 41 42 43
      }
    }

    .line_content {
      &.old {
44
        background: $line-removed;
45 46

        span.idiff {
47
          background-color: $line-removed-dark;
48 49 50 51
        }
      }

      &.new {
52
        background-color: $line-added;
53 54

        span.idiff {
55
          background-color: $line-added-dark;
56 57 58 59
        }
      }

      &.match {
60 61
        color: $black-transparent;
        background: $match-line;
62 63
      }
    }
64 65
  }

66
  // highlight line via anchor
67
  pre .hll {
68 69 70
    background-color: #f8eec7 !important;
  }

71 72
  // Search result highlight
  span.highlight_word {
73
    background-color: #fafe3d !important;
74 75
  }

76
  .hll { background-color: #f8f8f8 }
77
  .c { color: #998; font-style: italic; }
78 79 80
  .err { color: #a61717; background-color: #e3d2d2; }
  .k { font-weight: bold; }
  .o { font-weight: bold; }
81 82 83 84 85 86
  .cm { color: #998; font-style: italic; }
  .cp { color: #999; font-weight: bold; }
  .c1 { color: #998; font-style: italic; }
  .cs { color: #999; font-weight: bold; font-style: italic; }
  .gd { color: #000; background-color: #fdd; }
  .gd .x { color: #000; background-color: #faa; }
87
  .ge { font-style: italic; }
88 89 90 91 92 93
  .gr { color: #a00; }
  .gh { color: #999; }
  .gi { color: #000; background-color: #dfd; }
  .gi .x { color: #000; background-color: #afa; }
  .go { color: #888; }
  .gp { color: #555; }
94 95
  .gs { font-weight: bold; }
  .gu { color: #800080; font-weight: bold; }
96
  .gt { color: #a00; }
97 98 99 100 101
  .kc { font-weight: bold; }
  .kd { font-weight: bold; }
  .kn { font-weight: bold; }
  .kp { font-weight: bold; }
  .kr { font-weight: bold; }
102 103 104 105
  .kt { color: #458; font-weight: bold; }
  .m { color: #099; }
  .s { color: #d14; }
  .n { color: #333; }
106 107
  .na { color: teal; }
  .nb { color: #0086b3; }
108
  .nc { color: #458; font-weight: bold; }
109 110
  .no { color: teal; }
  .ni { color: purple; }
111 112 113
  .ne { color: #900; font-weight: bold; }
  .nf { color: #900; font-weight: bold; }
  .nn { color: #555; }
114 115 116
  .nt { color: navy; }
  .nv { color: teal; }
  .ow { font-weight: bold; }
117 118 119 120 121 122 123 124 125 126 127 128 129
  .w { color: #bbb; }
  .mf { color: #099; }
  .mh { color: #099; }
  .mi { color: #099; }
  .mo { color: #099; }
  .sb { color: #d14; }
  .sc { color: #d14; }
  .sd { color: #d14; }
  .s2 { color: #d14; }
  .se { color: #d14; }
  .sh { color: #d14; }
  .si { color: #d14; }
  .sx { color: #d14; }
130
  .sr { color: #009926; }
131
  .s1 { color: #d14; }
132
  .ss { color: #990073; }
133
  .bp { color: #999; }
134 135 136
  .vc { color: teal; }
  .vg { color: teal; }
  .vi { color: teal; }
137 138
  .il { color: #099; }
  .gc { color: #999; background-color: #eaf2f5; }
139
}