/*

  Vim default-dark style for highlight.js
  Filename kept as mono.css so head.html does not need to change.
  Mimics vim's default colorscheme on a dark background:
    Comment   = light blue
    Statement = yellow (if, for, return, struct, class, ...)
    Type      = light green (int, void, bool, size_t, ...)
    String    = light red / salmon
    Constant  = salmon / magenta (numbers, true/false/nullptr)
    PreProc   = light magenta (#include, #define)
    Identifier= cyan

*/

/* Code block container — dark, override Minima's purple <pre> background */
pre,
pre.highlight {
  background: #1e1e1e !important;
  border: 1px solid #000 !important;
  border-radius: 3px;
  padding: 0.8em 1em;
  overflow-x: auto;
  color: #e6e6e6;
}

.hljs {
  display: block;
  overflow-x: auto;
  color: #e6e6e6;
  background: #1e1e1e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Inline code on the (light) page: keep a light grey chip */
code {
  background: #f0f0f0;
  color: #1a1a1a;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.9em;
}
pre code,
pre code.hljs {
  background: transparent;
  color: #e6e6e6;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: inherit;
}

/* Comments — light blue, italic */
.hljs-comment,
.hljs-quote {
  color: #80a0ff;
  font-style: italic;
}

/* Keywords / control flow — yellow (vim "Statement") */
.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-doctag {
  color: #ffff60;
  font-weight: bold;
}

/* Types / built-ins — light green bold (vim "Type") */
.hljs-type,
.hljs-class .hljs-title,
.hljs-built_in,
.hljs-builtin-name {
  color: #60ff60;
  font-weight: bold;
}

/* Strings — salmon (vim "String") */
.hljs-string,
.hljs-regexp,
.hljs-symbol,
.hljs-bullet {
  color: #ffa0a0;
}

/* Numbers / literals — light red (vim "Constant") */
.hljs-number,
.hljs-literal {
  color: #ff8080;
}

/* Preprocessor / pragmas — light magenta (vim "PreProc") */
.hljs-meta,
.hljs-meta-keyword,
.hljs-meta-string {
  color: #ff80ff;
}

/* Identifiers / variables / attributes — cyan (vim "Identifier") */
.hljs-variable,
.hljs-template-variable,
.hljs-attribute,
.hljs-attr,
.hljs-name,
.hljs-tag {
  color: #40ffff;
}

/* Function names / titles — white bold */
.hljs-title,
.hljs-function .hljs-title,
.hljs-selector-id,
.hljs-selector-class {
  color: #ffffff;
  font-weight: bold;
}

.hljs-params,
.hljs-subst {
  color: #e6e6e6;
  font-weight: normal;
}

/* Links — underlined cyan */
.hljs-link {
  color: #40ffff;
  text-decoration: underline;
}

/* Diff */
.hljs-deletion {
  background: #5a1a1a;
  color: #ffb0b0;
}
.hljs-addition {
  background: #1a4a1a;
  color: #b0ffb0;
}

.hljs-emphasis { font-style: italic; }
.hljs-strong   { font-weight: bold; }
