Sha256: 32c5aeafb833ed451d099ba4ed665f29bd2196b937c1ba7ef84139f0291ffed8

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

/* cran Theme
 *
 * Based on https://cran.r-project.org/
 * Copyright 2020, All rights reserved
 *
 * Code licensed under the MIT license
 *
 * @author Diego H <https://github.com/dieghernan/>
 */

/*
 * Variables
 */

$bg: #F8F8F8;  // Background
$number: #099;
$literal: #990073;
$operator: #687687; // And parent
$comment: #998; //font-style: italic
$keyword: #900; //font-weight: bold
$identifier: #000000;
$string: #d14;


/*
 * Styles
 */

code {
  color:$string;
  font-weight: bold;
}

.highlight {
  pre {
    background: $bg;
    color: $identifier;
  }
  
  code {
    font-weight:normal;
  }
  .hll,
  .s,
  .sa,
  .sb,
  .sc,
  .dl,
  .sd,
  .s2,
  .se,
  .sh,
  .si,
  .sx,
  .sr,
  .s1,
  .ss {
    color: $string;
  }

  .go {
    color: $identifier;
    font-weight: bold;
  }

  .err,
  .g,
  .l,
  .n,
  .x,
  .ge,
  .gr,
  .gh,
  .gi,
  .gp,
  .gs,
  .gu,
  .gt,
  .ld,
  .no,
  .nd,
  .ni,
  .ne,
  .nn,
  .nx,
  .py,
  .w,
  .bp {
    color: $identifier;
  }

  .gh,
  .gi,
  .gu {
    font-weight: bold;
  }

  .bp {
    font-style: italic;
  }

  .c,
  .ch,
  .cm,
  .cpf,
  .c1,
  .cs {
    color: $comment;
    font-style: italic;
  }

  .kd,
  .kt,
  .nb,
  .nl,
  .nv,
  .vc,
  .vg,
  .vi,
  .vm {
    color: $keyword;
    font-style: bold;
  }

  .kd,
  .nb,
  .nl,
  .nv,
  .vc,
  .vg,
  .vi,
  .vm {
    font-style: italic;
  }

  .na,
  .nc,
  .nf,
  .fm {
    color: $literal;
  }

  .k,
  .p,
  .o,
  .cp,
  .kc,
  .kn,
  .kp,
  .kr,
  .nt,
  .ow {
    color: $operator;
  }

  .m,
  .mb,
  .mf,
  .mh,
  .mi,
  .mo,
  .il {
    color: $number;
  }

  .gd {
    color: $literal;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chulapa-jekyll-1.1.0 _sass/highlight/cran.scss
chulapa-jekyll-1.0.1 _sass/highlight/cran.scss
chulapa-jekyll-1.0.0 _sass/highlight/cran.scss