index.scss 1.02 KB
Newer Older
zhanghaozhe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#main-banner {
  overflow: auto;
  .banner {
    width: 375px;
    height: 183px;
    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/banner.png")
      no-repeat;
    background-size: contain;
  }
  .formal_banner {
    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/formal_banner.png")
      no-repeat;
    background-size: contain;
  }
  .fc_banner {
    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/fc_banner.png")
      center center no-repeat;
    background-size: 100% 100%;
  }
  #main-nav {
    position: absolute;
    top: 183px;
    width: 100%;
    margin-bottom: 30px;

    &.fixed {
      position: fixed;
      top: 0;
      z-index: 100;
xuzhenghua committed
30
    }
zhanghaozhe committed
31 32 33
    ul {
      background: #3900c9;
      display: flex;
xuzhenghua committed
34
    }
zhanghaozhe committed
35 36 37 38 39 40 41 42 43 44 45
    li {
      flex: 1;
      width: 63px;
      height: 40px;
      font-size: 11px;
      color: #fff;
      text-align: center;
      line-height: 40px;
      &.active {
        background: #ff42f9;
      }
xuzhenghua committed
46
    }
zhanghaozhe committed
47
  }
xuzhenghua committed
48
}