@tailwind base;
@tailwind components;
@tailwind utilities;

h1 {
	@apply text-4xl font-bold my-8;
}
h2 {
	@apply text-3xl font-bold my-8;
}
h3 {
	@apply text-2xl font-bold my-8;
}
p {
	@apply text-xl my-8 leading-10;
}
blockquote {
	@apply bg-base-300 rounded-md py-1 px-8 my-8;
}
pre {
	@apply bg-base-300 rounded-md p-12 my-8;
}
code {
	@apply bg-base-300 rounded-sm p-2 text-sm;
}
pre > code {
	@apply bg-transparent;
}

ul {
	@apply bg-base-300 rounded-md px-8 py-4;
}

a {
	@apply text-primary text-xl font-semibold hover:text-secondary-focus transition-all duration-300;
}

/**
* General
*/
pre[class*='language-'],
code[class*='language-'] {
	color: #e0e0e0;
	font-size: 13px;
	text-shadow: none;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	line-height: 2;
	-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,
code[class*='language-']::selection,
pre[class*='language-']::mozselection,
code[class*='language-']::mozselection {
	text-shadow: none;
	background: #b3d4fc;
}
@media print {
	pre[class*='language-'],
	code[class*='language-'] {
		text-shadow: none;
	}
}
pre[class*='language-'] {
	padding: 1em;
	margin: 0.5em 0;
	overflow: auto;
	background: #1f242d;
}
:not(pre) > code[class*='language-'] {
	padding: 0.1em 0.3em;
	border-radius: 0.3em;
	color: #ffffff;
	background: #1f242d;
}
/**
* Tokens
*/
.namespace {
	opacity: 0.7;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #93a1a1;
}
.token.punctuation {
	color: #999999;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
	color: #eb0f88;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #31aaa8;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #b2d4fc;
	background: #1f242d;
}
.token.atrule,
.token.attr-value,
.token.keyword {
	color: #b2d4fc;
}
.token.function {
	color: #dd4a68;
}
.token.regex,
.token.important,
.token.variable {
	color: #ee9900;
}
.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}
.token.entity {
	cursor: help;
}
/*********************************************************
* Line highlighting
*/
pre[data-line] {
	position: relative;
}
pre[class*='language-'] > code[class*='language-'] {
	position: relative;
	z-index: 1;
}
.line-highlight {
	position: absolute;
	left: 0;
	right: 0;
	padding: inherit 0;
	margin-top: 1em;
	background: #3c4558;
	box-shadow: inset 5px 0 0 #b2d4fc;
	z-index: 0;
	pointer-events: none;
	line-height: inherit;
	white-space: pre;
}
