xg-project-library/css/indexSide.css
2024-12-20 17:16:57 +08:00

161 lines
3.1 KiB
CSS

* {
padding: 0;
margin: 0;
box-sizing: border-box;
text-decoration: auto;
word-break: break-word;
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.project {
width: 394px;
margin: 50px auto;
}
.project .project-list {
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 4px;
}
.project .project-list .item {
width: 460px;
width: 100%;
background-color: #ffffff;
border: 1px solid #f2f2f2;
padding: 20px 16px 10px;
position: relative;
}
.project .project-list .item .school {
font-size: 14px;
color: #333333;
position: absolute;
top: 20px;
right: 16px;
}
.project .project-list .item .school .icon {
height: 18px;
margin-right: 8px;
}
.project .project-list .item .name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 6px;
padding-right: 80px;
}
.project .project-list .item .english {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 13px;
margin-bottom: 10px;
color: #7f7f7f;
}
.project .project-list .item .introduce {
color: #555555;
font-size: 14px;
margin-bottom: 9px;
flex-wrap: wrap;
}
.project .project-list .item .introduce .quantity {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
color: #000000;
margin-left: 8px;
}
.project .project-list .item .introduce .line {
color: #d7d7d7;
margin: 0 7px;
}
.project .project-list .item .word {
background-color: #f9f8f8;
border-radius: 5px;
padding: 9px 10px;
font-size: 14px;
color: #7f7f7f;
margin-bottom: 12px;
}
.project .project-list .item .word .img {
width: 15px;
height: 10px;
}
.project .project-btn {
width: 361px;
height: 40px;
line-height: 40px;
background-color: #333333;
border-radius: 141px;
font-size: 16px;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.project .project-btn .img {
width: 18px;
height: 18px;
margin-left: 10px;
}
.project .tag {
flex-wrap: wrap;
}
.project .tag .tag-item {
width: fit-content;
height: 20px;
line-height: 20px;
background-color: #f9f8f8;
border: 1px solid #aaaaaa;
border-radius: 6px;
padding: 0 6px;
font-size: 12px;
color: #7f7f7f;
margin-right: 10px;
margin-bottom: 10px;
display: flex;
align-items: center;
}
.project .tag .tag-item.gray {
background-color: #333333;
color: #ffffff;
border: none;
}
.project .tag .tag-item.semester {
color: #ffffff;
background-color: #f95d5d;
border: none;
}
.project .tag .tag-item.admissions {
background-color: #73d1e5;
border: none;
color: #fff;
}