全栈小学生 614b592dcc up
2024-12-12 18:33:37 +08:00

65 lines
1.1 KiB
SCSS

@font-face {
font-family: 'oppoSans-M';
src: url('@/assets/styles/OPPOSans-M.ttf') format('truetype');
}
@font-face {
font-family: 'oppoSans-R';
src: url('@/assets/styles/OPPOSans-R.ttf') format('truetype');
}
@font-face {
font-family: 'myFont';
src: url('@/assets/styles/custom.ttf') format('truetype');
}
.oppoSans-M{
font-family: 'oppoSans-M';
font-weight: 500;
}
.oppoSans-R{
font-family: 'oppoSans-R';
}
.price-font{
font-family: 'myFont';
}
body{
font-family: 'oppoSans-M';
background-color: #f5f5f5;
color: #303133;
}
div{
box-sizing: border-box;
}
// 标签
.tag-item{
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
font-size: 12px;
border-radius: 6px;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.main-container {
width: 1200px;
margin: 0 auto;
}
/* 多行超出隐藏 */
.multi-hidden {
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.el-button:focus-visible{
outline: none !important;
}