﻿/* Theme Name: VINCENT
Theme URI: https://www.shaowenhao.com
Author: SHAOWENHAO
Author URI: https://www.shaowenhao.com
Description: Designed & Powered By shaowenhao.com
Version: v1.1 @2024.03
License: Designed & Powered By shaowenhao.com
License URI: https://www.shaowenhao.com/about
Tags: VINCENT
Text Domain: SHAOWENHAO  */


html{
	-webkit-text-size-adjust: 100%;
	min-width: 25em;
	scroll-behavior: smooth;
	/* -webkit-user-select: none; 
	-ms-user-select: none; 
	user-select: none; */
}

body{
	margin: 0em;
	padding: 0em;
	background-color: white;
	font-family: "Microsoft Yahei", "Hiragino Sans GB", Helvetica, "Helvetica Neue", "微软雅黑", Tahoma, Arial, sans-serif;
}

a{
	color: black;
}

a:link{
	text-decoration: none;
}

a:visited{
	text-decoration: none;
}

a:hover{
	text-decoration: none;
}

a:active{
	text-decoration: none;
}

#topBar{
	width: 100%;
	height: 2.7em;
	padding: 0.1em 0em;
	background-color: black;
	/*position:fixed;
	z-index: 99;*/
	box-shadow: 0em 0.1em 0.1em grey;
}

.search{
	width: fit-content;
	margin: 0.5em auto;
}

.searchInput{
	width: 100%;
	height: 2em;
	text-align: center;
	border-radius: 0.7em;
	-webkit-appearance: none; /*safari*/
	appearance: none;
}

#main{
	width: 100%;
	max-width: 43em;
	margin: 0em auto;
	word-break: break-all;
}

#header{
	display: flex;
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 3em 2em 1.5em 2em;
}

#bloglogo img:hover {
	-webkit-transform: rotateZ(360deg);
	-moz-transform: rotateZ(360deg);
	-o-transform: rotateZ(360deg);
	-ms-transform: rotateZ(360deg);
	transform: rotateZ(360deg);
	box-shadow: 0.2em 0.2em 0.625em grey;
}

#bloglogo img{
	width: 5em;
	border-radius: 50%;
	overflow: hidden;
	float: left;
	-webkit-transition: -webkit-transform 1s ease-out;
	-moz-transition: -moz-transform 1s ease-out;
	-o-transition: -o-transform 1s ease-out;
	-ms-transition: -ms-transform 1s ease-out;
	transition:all ease-out 1s
}

#blogInfo{
	margin-left: 1em;
	display: flex;
	align-items: center; /* 垂直居中 */
}

#blogname{
	font-size: 1.6em;
	font-weight: bold;
	display: inherit;
}

#blogdescription{
	font-size: 0.7em;
	padding-top: 0.2em;
	display: inherit;
}

.showInLine{
	white-space: nowrap; /* 确保文本在一行内显示 */
	overflow: hidden; /* 隐藏超出容器的内容 */
	text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
}

#nav{
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 1em;
	border-radius: 0.8em;
	background-color: rgb(233, 232, 232);
	float: left;
}

#navItem{
	width: 25%;
	text-align: center;
	font-weight: bold;
	border-radius: 0.8em;
	padding: 0.5em 0em;
	float: left;
}

#navItem:hover{
	background-color: rgb(173, 173, 173);
}

a[aria-current="page"]{
	background-color: rgb(37, 37, 37);
	color: white;
	float: left;
	width: 100%;
	padding: 0.5em 0em;
	border-radius: 0.8em;
	margin: -0.5em 0em;
}

#content{
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 0em 2em 0em 1.5em;
	float: left;
}

#fastNavigation{
	width: fit-content;
	max-width: -webkit-fill-available;
	max-width: -moz-available;
	text-align: center;
	margin: 1em auto;
	padding: 0em 1em;
	border-style: dashed;
	border-radius: 1em;
	border-color: grey;
	border-width: 0.1em;
}

#post{
	width: 100%;
	margin: 1.8em 0em;
	padding-bottom: 2em;
	border-bottom-style: dotted;
	border-bottom-color: lightgrey;
	border-bottom-width: 0.1em;
	display: flex;
}

#author_avatars{
	padding-top: 0.2em;
}

#author_avatars img{
	border-radius: 50%;
	width: 3.8em;
	height: auto;
	transition: transform 0.5s;
	box-shadow: 0.05em 0.05em 0.2em grey;
}

#postContent{
	padding-left: 0.8em;
	white-space: nowrap;
	overflow: hidden;
}

#content_title{
	width: 100%;
	font-size: 1em;
	font-weight: bold;
	padding-bottom: 0.1em;
}

#content_author{
	color: grey;
	font-size: 0.7em;
	padding-bottom: 0.4em;
}

#content_excerpt{
	font-size: 0.8em;
	padding-bottom: 1em;
}

