hlw-cqass-web/static/resources/common/common.css

181 lines
2.4 KiB
CSS

@charset 'utf-8';
*{
box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none;
}
a {
text-decoration: none;
color: #333333
}
a,
span {
vertical-align: top;
}
img {
border: 0;
vertical-align: middle;
}
input,
button,
text {
vertical-align: top;
outline: none;
border: none;
}
button {
padding: 0;
background: none;
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
}
textarea {
outline: none;
border: none;
resize: none;
}
input,
textarea {
box-sizing: content-box;
outline: none;
background: 0 0;
font-family: "Microsoft YaHei"
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #999999;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
color: #999999;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #999999;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: #999999;
}
table tr td,
table {
border-collapse: collapse;
}
/*a { display: inline-block; transition:all .3s linear; -webkit-transition:all .3s linear; -moz-transition:all .3s linear; -o-transition:all .3s linear; -ms-transition:all .3s linear; }*/
body {
font-size: 0;
color: #000;
font-family: "Microsoft YaHei";
min-width: 1400px;
max-width: 1920px;
margin: 0 auto;
}
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
line-height: 0;
}
.clearfix:after {
clear: both;
}
.lf {
float: left;
}
.rt {
float: right;
}
.db {
display: inline-block;
}
.centerWidth{
width: 1400px;
margin: 0 auto;
}
.h5show{
display: none;
}
.animated{
transition: all .3s linear;
-webkit-transition: all .3s linear;
-moz-transition: all .3s linear;
-o-transition: all .3s linear;
-ms-transition: all .3s linear;
}
@media screen and (max-width: 768px) {
.h5show{
display: block;
}
.pcshow{
display: none;
}
body{
min-width: auto;
}
.centerWidth{
width: 100%;
box-sizing: border-box;
padding: 0 .2rem;
}
}