66 lines
1.6 KiB
CSS
66 lines
1.6 KiB
CSS
@font-face {
|
|
font-family: 'SourceHanSansCN-Heavy'; /* 自定义字体的名称 */
|
|
src: url('../fonts/SourceHanSansCN-Heavy.otf') format('opentype'); /* 字体文件的路径 */
|
|
font-weight: normal; /* 字体的粗细 */
|
|
font-style: normal; /* 字体的样式 */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'SourceHanSansCN-Regular'; /* 自定义字体的名称 */
|
|
src: url('../fonts/SourceHanSansCN-Regular.otf') format('opentype'); /* 字体文件的路径 */
|
|
font-weight: normal; /* 字体的粗细 */
|
|
font-style: normal; /* 字体的样式 */
|
|
}
|
|
|
|
address, caption, cite, code, dfn, em, th, var { font-style:normal; font-weight:normal;}
|
|
a { display: inline-block; color:#555; text-decoration:none; }
|
|
a:hover { text-decoration:none; }
|
|
img { border:none; }
|
|
ol,ul,li { list-style:none; }
|
|
input, textarea, select, button { font:14px Verdana,Helvetica,Arial,sans-serif; }
|
|
button{cursor: pointer;outline: none;}
|
|
table { border-collapse:collapse; }
|
|
p {
|
|
margin: 0;
|
|
}
|
|
section {
|
|
box-sizing: border-box;
|
|
}
|
|
/*html {overflow-y: scroll;}*/
|
|
html{
|
|
width: 100%;
|
|
height: 100%;
|
|
font-size: 16px;
|
|
}
|
|
@media screen and (max-width: 400px) {
|
|
html {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
body{
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
font-family: 'SourceHanSansCN-Regular';
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.container, .container-sm, .container-md, .container-lg, .container-xl {
|
|
max-width: 1200px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 2000px) {
|
|
.container, .container-sm, .container-md, .container-lg, .container-xl {
|
|
max-width: 1600px;
|
|
}
|
|
}
|
|
|
|
.page-enter-active,
|
|
.page-leave-active {
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
.page-enter,
|
|
.page-leave-to {
|
|
opacity: 0;
|
|
} |