/*
Theme Name:     hawu
Theme URI:      http://www.hawu.me
Description:    Child theme for the interface
Author:         funway.wang
Author URI:     http://www.hawu.me/about/
Template:       interface
Version:        0.1.0
*/

@import url("../interface/style.css");

body,
input,
textarea,
select {
	color: #666;
   font-size: 16px;
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

hr {
    margin: 0px 0px 20px;
}

li {
	margin-bottom: 5px;
}

.comments-area article header {
    margin: 0px 0px;
}
.comments-area article header cite, 
.comments-area article header time {
    margin-left: 0px;
}
.comment-content a {
    font-style: oblique;
}

#content .entry-title {
   font-weight: bold;
	font-size: 24px;
	line-height: 28px;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    padding: 5px 0px;
}
#content h1 {
	font-size: 24px;
	line-height: 26px;
	font-weight: bold;
   padding: 30px 0px 20px;
}
#content h2 {
	font-size: 20px;
	line-height: 22px;
	font-weight: bold;
	padding: 15px 0px;
}
#content h3 {
	font-size: 18px;
	line-height: 20px;
	font-weight: 500;
   padding: 15px 0px;
}
#content ol {
	margin-bottom: 0px;
}

.back-to-top {
   z-index: 5
}

#primary {
	width: 65%;
}
#secondary {
	width: 20%;
}


/*
 * 修改背景色
 */
.wrapper {
	background-color: #F5EDDD;
}
#wp_page_numbers ul li a,
.wp-pagenavi .current,
.wp-pagenavi a,
ul.default-wp-page li a,
.pagination span {
	background-color: #F5EDDD;
}


/* inline 代码块 */
code {
	background-color: #afb8c133;
	padding: .2em .4em;
	border-radius: 6px;
	font-family: Consolas, Monaco, 'PT Mono', 'Ubuntu Mono';
	font-size: 85%;
}

/* 修改 easyTOC 样式
 * 1. 在文章头部生成的目录，不要换行
 * 2. 修改文章头部目录的 display/hide 按钮大小
 */
#ez-toc-container li,
#ez-toc-container ul,
#ez-toc-container ul li,
div.ez-toc-widget-container,
div.ez-toc-widget-container li {
    overflow: inherit;
}
#ez-toc-container>label.cssicon,
#ez-toc-container>label.cssicon>span {
	height: 25px !important;
}


/* 早期博客中用 Crayon Syntax Highlighter 插件实现的 inline 代码 */
span.crayon-inline {
	background-color: #f7f7f9;
	color: #800000;
	padding: 2px 6px 0px 6px;
	border-radius: 2px;	
	font-family: Consolas, Monaco, 'PT Mono', 'Ubuntu Mono';
}


/* 修改 enlighter 代码高亮插件的样式 */
.enlighter-code {
	font-family: Consolas, Monaco, 'PT Mono', 'Ubuntu Mono';
}
div.enlighter>div:FIRST-CHILD>div:FIRST-CHILD {
	padding-top: 5px;
}
div.enlighter > div > div {
	padding-left: 0px !important;
}


/*
 * TOC+（table of content plus）插件的边栏小工具样式
 * @2023.02.26 已停用该插件
 */
.toc_widget_list {
	max-height: 620px;
	overflow: auto;
}
.toc_widget_list ul {
	margin-left: 1.5em;
}
.toc_widget_list ul ul {
	margin-left: 1.5em;
}

/*
 * @2023.11.23
 * 修改页面底部社交网站图标，将 vimeo 改成 github（这个主题没有自带 github 真是扫兴）
 */
#site-generator .social-profiles ul li.vimeo a {
	color: white;
	background-color: #4078c0;
}
#site-generator .social-profiles ul li.vimeo a:before {
	content: '\f113';
}