companyWeb/src/assets/styles/common.less

170 lines
2.2 KiB
Plaintext

// 重置样式
* {
box-sizing: border-box;
//user-select: text;
//-webkit-user-select: text;
}
html {
height: 100%;
font-size: 14px;
}
body {
margin: 0;
padding: 0;
height: 100%;
color: #333;
min-width: 1240px;
font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif
}
ul,
h1,
h3,
h4,
p,
dl,
dd {
padding: 0;
margin: 0;
}
a {
text-decoration: none;
color: #333;
outline: none;
}
.underline-a{
text-decoration: underline;
}
i {
font-style: normal;
}
input[type="text"],
input[type="search"],
input[type="password"],
input[type="checkbox"] {
padding: 0;
outline: none;
border: none;
-webkit-appearance: none;
&::placeholder {
color: #ccc;
}
}
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
ul {
list-style: none;
}
#app {
background: #fff;
}
.container {
width: 100%;
margin: 0 auto;
}
.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;
}
.ellipsis-3 {
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
.ellipsis-4 {
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
}
.fl {
float: left;
}
.fr {
float: right;
}
.clearfix:after {
content: ".";
display: block;
visibility: hidden;
height: 0;
line-height: 0;
clear: both;
}
.main-func-area-margin-top{
margin-top: 102px;
}
.title1{
font-size: 60px;
display: inline-block;
}
.title2 {
font-size: 30px;
display: inline-block;
margin-left: 10px;
}
.system-content-text{
font-size: 16px;
color: #666666;
line-height: 30px;
}
.common-width{
width: 1210px;
}
.file-resource{
font-size: 16px;
color: #4C98FF;
line-height: 30px;
}
.news-content-p{
font-size: 16px;
color: #666666;
line-height: 30px;
letter-spacing:2px;
}
.news-content-p-weight{
font-weight: 600;
}