﻿html, bodyhtml, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	display: flex;
	flex-direction: column;
	background-color: #121212;
	color: white;
}

/* -------------------------
   Post Content Styling
-------------------------- */

.post-content p {
	line-height: 1.6;
	margin-bottom: 1rem;
}

.post-content h2,
.post-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.post-content img {
	max-width: 100%;
	border-radius: 6px;
	margin: 1rem 0;
}

.category-breadcrumb-list {
	font-size: 1.0em;
	/*color: rgb(53, 107, 255);*/
	/*color: rgb(41,109,204);*/
	/* 107, 145, 250 */
	text-decoration: none;
}


/* -------------------------
   Prism Theme Switching
-------------------------- */

/* Default to light */
#prism-dark {
	display: none;
}

/* If user prefers dark mode */
@media (prefers-color-scheme: dark) {
	#prism-light {
		display: none;
	}

	#prism-dark {
		display: block;
	}


	.pagination {
	}
		.pagination a, .pagination span {
			margin: 0 4px;
			padding: 4px 8px;
			border: 1px solid #ccc;
			text-decoration: none;
			border-radius: 4px;
		}

		.pagination .current {
			background-color: #0078d4;
			color: white;
			border-color: #0078d4;
		}

	.sidebar {
		padding: 1rem;
		border-right: 1px solid #ddd;
	}

	.category-tree {
		list-style: none;
		padding-left: 0;
	}

		.category-tree li {
			margin: 0.25rem 0;
		}

	.tree-toggle {
		cursor: pointer;
		display: inline-block;
		width: 1rem;
	}

	.arrow {
		font-size: 0.75rem;
		opacity: 0.7;
	}

	.count {
		opacity: 0.6;
		margin-left: 0.25rem;
	}



	.search-box {
		display: flex;
		gap: 0.5rem;
		margin-top: 0.5em;
	}

		.search-box input {
			flex: 1;
			padding: 0.4rem;
		}

		.search-box button {
			padding: 0.4rem 0.8rem;
		}
}
