base.css 2.85 KB
input:focus,
textarea:focus{
	outline: none;
}
.posts a:link, .posts a:visited{
	color: #7594B3;
}
.posts a:hover{
	color: #f78927;
}
.posts a{
	text-decoration: none;
}
.postdetail{
	padding: 20px 0;
	margin-bottom: 50px;
	border-bottom: 3px solid #ccc;
	min-height:400px;
}
.postdetail li{
	margin: 0.5em auto;
	line-height: 26px;
}
.postdetail p{
	line-height: 30px;
	margin: 0.5em auto;
}
.postdetail img,
.mp4 video,
.mp4 object{
	max-width: 100%;
	height: auto;
}
.postdetail > table,
.posts > table{
	width: 100%;
	border-collapse: collapse;
	empty-cells: show;
	border: 1px solid #ddd;
}
.postdetail > table th,
.posts > table th{
	font-size: 13px;
	height: 30px;
	line-height: 30px;
	font-weight: bold;
	text-align: center;
	background: #EEEEEE;
	position: relative;
}
.postdetail > table td,
.posts > table td{
	text-align: center;
	font-size: 12px;
	color: #666;
	line-height: 30px;
	padding-left: 10px;
	border: 1px solid #ddd;
}
.posts{
	width: 96%;
	max-width: 960px;
	margin: 50px auto;
}
.posts > table th input{
	position: absolute;
	left: 2%;
	top: 17%;
	width: 100px;
}
.posts h3.title{
	position: relative;
}
.posts h3.title small{
	position: absolute;
	right: 0;
	bottom: 0;
	font-weight: normal;
	font-size: 14px;
}
.posts textarea{
	resize:none;
}
.posts .field{
	margin-bottom: 20px;
	font-size: 14px;
}
.posts .field span{
	margin-right: 10px;
}
.posts .field input{
	width: 300px;
	line-height: 21px;
	padding: 2px 5px;
}
.posts .field select{
	width: 100px;
}
.postdetail form .field{
	margin: auto auto 20px auto;
}
.postdetail form .field label{
	width: 70px;
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	font-size: 14px;
	padding: 0 20px 0 0;
}
.postdetail form .field input,
.postdetail form .field textarea{
	width: 320px;
	line-height: 20px;
	border: 1px solid #2aad6f;
	font-size: 12px;
	padding: .5em .8em;
	border-radius: 2px;
	vertical-align: middle;
	background: #ffffff;
}
.postdetail form .field input.captcha{
	width: 160px;
}
.postdetail form .field input.submit{
	width: 120px;
	padding: 0 30px;
	border: none;
	color: #fff;
	background-color: #2aad6f;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 34px;
	font-size: 14px;
	cursor: pointer;
}
.postdetail form .field textarea{
	height: 120px;
	resize: none;
}
.pagination {
  margin: 10px auto;
  overflow: hidden;
  padding: 10px 0;
}
.pagination li{
  display: inline-block;
  margin: auto 2px;
}
.pagination li.disabled a{
  background-color: #cccccc;
}
.pagination li.active a{
  border: 1px solid #398439;
  color: #ffffff;
  background-color: #00AA91;
}
.pagination a {
  border: 1px solid #cccccc;
  color: #666666;
  height: 26px;
  line-height: 26px;
  display: inline-block;
  padding: 0 10px;
}
.pagination li.disabled a:hover,
.pagination li.disabled a:active{
  color: #666666;
}
.pagination a:hover,
.pagination a:active {
  color: #990000;
}