#content_img img{
	overflow: hidden;
	border-radius: 0.5em;
	width: 100%;
	transition-timing-function: ease-in-out;
	transition: transform 0.5s;
}

#postInfo{
	font-size: 0.7em;
	padding-top: 0.5em;
}

#page{
	text-align: center;
	float: left;
	width: 100%;
	margin-bottom: 2em;
	margin-left: 0.5em;
}

.page-numbers{
	border: solid;
	border-radius: 0.5em;
	border-width: 1px;
	padding: 0.35em 0.6em;
	border-color: black;
}

.page-numbers:hover{
	background-color: black;
	color: white;
}

.current{
	background-color: grey;
	border-color: grey;
	color: white;
}

#footer{
	width: 100%;
	margin-top: 1em;
	color: gray;
	font-size: 0.7em;
	text-align: center;
	float: left;
}

#gotoTop{
	display: none;
	position: fixed;
	right: 2%;
	bottom: 5%;
	cursor: pointer;
	padding: 0.4em 0.2em;
	width: 1.5em;
	text-align: center;
	border: 0.1em solid #e0e0e0;
	background: #fff;
	border-radius: 0.5em;
}

#gotoTop.hover{
	background: black;
	color: #fff;
	text-decoration: none;
}

/* single */
#header_single{
	display: flex;
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 3em 2em 1em 3em;
}

#single_title{
	font-size: 1.6em;
	font-weight: bold;
	float: left;
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 1em 1.5em 0em 1.7em;
}

#single_ohterInfo{
	color: grey;
	font-size: 0.7em;
	margin: 0.5em 0em 0em 4.1em;
	float: left;
	width: -webkit-fill-available;
	width: -moz-available;
	border-left: solid;
	border-width: 0.3em;
	border-color: black;
	padding-left: 0.5em;
}

#single_image{
	margin-top: 1em;
	float: left;
	width: -webkit-fill-available;
	width: -moz-available;
}

#single_content, #comments{
	float: left;
	width: -webkit-fill-available;
	width: -moz-available;
	margin: 1em 3em;
}

#single_content img{
	max-width: -webkit-fill-available;
	max-width: -moz-available;
	transition-timing-function: ease-in-out;
	transition: transform 1s;
	height: auto;
}

#single_content img:hover, video:hover{ 
	transform: scale(1.1);
	border-radius: 0.625em !important;
	box-shadow: 0.3125em 0.3125em 0.625em grey;
}

#single_content img:active{ 
	transform: scale(2);
}

#show_QR{
	margin: 2em 0em;
	width: 100%;
	text-align: center;
	font-weight: bold;
	float: left;
}

#show_QR img{
	border-color: black;
	border-style: solid;
	border-radius: 1em;
	padding: 0.625em;
	border-width: 0.1875em;
	margin-bottom: 0.625em;

}

@media only screen and (max-width: 1023px) {
	#index{
		display: none;
	}
}

@media screen and (min-width: 1023px) {
	#index{
		position: fixed;
		width: 13%;
		max-width: 20em;
		min-width: 9em;
		max-height: 70vh;
		overflow-y: auto;
		top: 50%;
		left: 0.5em;
		transform: translate(0, -50%);
		padding: 0.5em 1em 1.5em 1.8em;
		border-left-width: 0.4em;
		border-left-color: black;
		border-left-style: solid;
		font-size: 0.9em;
		background-color: rgb(117, 117, 117, 0.1);
	}
}

/*页面样式*/
#page_infoDetails{
	float: left;
	margin: 1.2em 0em 0em 1em;
}

#comments{
	border-top: dashed 0.2em gray;
	padding-top: 2em;
}

#comments td{
	border-width: 0em;
}

#post_comments{
	text-align: center;
	margin: 1em 0em 3em 0em;
}

#post_comments input, textarea{
	border-radius: 0.5em;
}

#post_comments_name{
	width: -webkit-fill-available;
	width: -moz-available;
	line-height: 1.5em;
	resize: none;
	overflow: hidden;
}

#post_comments_comment{
	width: -webkit-fill-available;
	width: -moz-available;
	min-height: 4.375em;
	max-height: 12.5em;
	line-height: 1.5em;
	resize: none;
	overflow: hidden;
}

.btnStyle{
	background-color: rgb(230, 230, 230);
	border: none;
	border-radius: 0.8em;
	color: black;
	font-weight: bolder;
	padding: 0.6em 1.2em;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	margin: 0.5em;
	cursor: pointer;
	transition-duration: 0.4s;
}

.btnStyle:hover{
	background-color: #b1b1b1;
}

.btnStyle:active{
	background-color: #b1b1b1;
	transform: translateY(0.15em);
}

.post_input{
	width: -webkit-fill-available;
	width: -moz-available;
	line-height: 1.5em;
	resize: none;
	overflow: hidden;
}