@import url('main.css');

#content-header {
	margin-bottom: 30px;
	height: 200px;
}

#content-header h1 {
	margin-top: 0px;
}

#content-header h3 {
	margin-top: 20px;
	color: rgba(256, 256, 256, 0.8);
	font-weight: 600;
}

#article-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

article {
	max-width: 800px;
	margin: 50px auto;
}

article p {
	padding-right: 10px;
	margin-bottom: 20px;
}

article h2 {
	margin-top: 30px;
}

article h3 {
	margin-top: 30px;
}

article time {
	color: var(--dark-grey-content);
	font-weight: bolder;
	margin-right: 5px;
}

article figure {
	margin: 0px auto 20px auto;
}

article figure img, article figure video {
	padding: 1px;
	border: 1px solid #cccccc;
	border-radius: 15px;
}

article figure.borderless img {
	border: 0px;
	border-radius: 0px;
}

article figcaption {
	font-size: var(--size-s);
	text-align: center;
	font-style: italic;
}

article figure.centre {
	display: flex;
	flex-direction: column;
	align-items: center;
}

article p code, article li code {
	font-size: 0.8em;
	font-weight: 600;
	background: var(--accent-colour-light);
	padding: 2px 5px;
	border-radius: 5px;
}

@media (max-width: 840px) {
	article {
		margin-left: var(--full-width-page-inset);
		margin-right: var(--full-width-page-inset);
	}
}


/*Code*/
pre code {
	color: #FFE6FB;
	background: #130015;
	font-family: monospace;
	font-size: var(--size-s);
	line-height: 1.5em;
	overflow-x: scroll;
	padding: 20px;
	border: 1px solid #cccccc;
	border-radius: 15px;
	display: inline-block;
	width: calc(100% - 40px);
	tab-size: 4;

	scrollbar-color: white;
}

pre code::-webkit-scrollbar {
	width: 5px;
	height: 8px;
	background-color: rgba(255, 255, 255, 0.2);
}

pre code::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	margin: 2px;
}

pre code > span.kw {
	color: #D11798;
	font-weight: bold;
}

pre code > span.string {
	color: #C63B3F;
	font-weight: bold;
	font-style: italic;
}

pre code > span.comment {
	color: #04B34E;
	font-weight: bold;
}

@media (max-width: 840px) {
	article {
		margin-left: var(--full-width-page-inset);
		margin-right: var(--full-width-page-inset);
	}
}