index.scss 525 Bytes
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8 9
.course-container {
  width: 168px;
  // height: 156px;
  margin: 0 4px 15px;
  border-radius: 2px;
  background-color: #fff;
}

.course__cover {
FE committed
10
  position: relative;
xuzhenghua committed
11 12 13 14 15 16 17 18 19 20
  height: 108px;
  padding: 4px 4px 0;
  overflow: hidden;


  img {
    display: block;
    width: 100%;
    height: 100%;
  }
FE committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34
}

.course__time {
  position: absolute;
  left: 4px;
  top: 10px;
  margin: 0;
  height: 18px;
  padding: 0 8px;
  border-radius: 0 9px 9px 0;
  font-size: 12px;
  color: #fff;
  line-height: 18px;
  background-color: #F01D0E;
xuzhenghua committed
35
}