/*
 Theme Name:   Graphy Child
 Theme URI:    https://kygraphy.com
 Description:  Graphy Child Theme
 Author:       K.Y.
 Author URI:   https://kygraphy.com
 Template:     graphy
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         graphy
 Text Domain:  graphy
*/

/*
.site-title {
	font-family: 'Pacifico', cursive !important;
}
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

body {
	margin: 0 20px;
	font-family: 'Noto Serif JP', 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif !important;
}

h1, h2, h3, h4, h5, h6, .site-title {
	font-family: 'Noto Serif JP', 游明朝, YuMincho, 'Hiragino Mincho ProN', Meiryo, serif !important;
	font-weight: 400;
}

.site-title {
    font-size: 48px;
}

.entry-title {
	font-size: 2rem;
}

.entry-content h2, h3, h4, h5, h6 {
	text-decoration: underline;
}

pre.wp-block-code {
	margin: 0 0 28.8px;
	font-family: 'Source Code Pro', monospace;
	font-size: 0.8em;
}

code[class*="language-"],
pre[class*="language-"] {
	border-bottom: none;
	border-radius: 5px;
}

.prism-titlename {
	margin-top: -16px !important;
	background-color: #777;
	color: #eee;
	display: table;
	font-weight: normal;
	padding: 4px 16px;
}

.single-content {
	margin-left: auto;
	margin-right: auto;
	border-right: none;
	float: none;
	padding-right: 0;
	width: 100%;
}

@media screen and (min-width: 540px) {
	
	.post-list .post-thumbnail {
		width: 300px;
		margin-right: 5%;
	}
	
	.post-list .post-thumbnail img {
		max-width: 300px;	
	}
}
	

.pagination {
	text-align: center;
}

p code {
	background-color: #efefef !important;
	border: solid 1px #ddd;
	border-radius: 4px;
	color: #a62525;
	font-size: 0.85em;
	padding: 0 3px
}

.wp-block-image figcaption {
	color: #999;
	font-size: 0.8em;
	text-align: center;
}

.wp-block-image figcaption a {
	color: #999;
}

table {
	border-top: solid 1px black;
	border-bottom: solid 1px black;
	margin: 0;
}

table th {
	border-bottom: solid 1px black;
}

table td{
	border-bottom: none;
}

figure.enum table {
	border-top: solid 1px #e6e6e6;
	border-bottom: solid 1px #e6e6e6;
}

figure.enum table td {
	border-bottom: solid 1px #e6e6e6;
}

figcaption {
    text-align: center;
    font-size: 80%;
}