/*
Theme Name: BINUBALL 워드프레스 테마
Theme URI: https://binuball.com/
Author: BINUBALL
Author URI: https://binuball.com/
Description: BINUBALL 테마
Tags: 
Version: 1.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binuball-wordpress-theme
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
	font-family: 'Roboto Mono';
	font-style: normal;
	font-weight: 400;
	src: url(/wp-content/themes/BINUBALL-워드프레스-테마/font/RobotoMono-Regular.woff2) format('woff2'),
	url(/wp-content/themes/BINUBALL-워드프레스-테마/font/RobotoMono-Regular.woff) format('woff'),
	url(/wp-content/themes/BINUBALL-워드프레스-테마/font/RobotoMono-Regular.ttf) format('ttf');
	font-display: swap;
}

* {
	box-sizing: border-box;
}

body {
	background-color: #fff;
	color: #000;
	font-size: 16px;
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	line-height: 1.65;
	margin: 2rem 0;
	word-break: break-all;
}

.inner {
	margin: auto;
	padding: 0 1rem;
	max-width: 800px;
}

a {
	text-decoration: none;
	color: #1e73be;
}

a:hover {
	text-decoration: underline;
}

ul, ol {
	margin: 1rem 0 1rem 1.5rem;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.button {
	display: inline-block;
	border: 2px solid #1e73be;
	padding: .5rem 2rem;
	transition: .1s ease-in;
}

.button:hover {
	background: #1e73be;
	cursor: pointer;
	color: #fff;
}

.highlighter {
	background: linear-gradient(transparent 60%, #609fffab 60%);
}

code {
	background: #eee;
	border: 1px solid #ddd;
}

pre {
	padding: 1rem;
	background: #eee;
	border: 1px solid #ddd;
}

pre code {
	background: none;
	border: none;
}

.shiki {
	overflow-x: auto;
	padding: 1rem;
}

.shiki code {
	background: none;
	border: none;
}

.video video {
	max-width: 100%;
}

.search {
	border: 1px solid #ccc;
	padding: 10px 10px 10px 28px;
	font-family: inherit;
	outline: 0;
	background: url(https://www.gstatic.com/images/icons/material/system/1x/search_grey600_18dp.png) 5px center no-repeat;
	border-radius: 0;
	width: 100%;
	font-size: 16px;
}

header {
	border-bottom: 2px solid #eee;
}

footer {
	border-top: 2px solid #eee;
}

header, main, footer {
	padding: 2rem 0;
}

.recentPosts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
	gap: 1rem;
}

.recentPostTitle {
	display: block;
	text-align: center;
	margin: 1rem 0;
	font-weight: bold;
	line-height: 1.25;
}

.mainTitle {
	margin: 0;
}

.mainTitle a {
	text-decoration: none;
	color: #000;
	font-size: 32px;
}

.quoteHeading {
	text-align: center;
	font-size: 28px;
	margin-top: 0;
}

.postList {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	grid-gap: 1rem;
}

.post {
	padding: 1rem 0;
}

.postThumbnail {
	margin-bottom: .5rem;
}

.postMetaTitle {
	margin: 0;
	font-size: 18px;
}

.postMetaTitle a {
	color: inherit;
}

.postTitle {
	line-height: 1.25;
	text-align: center;
	margin: 0 0 2rem;
	font-size: 26px;
}

.postMeta {
	text-align: center;
}

.postBody {
	margin: 2rem 0;
}

.postBody p {
	line-height: 1.8;
}

.postBody a:hover {
	text-decoration: underline;
}

.postBody p a::after {
	content: url("data:image/svg+xml;utf8, <svg fill='%231e73be' id='svg-external-link-alt' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><path d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'></path></svg>"); 
	width: 13px;
	height: 13px;
	display: inline-block;
	margin-left: 2px;
	vertical-align: -1px;
}

.postBody kbd {
	background: #eee;
	padding: 1px 13px;
	word-break: break-word;
	border-radius: 20px;
	font-family: 'Roboto Mono', monospace;
	font-size: 90%;
	border: 1px solid #ddd;
}

.postBody img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1.5rem auto;
}

.postBody img.inline {
	display: inline-block;
	width: 2rem;
	height: auto;
	margin: 0;
	vertical-align: middle;
}

.postBody h2 {
	margin: 2rem 0 1.5rem -1rem;
	background: #000;
	color: #fff;
	padding: 1rem;
	counter-increment: heading-decimal;
	line-height: 1.5;
	width: calc(100% + 2rem);
}

.postBody h2::before {
	content: counter(heading-decimal, decimal-leading-zero) "";
	background: #fff;
	border-radius: 50px;
	color: #000;
	margin-right: 10px;
	padding: 2px 16px;
}

.postBody h3 {
	border-bottom: 2px solid #000;
	line-height: 1.5;
	padding: 1rem;
	width: calc(100% + 2rem);
	margin-left: -1rem;
}

table {
	overflow: hidden;
	border-collapse: collapse;
	box-sizing: border-box;
	white-space: nowrap;
	margin: 1.5rem 0;
}

table, tr, th, td {
	padding: .4rem;
	border: 1px solid #000;
}

th {
	background-color: #ccc;
	font-weight: bold;
	padding: .5rem 1.2rem;
}

.postBody blockquote {
	background: #eee;
	padding: 1rem;
	margin: 1.5rem auto;
	border-left: 4px solid #000;
}

mjx-container[display="true"] {
	display: block;
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 100%;
	padding: .5rem 0;
}

.postBody .caution::before {
	content: '주의';
	padding: 2px 16px;
	background: #F44336;
	color: #fff;
	margin-right: 8px;
	border-radius: 30px;
}

.postBody .cf::before {
	content: '참고';
	padding: 2px 16px;
	background: #4CAF50;
	color: #fff;
	margin-right: 8px;
	border-radius: 30px;
}

.postBody .ex::before {
	content: '예시';
	padding: 2px 16px;
	background: #f4a836;
	color: #fff;
	margin-right: 8px;
	border-radius: 30px;
}

.postBody .summary::before {
	content: '요약';
	padding: 2px 16px;
	background: #36bff4;
	color: #fff;
	margin-right: 8px;
	border-radius: 30px;
}

.postBody hr {
	border-top: 2px dashed #eee;
	margin: 3rem 0;
	width: calc(100% + 80px);
	margin-left: -40px;
}

.postBody .box {
	padding: 1rem;
	border: 2px solid #eee;
	margin: 1.5rem 0;
}

.postBody .box p {
	margin: 0;
}

.postBody ul {
	list-style-type: circle;
}

.aboutAuthor {
	border: 2px solid #eee;
	padding: 1rem;
	display: flex;
	align-items: center;
}

.authorImage {
	height: 100%;
	margin-right: 1rem;
}

.pagination {
	display: flex;
	justify-content: space-between;
}

.pagination > div {
	flex: 1;
	text-align: center;
}

.pagination > div.disabled {
	color: #888;
}

#comment, #author, #email {
	width: 100%;
	border: 2px solid #ddd;
	resize: none;
}

@media screen and (max-width: 800px) {
	.recentPosts {
		display: block;
	}

	.postList {
		display: block;
	}
}