/* 代码块公共壳：圆角、折行；配色由 css/hl/{theme}.css 提供 */
.single .content pre,
.single .content pre[class*="language-"],
.single .content .wp-block-code,
.editor-styles-wrapper pre,
.editor-styles-wrapper pre[class*="language-"],
.editor-styles-wrapper .wp-block-code,
.single .content .syntaxhighlighter,
.editor-styles-wrapper .syntaxhighlighter {
  position: relative;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 1.15em 1.35em !important;
  margin: 1em 0 !important;
  box-sizing: border-box;
  overflow-x: hidden !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.single .content pre code,
.single .content .wp-block-code code,
.editor-styles-wrapper pre code,
.editor-styles-wrapper .wp-block-code code {
  display: block !important;
  background: none !important;
  color: inherit !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: pre-wrap !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  font-family: inherit !important;
  text-shadow: none !important;
}

.single .content .syntaxhighlighter .toolbar,
.single .content .syntaxhighlighter .gutter,
.single .content .syntaxhighlighter .line.number {
  display: none !important;
}

/* 行内代码：去掉主题/Bootstrap 默认底色，样式只认文章 HTML */
.single .content :not(pre) > code,
.editor-styles-wrapper :not(pre) > code {
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: inherit;
  font-size: inherit;
}

