/* ========================
//#google-prettify-monokai-theme
//#Version: 0.3
//#Author: RaphaelDDL
//#Github: https://github.com/RaphaelDDL/google-prettify-monokai-theme/
//For use with Google Code Prettify, HTML Syntax only
//======================== */

pre .str, code .str { color: #e6db5a; } /* string */
pre .kwd, code .kwd { color: #66d9ef; } /* keyword */
pre .com, code .com { color: #75715e; font-style: italic; } /* comment */
pre .typ, code .typ { color: #66d9ef; } /* type */
pre .lit, code .lit { color: #ae81ff; } /* literal */
pre .pun, code .pun { color: #fff; } /* punctuation */
pre .pln, code .pln { color: #fff; } /* plaintext */
pre .tag, code .tag { color: #f92672; } /* html/xml tag */
pre .atn, code .atn { color: #a6e22a; } /* html/xml attribute name */
pre .atv, code .atv { color: #e6db74; } /* html/xml attribute value */
pre .dec, code .dec { color: #ae81ff; } /* decimal */

pre.prettyprint, code.prettyprint {
	background-color: #272822;
	font-family: "YaHei Consolas Hybrid", Consolas, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
	border-radius: 5px;
}

pre.prettyprint {
	margin: 1em auto;
	padding: 0.6em 1em;
	white-space: pre-wrap;
    font-size: 16px;
}

pre.prettyprinted {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border:1px solid #0b0c0a;
}


/* ------------------------
//Section: class 'linenums' for line numbering
//------------------------ */
ol.linenums {
	margin-top: 0;
	margin-bottom: 0;
    margin-left: 2.2rem !important;
	color: #75715e;
	list-style: decimal !important;
} /* IE indents via margin-left */


/* =============================================
//Section: Print Styles (partially from Sunburn Theme)
//================================================ */
@media print {
	pre.prettyprinted, pre.prettyprint, code.prettyprint {
		background-color:#fff;
		color:#000;
	}

	pre .str, code .str { color: #060; }
	pre .kwd, code .kwd { color: #006; font-weight: bold; }
	pre .com, code .com { color: #600; font-style: italic; }
	pre .typ, code .typ { color: #404; font-weight: bold; }
	pre .lit, code .lit { color: #044; }
	pre .pun, code .pun { color: #440; }
	pre .pln, code .pln { color: #000; }
	pre .tag, code .tag { color: #006; font-weight: bold; }
	pre .atn, code .atn { color: #404; }
	pre .atv, code .atv { color: #060; }
}

ol.linenums li code {
    border: none;
    background: none;
    padding: 0;
}

/* HHai dark theme code block override: keep code quiet and consistent with article pages. */
.single pre.prettyprint,
.single code.prettyprint,
.single pre.prettyprinted {
  background: #202020 !important;
  border: 1px solid #343434 !important;
  box-shadow: none !important;
  border-radius: 3px !important;
}
.single pre.prettyprint,
.single pre.prettyprinted {
  margin: 14px 0 18px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}
.single pre,
.single pre code,
.single pre .pln,
.single code .pln {
  color: #c8c8c8 !important;
}
.single pre .str,
.single code .str,
.single pre .kwd,
.single code .kwd,
.single pre .typ,
.single code .typ,
.single pre .lit,
.single code .lit,
.single pre .tag,
.single code .tag,
.single pre .atn,
.single code .atn,
.single pre .atv,
.single code .atv,
.single pre .dec,
.single code .dec,
.single pre .fun,
.single code .fun,
.single pre .pun,
.single code .pun,
.single pre .opn,
.single code .opn,
.single pre .clo,
.single code .clo {
  color: #c8c8c8 !important;
}
.single ol.linenums {
  color: #777 !important;
}

/* HHai article code blocks: align with the flat quote boxes used by the dark theme. */
body.article .single pre,
body.article .single pre.prettyprint,
body.article .single pre.prettyprinted,
body.article .single code.prettyprint {
  background: transparent !important;
  border: 1px dotted #444 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.article .single pre,
body.article .single pre.prettyprint,
body.article .single pre.prettyprinted {
  margin: 14px 0 18px !important;
  padding: 13px 16px !important;
  color: #d0d0d0 !important;
  line-height: 1.8 !important;
}
body.article .single pre code,
body.article .single pre.prettyprint code,
body.article .single pre.prettyprinted code,
body.article .single pre.prettyprint ol,
body.article .single pre.prettyprinted ol,
body.article .single pre.prettyprint li,
body.article .single pre.prettyprinted li {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.article .single pre *,
body.article .single code.prettyprint * {
  color: #d0d0d0 !important;
}
