@charset "utf-8";
/* reset css */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, button, textarea, p, th, td {
margin: 0;
padding: 0;
}
fieldset, img {
border: 0;
}
address, cite, dfn, em, var {
font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th {
text-align: left;
font-weight: normal;
}
/* 清除浮动 */
.clearfix:after, .nav:after, .content:after, .grid:after, .h:after {
content: '\20';
display: block;
height: 0;
clear: both;
}
.clearfix, .nav, .content, .grid, .h {
*zoom:1;
}
.clear {
clear: both;
height: 0;
font: 0/0 Arial;
visibility: hidden;
}
/* 通用 */
body, button, input, select, textarea {
font: 12px/1.5 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
color: #333;
}
.vm, input, label {
vertical-align: middle;
}
.tc {
text-align: center;
}
.fl {
float: left;
_display: inline;
}
.fr {
float: right;
_display: inline;
}
.mb10 {
margin-bottom: 10px;
}
.mr10 {
margin-right: 10px;
}
.hide {
display: none;
}
.nt {
text-align: left;
letter-spacing: -3em;
overflow: hidden;
}
.nt:first-letter {
margin-left: -20em;
}
/* 链接 */
a {
color: #252525;
text-decoration: none;
}
a:hover {
color: #048;
}
a:active {
outline: none;
}
/* nav */
.nav li, .nav dt, .nav dd {
float: left;
position: relative;
}
.nav a {
display: inline-block;
}
.nav dt {
font-weight: bold;
}
/* tab */
.tab {
display: block;
}
.tab li {
float: left;
}
.tab li a {
display: block;
}
/* list */
.h li {
float: left;
_display: inline;
_white-space: nowrap;
}
.list-t, .list-a, .list-p, .list-b-t, .list-p-t, .list-p-t li, .list-r {
overflow: hidden;
zoom: 1;
}
.list-t li, .list-a li, .list-p li, .list-b-t li, .list-p-t li, .list-r li {
position: relative;
line-height: 1.5;
}
.list-t li a {
overflow: hidden;
text-overflow: ellipsis;
}
.list-t li a:hover {
text-decoration: underline;
}
.list-t li span.tag {
margin-right: 5px;
}
.list-t li span.date {
position: absolute;
top: 0;
right: 0;
}
.list-p li {
text-align: center;
}
.list-a li a {
display: inline-block;
}
/* 自定义 */
body {
min-width: 1000px;
background-color: #fff;
font-family:microsoft yahei SimHei;
}
/*.header .search {
width:382px;
position:absolute;
top:60px;
right:20px;
}
.search input, .search button {
float:left;
display:inline-block;
vertical-align:middle;
font:normal 14px/24px microsoft yahei;
}
.search input {
width:210px;
height:24px;
line-height:24px;
padding:4px;
border:1px #3498db solid;
background-color:#fff;
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
-moz-box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
outline:none;
}
.search button {
width:80px;
height:34px;
line-height:34px;
border:none;
background:#3498db url(../images/index/search.png) 10px 50% no-repeat;
color:#fff;
cursor:pointer;
font-weight:bold;
font-size:14px;
margin-left:-1px;
padding-left:25px;
}
.search .btn {
float:left;
display:inline-block;
width:80px;
height:34px;
background-color:#3498db;
color:#fff;
font:bold 14px/34px microsoft yahei;
text-align:center;
margin-left:2px;
vertical-align:middle;
}*/
.header .search {
float: right;
width: 375px;
height: 30px;
margin: 40px 0 0;
padding: 5px 0;
position: relative;
}
.search input, .search button {
float: left;
display: inline-block;
vertical-align: middle;
}
.search input {
width: 208px;
height: 20px;
line-height: 20px;
padding: 4px 4px 4px 26px;
border: 1px #3498db solid;
background: #fff url(../images/index/search2.png) 5px 50% no-repeat;
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
-moz-box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
outline: none;
}
.search button {
width: 60px;
height: 30px;
border: none;
background: #3498db;
color: #fff;
cursor: pointer;
text-align: center;
margin-left: -1px;
font: bold 14px/30px microsoft yahei;
}
.search .btn {
float: left;
display: inline-block;
width: 70px;
height: 30px;
background-color: #3498db;
color: #fff;
line-height: 30px;
text-align: center;
margin-left: 2px;
vertical-align: middle;
font-weight: bold;
}
console