/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 *
 * modified by epsilorne
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #f8f8f2;
	background: none;
	font-family: monospace;
	font-size: 16px;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
  padding: 4%;
	overflow: auto;
  border: solid 2px var(--primary-fg);
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: var(--primary-fg);
}

/* Inline code */
:not(pre) > code {
	padding: 0.15% 1.5%;
	white-space: normal;
  color: var(--primary-fg);
	background: var(--secondary-bg);
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #a89984;
}

.token.punctuation {
	color: #a89984;
}

.token.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
	color: #f92672;
}

.token.boolean,
.token.number {
	color: #de935f;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #b5bd68;
}

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

.token.atrule,
.token.attr-value,
.token.class-name {
	color: #f0c674;
}

.token.function {
	color: #81a2be;
}

.token.keyword {
	color: #b294bb;
}

.token.regex,
.token.important {
	color: #b5bd68;
}

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

.token.entity {
	cursor: help;
}
