courseList.scss 862 Bytes
Newer Older
FE committed
1 2 3
.college-course__desc {
  margin: 8px 19px 12px;
  font-size: 12px;
zhanghaozhe committed
4
  color: #0099ff;
FE committed
5 6
  text-align: center;
  line-height: 15px;
7 8
}

FE committed
9 10 11 12 13 14 15 16 17 18 19 20
.college-course__body {
  display: flex;
  flex-wrap: wrap;
  padding: 0 7px;
}

.college-course__item {
  width: 165px;
  height: 162px;
  margin: 0 7px 15px;
  border-radius: 4px;
  background-color: #fff;
zhanghaozhe committed
21
  box-shadow: 0px 0px 8px 0px rgba(153, 153, 153, 0.2);
FE committed
22 23 24 25 26 27 28 29 30 31 32 33
  overflow: hidden;
}

.college-course__cover {
  display: block;
  height: 119px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

.college-course__title {
FE committed
34
  display: -webkit-box;
FE committed
35 36 37
  margin: 8px 0 0;
  padding-left: 5px;
  font-size: 14px;
zhanghaozhe committed
38
  color: #525c65;
FE committed
39
  line-height: 16px;
FE committed
40 41 42 43 44
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
zhanghaozhe committed
45
}