course.scss 589 Bytes
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8 9
.course-item {
  width: 47.8%;
  margin-top: 15px;
  margin-bottom: 5px;
  position: relative;

  img {
    width: 100%;
    height: 119px;
zhanghaozhe committed
10
    min-height: 119px;
xuzhenghua committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
    border-radius: 3px;
  }
  .course-status{
    width: 100%;
    height: 24px;
    position: absolute;
    top: 95px;
    border-radius: 0 0 3px 3px;
    text-align: center;
    line-height: 24px;
    color: $white;
    font-size: 13px;
    background-color: #E02E24;
    opacity: .6;
xuzhenghua committed
25 26 27 28 29
  }

  .course-title {
    font-size: 14px;
    color: $color_333;
xuzhenghua committed
30
    min-height: 38px;
xuzhenghua committed
31 32 33 34
    line-height: 19px;
    margin-top: 9px;
  }
}