pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*
Description: Foundation 4 docs style for highlight.js
Author: Dan Allen <dan.j.allen@gmail.com>
Website: http://foundation.zurb.com/docs/
Version: 1.0
Date: 2013-04-02

本地改动：原主题有四个色号在 #eee 底上过不了 4.5:1（代码块是 14px 小字），
按原色相压暗到刚好达标，其余色号未动：
  #d14    → #c01133  (4.28 → 5.38)  字符串
  #998    → #666655  (2.49 → 5.03)  注释
  #997700 → #6b5300  (3.62 → 6.32)
  #099    → #006666  (3.01 → 5.85)  关键字/数字/字面量
*/
.hljs {
  background: #eee;
  color: black
}
.hljs-link,
.hljs-emphasis,
.hljs-attribute,
.hljs-addition {
  color: #070
}
.hljs-emphasis {
  font-style: italic
}
.hljs-strong,
.hljs-string,
.hljs-deletion {
  color: #c01133
}
.hljs-strong {
  font-weight: bold
}
.hljs-quote,
.hljs-comment {
  color: #666655;
  font-style: italic
}
.hljs-section,
.hljs-title {
  color: #900
}
.hljs-class .hljs-title,
.hljs-title.class_,
.hljs-type {
  color: #458
}
.hljs-variable,
.hljs-template-variable {
  color: #336699
}
.hljs-bullet {
  color: #6b5300
}
.hljs-meta {
  color: #3344bb
}
.hljs-code,
.hljs-number,
.hljs-literal,
.hljs-keyword,
.hljs-selector-tag {
  color: #006666
}
.hljs-regexp {
  background-color: #fff0ff;
  color: #880088
}
.hljs-symbol {
  color: #990073
}
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
  color: #007700
}