forked from Gitlink/forgeplus-react
73 lines
1.3 KiB
SCSS
73 lines
1.3 KiB
SCSS
/* recommandProjects */
|
|
.recommandProjects{
|
|
display: flex;
|
|
max-width: 1200px;
|
|
margin:20px auto;
|
|
}
|
|
.recommandProjects >div{
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
width: 220px;
|
|
margin-right: 25px;
|
|
cursor: pointer;
|
|
&:last-child{
|
|
margin-right: 0px;
|
|
}
|
|
}
|
|
.recommandProjects > div:hover{
|
|
box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.recommandProjects > div .mainInfo{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 160px;
|
|
border-bottom: 1px solid #eee;
|
|
padding:20px;
|
|
box-sizing: border-box;
|
|
img{
|
|
height: 50px;
|
|
width:50px;
|
|
border-radius: 50%;
|
|
}
|
|
.name{
|
|
font-size: 16px;
|
|
color: #333;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
margin-top:12px;
|
|
}
|
|
.school{
|
|
color: #888;
|
|
height: 18px;
|
|
line-height: 18px;
|
|
margin-top:12px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
max-width:100%;
|
|
}
|
|
}
|
|
.recommandProjects{
|
|
.baseInfo{
|
|
padding:18px 15px;
|
|
display: flex;
|
|
font-size: 12px;
|
|
color:#888;
|
|
.look{
|
|
i{
|
|
margin-right: 5px;
|
|
}
|
|
margin-right: 10px;
|
|
}
|
|
.type{
|
|
flex:1;
|
|
width:0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
}
|
|
}
|
|
} |