137 lines
1.8 KiB
CSS
137 lines
1.8 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
color: #333;
|
|
font: 1em/1.4 "Microsoft Yahei", "PingFang SC", "Avenir", "Segoe UI",
|
|
"Hiragino Sans GB", "STHeiti", "Microsoft Sans Serif", "WenQuanYi Micro Hei",
|
|
sans-serif;
|
|
}
|
|
|
|
body,
|
|
ul,
|
|
h1,
|
|
h3,
|
|
h4,
|
|
p,
|
|
dl,
|
|
dd {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
outline: none;
|
|
}
|
|
|
|
i {
|
|
font-style: normal;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="search"],
|
|
input[type="password"],
|
|
input[type="checkbox"] {
|
|
padding: 0;
|
|
outline: none;
|
|
border: none;
|
|
appearance: none;
|
|
&::placeholder {
|
|
color: #ccc;
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
list-style: none;
|
|
}
|
|
|
|
#app {
|
|
user-select: none;
|
|
}
|
|
|
|
.container {
|
|
width: 1240px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
/* 一行省略 */
|
|
.ellipsis {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
/* 二行省略 */
|
|
.ellipsis-2 {
|
|
word-break: break-all;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fl {
|
|
float: left;
|
|
}
|
|
|
|
.fr {
|
|
float: right;
|
|
}
|
|
|
|
.clearfix:after {
|
|
content: ".";
|
|
display: block;
|
|
visibility: hidden;
|
|
height: 0;
|
|
line-height: 0;
|
|
clear: both;
|
|
}
|
|
.box_shadow {
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px 1px #d7d7d7;
|
|
}
|
|
/* fade */
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.28s;
|
|
}
|
|
|
|
.fade-enter,
|
|
.fade-leave-active {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* fade-transform */
|
|
.fade-transform-leave-active,
|
|
.fade-transform-enter-active {
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
.fade-transform-enter {
|
|
opacity: 0;
|
|
transform: translateX(-30px);
|
|
}
|
|
|
|
.fade-transform-leave-to {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|