/**
 * From: https://github.com/AGMStudio/prism-theme-one-dark/blob/master/prism-onedark.css
 *
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 *
 */

pre.wp-block-code code {
	color: #abb2bf;
	padding-left: 0;
	border: none;
	overflow-x: initial;
}

code[class*='language-'],
pre[class*='language-'] {
	color: #abb2bf;
	background: none;
	font-family: Hack, 'Fira Code', Consolas, Menlo, Monaco, 'Andale Mono',
		'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono',
		'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L',
		'Courier New', Courier, monospace;
	line-height: 1.5;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre[class*='language-']::selection,
pre[class*='language-'] ::selection,
code[class*='language-']::selection,
code[class*='language-'] ::selection {
	text-shadow: none;
	background: #d84315;
	color: #fff;
}

@media print {
	code[class*='language-'],
	pre[class*='language-'] {
		text-shadow: none;
	}
}
/* Code blocks */
pre.wp-block-code {
	background: #282c34;
	padding: 1rem;
	margin: 0.5em auto;
	overflow: auto;
	border-radius: 8px;
	border: none;
}

/* mkaz: require to override twentynineteen */
.entry .entry-content .wp-block-code {
	border-radius: 8px !important;
	border: none;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #5c6370;
	/* mkaz: fix for unknown theme (Issue: #46) */
	border: none;
	/* mkaz: fix for Twenty Nineteen */
	padding-left: 0;
}

.token.punctuation {
	color: #abb2bf;
}

.token.selector,
.token.tag {
	color: #e06c75;
}

.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.attr-name,
.token.deleted {
	color: #d19a66;
}

.token.string,
.token.char,
.token.attr-value,
.token.builtin,
.token.inserted {
	color: #98c379;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #56b6c2;
}

.token.atrule,
.token.keyword {
	color: #c678dd;
}

.token.function {
	color: #61afef;
}

.token.regex,
.token.important,
.token.variable {
	color: #c678dd;
}

.token.important,
.token.bold {
	font-weight: bold;
}

.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

pre.line-numbers {
	position: relative;
	padding-left: 3.8em;
	counter-reset: linenumber;
}

pre.line-numbers > code {
	position: relative;
	/* Padding can be tweaked by themes, but if top padding is off
	/* the line numbers don't align with the row. */
	padding-top: 0 !important;
}

.line-numbers .line-numbers-rows {
	position: absolute;
	pointer-events: none;
	top: 0;
	font-size: 100%;
	left: -3.8em;
	width: 3em; /* works for line-numbers below 1000 lines */
	letter-spacing: -1px;
	border-right: 0;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.line-numbers-rows > span {
	pointer-events: none;
	display: block;
	counter-increment: linenumber;
}

.line-numbers-rows > span:before {
	content: counter( linenumber );
	color: #5c6370;
	display: block;
	padding-right: 0.8em;
	text-align: right;
}

.prism-titlename {
	margin: -16px -16px 24px -16px;
	padding: 4px 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	font-weight: bold;
	color: orange;
	background-color: #383c44;
}
