/*
 * RISE syntax highlighting palette.
 *
 * Mirrors the Sublime Text colour scheme at
 *   ~/Dropbox/NEW THINGS/RISE Syntax/rise-syntax/sublime/RISE.sublime-color-scheme
 *
 * Scope is restricted to .highlight-rise containers (emitted by Sphinx for
 * code-block:: rise and literalinclude :language: rise). Other languages'
 * code blocks keep their default Pygments styling.
 *
 * Token-class crib (Pygments short forms):
 *   c1  Comment.Single
 *   cm  Comment.Multiline
 *   cp  Comment.Preproc        (# and $ markers)
 *   kd  Keyword.Declaration    (@-keywords + plain keywords)
 *   kp  Keyword.Pseudo         (@-flow keywords)
 *   nb  Name.Builtin           (distributions)
 *   fm  Name.Function.Magic    (moving operators)
 *   nf  Name.Function          (math functions)
 *   vm  Name.Variable.Magic    (time-reference braces and contents)
 *   ow  Operator.Word          (ellipsis)
 *   s1, s2  String
 */

/* Comments -- green bold */
.highlight-rise .c1,
.highlight-rise .cm {
  color: #008000;
  font-weight: bold;
  font-style: normal;
}

/* Strings -- red bold */
.highlight-rise .s1,
.highlight-rise .s2,
.highlight-rise .s {
  color: #FF0000;
  font-weight: bold;
}

/* @-keywords (declaration blocks) and plain keywords -- blue bold */
.highlight-rise .kd,
.highlight-rise .k {
  color: #0000FF;
  font-weight: bold;
}

/* @-flow keywords (@for, @if, @end, ...) -- orange bold on light-grey */
.highlight-rise .kp {
  color: #FF8000;
  background-color: #EBEBEB;
  font-weight: bold;
}

/* Distribution names -- blue bold */
.highlight-rise .nb {
  color: #0000FF;
  font-weight: bold;
}

/* Moving / aggregation operators -- pink bold */
.highlight-rise .fm {
  color: #FF0080;
  font-weight: bold;
}

/* Math functions -- black plain (explicit, overrides theme default) */
.highlight-rise .nf {
  color: #000000;
  font-weight: normal;
}

/* Preprocessor markers # $ -- blue bold */
.highlight-rise .cp {
  color: #0000FF;
  font-weight: bold;
}

/* Time-reference braces {t-1}, {stst}, ... -- turquoise bold */
.highlight-rise .vm {
  color: #00A896;
  font-weight: bold;
}

/* Ellipsis ... -- blue bold */
.highlight-rise .ow {
  color: #0000FF;
  font-weight: bold;
}
